I need some general help deploying Infragistics. I recently upgraded from 2009 for .NET to 2011 for our ASP.NET site using .NET 4.0. I ran the conversion utility and everything runs great locally.
When I deployed to our test server I started getting the following error:
The base class includes the field 'gridResults', but its type (Infragistics.WebUI.UltraWebGrid.UltraWebGrid) is not compatible with the type of control (Infragistics.WebUI.UltraWebGrid.UltraWebGrid).
I'm still going through it, but as best I can tell it wasn't originally set up correctly. It looks like the previous developer just installed Infragistics on that server as well so the dlls point to the bin folder in the Program Files folder. So now it's looking for the .NET 4 dlls but on the server it would be pointed at the old ones. Was it really necessary to install Infragistics on the test server or is there a way to just package them within the solution?
Hello stretch73,
probably you are getting this error because your project contains references for different versions. Use Visual Studio “Find and Replace” to verify that.Check if you are using one build and have assemblies in the Bin folder for other builds. Clean and Rebuild.
It is not necessary to install Net Advantage on your server. It is enough to have assemblies in the GAC or Bin folder.http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_Deploying_Your_Application.html
I hope this helps
Hristo, Thanks for the quick response. So our problem, best that I can tell, is that our Infragistics references in our project are pointing to the dlls in the Program Files/Infragistics folder. Since they installed Infragistics on the dev server, the one that's throwing the error, the dlls are still looking for those files there. Theoretically, if I pull the Infragistics installation off the server it should work correct?
Yes correct, theoretically it should be working.
Worked like a charm, thanks for the quick response.
N