iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I am running into an error opening the WebGrid.NET Designer since the upgrade from WebUI Studio 2010 R2 to 2011 R1: "An exception in designer has occurred."
I've seen a couple of other similar questions posted with the answer being to confirm the correct versions of the file ISNet.WebUI.WebGrid.Editor.dll are in place in both the project BIN folder and the Windows\Assembly folder. They are both showing version 7.0.7200.429, and the date looks right.
I'm getting the same error when I create a new project, copy the editor DLL to the project BIN folder, add the webgrid, and then try to open that webgrid's desinger... Please help!!!
Hello,
This is my suggestion to the other customer that had the same issue before:
"This error might occur because you have different assembly version between your project and the GAC.
Check you GAC for ISNet.WebUI.WebGrid.Editor assembly version. If the version is different, then delete the assembly from the GAC and drag the one from C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebGrid.NET 7.0\Bin.
Restart your project and try to open WebGrid's designer."
The above solution should work for the designer issue. Please ensure you have the same version of ISNet.WebUI.WebGrid.Editor in both GAC and bin folder.
If the error still persists, may I know what the error is? You can provide a screenshot for better information.
Thank you.
Regards,-Martin-
Martin remoted into my system for 2 hours, and we found that the versions were correct between the GAC, the project BIN, and the WebUI Studio files created during the install of WebUI Studio 2011.
It was finally concluded that all of the references and code lines for WebUI in webconfig had to be removed, the project saved, Visual Studio closed, the appropriate "Temporary ASP.NET Files" folders deleted, and Visual Studio project opened back up, the lines added back to webconfig, and the NECESSARY references added back to the project, to get the designer running again AND the project remaining stable...
Long, long, road to get there, but problem resolved!
Thank you for the quick response. What I had posted originally was that the versions appear to be the same in Windows\assembly and my projects BIN folder (see attachment). Is there somewhere else that I might be missing? I've also checked the webconfig versus the sample C# files and nothing seems off there either, though I can open the designer for the sample WebGrids...
Martin’s suggestion has pointed to the correct solution. I just would like to add a word or two regarding this problem.
When we work with Intersoft component designer, for example: in this case is the WebGrid designer, we need to ensure that the build version of ISNet.WebUI.WebGrid.Editor.dll assembly file in GAC has the same build version with the ISNet.WebUI.WebGrid.dll of your project’s bin folder.
The screenshot below shows the assembly files inside the “%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\WebGrid.NET 7.0\Bin” folder. It shows that the build version of WebGrid 7 in the development PC is build 429.
The project’s bin folder should have WebGrid’s assembly which has identic build number.
When the designer of WebGrid control is opened in Visual Studio, please ensure that the ISNet.WebUI.WebGrid.Editor.dll in the GAC (%systemroot%\assembly) has equal build version with the ISNet.WebUI.WebGrid.dll mentioned above.
Last but not least, if in any how we update or apply the hotfix of WebUI.NET Framework 3.0, please ensure that the ISNet.WebUI.Editor.v4.dll assembly file in GAC and in the “%ProgramFiles%\Intersoft Solutions\WebUI Studio for ASP.NET\WebUI.NET Framework 3.0\Bin” folder has the same build version.
If the problem still persist, please try to close all opened Visual Studio; reset IIS; removes temporary ASP.NET files (by deleting all files and folders in “%systemroot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files” for project that uses .NET Framework 2.0 and “%systemroot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files” for project that uses .NET Framework 4.0.
I have reconfirmed the version numbers between the assemblies in GAC and the contents of the projects BIN folder - they are identical. I ran iisreset with Visual Studio closed and brought the project back up - same error. The ISNet.WebUI.Editor.v4.dll wasn't being referenced in the project, so I added it and confirmed proper versions between GAC and BIN - still same error...
The only thing that I found out of place was in the .csproj file for the project:
<Reference Include="ISNet.WebUI.WebGrid, Version=7.0.7200.417, Culture=neutral, PublicKeyToken=3e60b85fb8502d5e, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="ISNet.WebUI.WebGrid.Editor, Version=7.0.7200.429, Culture=neutral, PublicKeyToken=86c0ac2b39cea36a, processorArchitecture=MSIL"> <Private>True</Private> </Reference> <Reference Include="ISNet.WebUI.WebGrid.Resources, Version=7.0.7200.417, Culture=neutral, PublicKeyToken=3e60b85fb8502d5e, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> </Reference>
Note that the version numbers in the .csproj file for WebGrid and WebGrid.Resources are both 7.0.7200.417, though with the project actually open in Visual Studio, they both show version numbers 7.0.7200.429.
Thanks again for your prompt response,
Chris
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname