Saturday 12 July 2014

error not a valid win32 application


error: when I tried to run asp.net 2.0 application in windows 2008 64 bit environment I got above error.
Solution. Please check your asp.net 2.0 application are there any Microsoft.Sharepoint.dll, if there are please replace with SharePoint 2010 Microsoft.Sharepoint.dll
Now you will not get any asp.net 2.0 application error.
error: If you are getting SharePoint 2010 error.
Sol: in IIS--> application pool -->Central admin -->propertiesàmake sure that 32 bit enable option is false.