IIS 7 error 500 after enabling 32 bits applications on app pool
Hello all,
I have a webiste that was migrated from a 32 bits windows 2003 server to a 64 bits windows 2008 R2. It is a SharePoint (MOSS 2007) and .NET v2 application.
Everything went smooth except for a DLL component used to integrate the e-commerce with the bank.
The bank support told me that their component does not run on 64 bits windows. But some users from the internet told me they could make it work enabling 32 bits application on the app pool.
So I've tried to do that, but when I do I get an error 500 on any page. The site got offline, so I had to switch it back.
Is there a way to fix the “enable 32 bits application” on the app pool?
Thanks
Rogerio
Microsoft IIS Web ServerMicrosoft SharePoint.NET Programming
Last Comment
vetrixicode
8/22/2022 - Mon
santhimurthyd
Rogerio
In IIS7.0 with win2K8 enabling below settings will help
i) app pool to 32bit enabled will allow to run the application which are target with Any CPU /x86 CLR Path : CLR Path : C:\Windows\Microsoft.NET\Framework
ii) app pool to 32bit disabled allow to run the application which are target with Any CPU /x64 CLR Path : C:\Windows\Microsoft.NET\Framework64
so, if you want to deploy an 32bit application with defaultapp pool disabled 32 bit, need to rebuild the solution with Any CPU else need to migrate the application to win64bit OS and compile with AnyCPU.
Yes, sharepoint is the 64 bits version.
Maybe I could create a virtual directory, running under a different app pool, put there only the aspx file I need (the one that calls the DLL), and enable 32bits application on the new app pool.
Would that work?
Thanks
Rainer Jeschor
Hi,
imho this should work if you can use a different app pool.
But it depends what your ASPX page is doing, which references it has ...
In IIS7.0 with win2K8 enabling below settings will help
i) app pool to 32bit enabled will allow to run the application which are target with Any CPU /x86
CLR Path : CLR Path : C:\Windows\Microsoft.NET\F
ii) app pool to 32bit disabled allow to run the application which are target with Any CPU /x64
CLR Path : C:\Windows\Microsoft.NET\F
so, if you want to deploy an 32bit application with defaultapp pool disabled 32 bit, need to rebuild the solution with Any CPU else need to migrate the application to win64bit OS and compile with AnyCPU.