2

Closed

Application crashes when I try to use it :-(

description

Application crashes when I try to use it :-( So, downloaded the source and tried to debug it, but... I am not that good :-) Can you please help me? Thanks!
 
Recreation Steps:
  1. Tools \ DB Connect
  2. Register Server ( Win user )
  3. Fill in DB name ( after registration DB names are listed in the Database listbox )
  4. Click OK and I get the crash
     
    Windows 7, VS 2010, SQL Server 2000, SA level user.
     
    System.AggregateException was unhandled
    Message=One or more errors occurred.
    Source=System.Core
    StackTrace:
    at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
    at System.Linq.Parallel.SpoolingTask.SpoolStopAndGo[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream2 partitions, SynchronousChannel1[] channels, TaskScheduler taskScheduler)
    at System.Linq.Parallel.DefaultMergeHelper2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
    at System.Linq.Parallel.MergeExecutor
    1.Execute[TKey](PartitionedStream2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
    at System.Linq.Parallel.PartitionedStreamMerger
    1.Receive[TKey](PartitionedStream2 partitionedStream)
    at System.Linq.Parallel.UnaryQueryOperator
    2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient)
    at System.Linq.Parallel.QueryOperator
    1.ExecuteAndGetResultsAsArray()
    at System.Linq.ParallelEnumerable.ToArray[TSource](ParallelQuery`1 source)
    at DbDiff.Common.Model.DatabaseObjects.SetDbObjects(SelectedDatabase selectedDatabase) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseObjects.cs:line 336
    at DbDiff.WinClient.Helper.ItemLoadThread.Start() in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffWinClient\Helper\ItemLoadThread.cs:line 124
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    InnerException:
    Message=Details
    Source=DbDiff.Common
    StackTrace:
        at DbDiff.Common.Model.DatabaseInfoBase.GetSqlCommand(String objectsTable, SqlVersionInternal sqlVersion) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseInfoBase.cs:line 429
        at DbDiff.Common.Model.DatabaseInfoBase.GetSqlCommand(DatabaseObjectTypes databaseObjectTypes, SqlVersionInternal sqlVersion, String where) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseInfoBase.cs:line 309
        at DbDiff.Common.Model.DatabaseInfoBase.GetSqlCommand(DatabaseObjectTypes dbobjectsTypes, SqlVersionInternal sqlVersion) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseInfoBase.cs:line 344
        at DbDiff.Common.Model.DatabaseInfoExtended.SqlCommandString() in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseInfoExtended.cs:line 243
        at DbDiff.Common.Model.DatabaseInfoExtended.FillDataSet(String schema, String table) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseInfoExtended.cs:line 179
        at DbDiff.Common.Model.DatabaseObjects.SetAllType(SetParameters pm) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseObjects.cs:line 475
        at DbDiff.Common.Model.DatabaseObjects.<SetDbObjects>b__2(SetParameters z) in C:\Users\dimitrovm\Desktop\dbdiff-69414\DbDiffCommon\Model\DatabaseObjects.cs:line 336
        at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
        at System.Linq.Parallel.SelectQueryOperator`2.SelectQueryOperatorResults.GetElement(Int32 index)
        at System.Linq.Parallel.QueryResults`1.get_Item(Int32 index)
        at System.Linq.Parallel.PartitionedDataSource`1.ListContiguousIndexRangeEnumerator.MoveNext(T& currentElement, Int32& currentKey)
        at System.Linq.Parallel.StopAndGoSpoolingTask`2.SpoolingWork()
        at System.Linq.Parallel.SpoolingTaskBase.Work()
        at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
        at System.Linq.Parallel.QueryTask.RunTaskSynchronously(Object o)
        at System.Threading.Tasks.Task.InnerInvoke()
        at System.Threading.Tasks.Task.Execute()
    InnerException:

file attachments

Closed Jul 9, 2012 at 12:04 PM by Safi
Please download another version because this version does not support sql7,sql2000:http://dbdiff.codeplex.com/SourceControl/changeset/changes/4016

comments

Safi wrote Jul 9, 2012 at 12:21 PM

wrote Feb 14, 2013 at 7:02 PM

wrote May 16, 2013 at 9:04 AM