“Service Unavailable” message when you access a website (when installing 32 and 64 bit versions of ASP.Net)
Let me clarify that about a billion things (ok, probably no more than a 100) can cause this error message, so this is just a particular scenario and it happens when you have 32 and 64 bit versions of asp.net installed on your web server. Here is an easy way to move around versions. In my case, I was happy with my 64 bit version, but I needed the 32 bit asp 1.1.xxxx to run the BDD on my server, so… I had to install it. Anyways, what a pain one thing breaks another, but here is how to fix it!!
obtained from: http://support.microsoft.com/?id=894435
ASP.NET 1.1, 32-bit version
loadTOCNode(2, 'moreinformation');
To run the 32-bit version of ASP.NET 1.1, follow these steps:
1. | Click Start, click Run, type cmd, and then click OK. |
2. | Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
|
3. | Type the following command to install the version of ASP.NET 1.1 and to install the script maps at the IIS root and under:
%SYSTEMROOT%Microsoft.NETFrameworkv1.1.4322aspnet_regiis.exe -i
|
4. | Make sure that the status of ASP.NET version 1.1.4322 is set to Allowed in the Web service extension list in Internet Information Services Manager. |
ASP.NET 2.0, 32-bit version
loadTOCNode(2, 'moreinformation');
To run the 32-bit version of ASP.NET 2.0, follow these steps:
1. | Click Start, click Run, type cmd, and then click OK. |
2. | Type the following command to enable the 32-bit mode:
cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
|
3. | Type the following command to install the version of ASP.NET 2.0 (32-bit) and to install the script maps at the IIS root and under:
%SYSTEMROOT%Microsoft.NETFrameworkv2.0.40607aspnet_regiis.exe -i
|
4. | Make sure that the status of ASP.NET version 2.0.40607 (32-bit) is set to Allowed in the Web service extension list in Internet Information Services Manager. |
ASP.NET 2.0, 64-bit version
loadTOCNode(2, 'moreinformation');
To run the 64-bit version of ASP.NET 2.0, follow these steps:
1. | Click Start, click Run, type cmd, and then click OK. |
2. | Type the following command to disable the 32-bit mode:
cscript %SYSTEMDRIVE%inetpubadminscriptsadsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
|
3. | Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:
%SYSTEMROOT%Microsoft.NETFramework64v2.0.40607aspnet_regiis.exe -i
|
4. | Make sure that the status of ASP.NET version 2.0.40607 is set to Allowed in the Web service extension list in Internet Information Services Manager. |
Note The build version of ASP.NET 2.0 may differ depending on what the currently released build version is. These steps are for build version 2.0.40607.
Love
Can we use Let's Encrypt, the free and open certificate authority?
Hola! gracias por la info, me sirvió el comando sacandole el nombre del server. En mi caso, fue una migración…
Yes 3rd option helped me too. I removed the WC key Values from config file then started working.
I know this is from 2014. But really, thank you!