| Author |
Message |
JoshNoe
Joined: 23 Oct 2012 Posts: 1
|
Posted: Tue Oct 23, 2012 9:31 pm Post subject: Database.LoadFromDisk error |
|
|
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 |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Thu Oct 25, 2012 10:18 am Post subject: |
|
|
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! _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
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