We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Cannot use GridControl

Thread ID:





104381 Jul 15,2012 09:35 AM Aug 7,2012 04:38 AM Windows Forms 3
Tags: GridControl
Nimrod Shaulski
Asked On July 15, 2012 09:35 AM

I am fairly new to SyncFusion controls but I got into a nasty bug which prevents me from using this control entirely!
When trying to add the SyncFusion GridControl into any form or panel in my designer I get the following Exception (attached): System.InvalidCastException etc.
I'm working with .NET 4.0, VS2010 and Essential Studio
Any help will be much appreciated!



Kalaiarasan B [Syncfusion]
Replied On July 16, 2012 10:38 AM

If the toolbox item still refers the previous versions of assemblies then this exception will be raised when drag/drop the controls in the VS.

Please perform the below operations

     1.       Run Assembly manager and remove all versions of assemblies.

     2.       Install version assembly alone (It would be better to ensure that only assemblies alone are present in the GAC)

GAC : C:\Windows\assembly

     3.       Then Run the Toolbox configuration utility for VS2008 and VS2010.

     4.       Open VS and Reset the toolbox(RightCLick in Toolbox and select Reset Toolbox items)

     5.       Now open the project and drag/drop the controls,

           For Migrated project

     Please ensure that the assemblies are present in the GAC and kindly refer the below link for clear details


Nimrod Shaulski
Replied On August 7, 2012 04:29 AM

Problem is solved (in the meantime... hope it won't come back).
It appears that following the upgrade instructions is not enough...
I perform all the steps required for upgrading the project as explained in Syncfusion help.
Today I've decided to make a full textual search for old Syncfusion version references in the project.
I saw that some of the references appear in the Visual Studio as updated but the project file keeps the old references (to version 6.403, which doesn't exist on my PC).
After I cleaned all those project files manually and added the correct references the toolbox started working OK.

Kalaiarasan B [Syncfusion]
Replied On August 7, 2012 04:38 AM

Hi Nimrod,

We are so glad to hear that the reported issue is resolved in your side.

Please let me know if you have any concerns, we are glad to help you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.