Answered by:
.NET 4.0 in a x64 machine with Enable32BitAppOnWin64="TRUE"

Question
-
User727540649 posted
I'm trying to set up a asp.net 4.0 web site in a x64 machine with Enable32BitAppOnWin64="TRUE". I'm using IIS6 in windows server 2003 and the ASP.NET tab is missing from my IIS due to a known microsoft bug.
Is there a way to set the application pool to point to .NET 4.0 via script?
I have already run aspnet_regiis -i and allowed .NET 4.0 in the web service extensions.
Thanks in advance
Thursday, January 6, 2011 5:41 PM
Answers
-
User-1672167363 posted
I'm trying to set up a asp.net 4.0 web site in a x64 machine with Enable32BitAppOnWin64="TRUE". I'm using IIS6 in windows server 2003 and the ASP.NET tab is missing from my IIS due to a known microsoft bug.
Is there a way to set the application pool to point to .NET 4.0 via script?
I have already run aspnet_regiis -i and allowed .NET 4.0 in the web service extensions.
Thanks in advance
Hello,
Here is the command prompt version
appcmd apppool set /apppool.name Site /enable32BitAppOnWin64:true
here is the script version
cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -iIf you have more questions post to this thrad.
Martin :)
Hello,
Yes I know that appcmd is for IIS 7.
The first form is what is the structure for the command to execute.
The second is the script said the needed. and is using the required structure.
LOL
Martin :)
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Sunday, January 9, 2011 12:00 AM
All replies
-
User-1672167363 posted
I'm trying to set up a asp.net 4.0 web site in a x64 machine with Enable32BitAppOnWin64="TRUE". I'm using IIS6 in windows server 2003 and the ASP.NET tab is missing from my IIS due to a known microsoft bug.
Is there a way to set the application pool to point to .NET 4.0 via script?
I have already run aspnet_regiis -i and allowed .NET 4.0 in the web service extensions.
Thanks in advance
Hello,
Here is the command prompt version
appcmd apppool set /apppool.name Site /enable32BitAppOnWin64:true
here is the script version
cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -iIf you have more questions post to this thrad.
Martin :)
Saturday, January 8, 2011 2:00 PM -
User727540649 posted
Thanks, but I don;t think appcmd is an option for IIS6. Please correct me if i'm wrong though.
Saturday, January 8, 2011 10:57 PM -
User-1672167363 posted
I'm trying to set up a asp.net 4.0 web site in a x64 machine with Enable32BitAppOnWin64="TRUE". I'm using IIS6 in windows server 2003 and the ASP.NET tab is missing from my IIS due to a known microsoft bug.
Is there a way to set the application pool to point to .NET 4.0 via script?
I have already run aspnet_regiis -i and allowed .NET 4.0 in the web service extensions.
Thanks in advance
Hello,
Here is the command prompt version
appcmd apppool set /apppool.name Site /enable32BitAppOnWin64:true
here is the script version
cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
aspnet_regiis.exe -iIf you have more questions post to this thrad.
Martin :)
Hello,
Yes I know that appcmd is for IIS 7.
The first form is what is the structure for the command to execute.
The second is the script said the needed. and is using the required structure.
LOL
Martin :)
- Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
Sunday, January 9, 2011 12:00 AM -
User727540649 posted
Thanks Martin.
I've managed to get my sites working by running the following command
aspnet_regiis.exe -r
Sunday, January 9, 2011 10:25 PM