Red Gate forums :: View topic - Data Compare Crashing
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Compare Previous Versions
SQL Data Compare Previous Versions forum

Data Compare Crashing

Search in SQL Data Compare Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
alexstyler



Joined: 31 May 2007
Posts: 17

PostPosted: Thu May 31, 2007 4:56 pm    Post subject: Data Compare Crashing Reply with quote

I'm a developer edit and we just recently purchased 10 toolbelts. I'm working on an application using your API toolkit, and I wanted to get a feel for your Data Compare GUI tool.

When I run Data Compare, the splash screen comes up, and the program crashes at the splash screen after maybe 2 seconds.

Here's what I could gather:
An unhandled exception, "System.TypeInitializationException" , occured in RedGate.SQLDataCompare.UI.exe

The type initializer for '_122' threw an exception.

-Inner exception:
{"The type initializer for 'DevExpress.XtraGrid.GridControl' threw an exception."}

--InnerException (System.TypeLoadException), Source = "mscorlib"
{"Could not load type 'DevExpress.Utils.Design.DockingAttribute' from assembly 'DevExpress.Utils.v6.3, Version=6.3.1.0, Culture=neutral, ... '.":"DevExpress.Utils.Design.DockingAttribute"}


Yikes.

I'm thinking it's machine specific, I hate saying that, but judging from the source I'm guessing it's a corrupt .NET installation.

Just wondering if you have any insight to its cause, if it is some strange workaround you attempted or just that my .NET COR is messed up.

(A fresh install of all of my Red Gate components did not help.)
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6649

PostPosted: Thu May 31, 2007 8:56 pm    Post subject: Reply with quote

Hi Alex,

Thanks for your post. I think you are experiencing the problem caused when the .net 2.0 build of DevExpress components and the .NET 1.1 version which are used in SQL/Data Compare. DevExpress signed the two different version with the same key, and another piece of software has installed the wrong version into the Global Assembly Cache. .NET will always load from the GAC if the same components exist both there and in the local folder, which contains the assemblies that SQL/Data Compare are supposed to load.

In the short term, you could remove the DevExpress assemblies from %systemroot%\assembly and copy them to the local folder of the application that needs these versions (probably either ReSharper or NUnit?)

For more information please see here:

http://www.red-gate.com/messageboard/viewtopic.php?t=4070&postdays=0&postorder=asc&start=15

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