Red Gate forums :: View topic - DevExpress.XtraGrid.GridControl Threw an Exception
Return to www.red-gate.com RSS Feed Available

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

DevExpress.XtraGrid.GridControl Threw an Exception

Search in SQL Compare Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Go to page Previous  1, 2
Author Message
Tom Harris



Joined: 06 Oct 2004
Posts: 308

PostPosted: Fri Feb 16, 2007 12:01 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
aprenot



Joined: 08 May 2007
Posts: 1

PostPosted: Tue May 08, 2007 5:58 pm    Post subject: .NET 1.1 Redist does fix the problem Reply with quote

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
Back to top
View user's profile Send private message
bdsutton



Joined: 16 Aug 2006
Posts: 4

PostPosted: Fri May 11, 2007 1:41 pm    Post subject: Reply with quote

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

Chris
Back to top
View user's profile Send private message
JonathanWatts



Joined: 15 Dec 2004
Posts: 399
Location: Red Gate Software

PostPosted: Wed May 30, 2007 2:02 pm    Post subject: Reply with quote

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

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

Regards,

Jonathan
_________________
Jonathan Watts

-Project Manager
-Red Gate Software Ltd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Go to page Previous  1, 2
Page 2 of 2

 
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