Red Gate forums :: View topic - Database.LoadFromDisk error
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

Database.LoadFromDisk error

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
JoshNoe



Joined: 23 Oct 2012
Posts: 2

PostPosted: Tue Oct 23, 2012 9:31 pm    Post subject: Database.LoadFromDisk error Reply with quote

We just updated to the SDK 10 because the older SDK we were using isn't compatible with SQL Server 2012. However, when Database.LoadFromDisk("myfilename.snp") gets called, I'm getting the following error:
"Value cannot be null. Parameter name: key"

This only occurs with one of our database snapshots. The other database we're updating has no issues.

Here's the stack trace:

at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)

at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)

at #8rg.#qtg.#gqh(String #h8Pb, SQLVersion #HYrc)

at RedGate.SQLCompare.Engine.ExtendedPropertyValue..ctor(NullableBinaryReader reader, Single version)

at RedGate.SQLCompare.Engine.ExtendedProperty..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.ExtendedProperties.DeserializeItem(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.SerializableCollection`1..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.SerializableDatabaseObjectCollection`1..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.ExtendedProperties..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.Table..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.Tables.DeserializeItem(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.SerializableCollection`1..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.SerializableDatabaseObjectCollection`1..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.Tables..ctor(NullableBinaryReader reader)

at RedGate.SQLCompare.Engine.Database.#Ukh(NullableBinaryReader #l2)

at RedGate.SQLCompare.Engine.Database.#ujh[#NrPb](NullableBinaryReader #awPb, Converter`2 #jvXb)

at RedGate.SQLCompare.Engine.Database.LoadFromStream(Stream #a0, Database #uwL)

at RedGate.SQLCompare.Engine.Database.LoadFromDisk(String #wqk, Database #uwL)

at RedGate.SQLCompare.Engine.Database.LoadFromDisk(String fileName)

at ReleaseUpdate.Synchronizer.SQLSynchronizer(BackgroundWorker worker, DoWorkEventArgs e)

in C:\SPIDev\SPITools\PRIME\AutoUpdate\Synchronizer.vb:line 125

Let me know if there's any more information I can provide to help figure this out. Thanks in advance for any help!
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Thu Oct 25, 2012 10:18 am    Post subject: Reply with quote

I'm sorry you have encountered this issue. I will be responding to you via email with the information relevant to troubleshooting this problem.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group