Last post Mar 20, 2012 11:03 PM by necro_mancer
Mar 20, 2012 09:28 PM|jsn1|LINK
When I run my VS 2008 project opening it as a file system project it works fine. But when I open it as a web server or directly for IIS (http://myproject/Default.aspx) , it shows the following error message:
Could not load file or assembly 'ESRI.ArcGIS.ADF.ArcGISServer' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I checked in the whole project to update to the last version of th assembly ESRI.ArcGIS.ADF.ArcGISServer. The GAC has 4 versions of this same assembly, so my question is if the assembly is registered in the GAC, how can I check that it looks for the correct
Mar 20, 2012 11:03 PM|necro_mancer|LINK
Based on the error message shown, it seems that you did not properly "publish" your project to the server. The server is unable to locate the ESRI.ArcGIS.ADF.ArcGISServer.
Do you have a direct access to the server?