DevExpress.XtraGrid.GridControl Threw an Exception

Forum for users of SQL Compare schema synchronization utility

Moderators: JonathanWatts, Chris Auckland, David Atkinson

Postby Tom Harris » Fri Feb 16, 2007 12:01 pm

Hi there,

I think I understand what is going wrong here and it looks like DevExpress are to blame. They have released .NET 1.1 and .NET 2.0 builds of their 6.3 components. These completely different binaries have identical versioning information.

When you run SQL Compare on a machine that only has .NET 2.0 installed it attempts to load in the .NET 2.0 versions of the dlls from the GAC. This causes the crash.

I will chase this up with DevExpress. Apologies for the inconvience.

Tom Harris

Red Gate Software

// Assembly DevExpress.XtraGrid.v6.3, Version 6.3.1.0


Location: C:\\Program Files\\Developer Express .NET 2005 v6.3\\Sources\\DevExpress.DLL\\DevExpress.XtraGrid.v6.3.dll
Name: DevExpress.XtraGrid.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4
Type: Library


// Assembly DevExpress.XtraGrid.v6.3, Version 6.3.1.0


Location: C:\\Program Files\\Developer Express .NET v6.3\\Sources\\DevExpress.DLL\\DevExpress.XtraGrid.v6.3.dll
Name: DevExpress.XtraGrid.v6.3, Version=6.3.1.0, Culture=neutral, PublicKeyToken=79868b8147b5eae4
Type: Library
Tom Harris
 
Posts: 308
Joined: Wed Oct 06, 2004 3:45 pm

.NET 1.1 Redist does fix the problem

Postby aprenot » Tue May 08, 2007 5:58 pm

I was experiencing exactly the same issue. I do not have the DevExpress controls installed, but I was still getting the TypeInitializationException on Vista Ultimate. I installed the 1.1 redist and everything works fine now.

Aaron Prenot
aprenot
 
Posts: 1
Joined: Tue May 08, 2007 5:57 pm

Postby bdsutton » Fri May 11, 2007 1:41 pm

I loaded .Net 1.1 and Compare and DataCompare work fine now. Thanks for the tip.

Chris
bdsutton
 
Posts: 4
Joined: Wed Aug 16, 2006 3:25 pm

Postby JonathanWatts » Wed May 30, 2007 2:02 pm

This issue should have been resolved by the SQL Compare 6 Beta, which is available here:

http://www.red-gate.com/MessageBoard/vi ... php?t=4836

Regards,

Jonathan
Jonathan Watts

-Project Manager
-Red Gate Software Ltd
JonathanWatts
 
Posts: 401
Joined: Wed Dec 15, 2004 11:05 am
Location: Red Gate Software

Previous

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest