I'm currently running Windows 8 Release Preview (x64). I already turn
IIS on and installed VS2012 RC.
In Windows 8, There are two choices for ASP.NET in turn Windows feature on or off:
ASP.NET 3.5 and ASP.NET 4.5.
When I run aspnet_regiis.exe -i with admin privilege, I got error message: This version of Windows does not support... bla bla bla and it told me I should installed/uninstalled ASP.NET 4.0, IIS, DISM.exe. I tried to turn it on and off, but
that's not help.
So I need your help here: How to run
aspnet_regiis.exe -i on Windows 8 with ASP.NET 4.5 built-in. Thank you.
IIS 8 and Windows 8/Server 2012 don't support aspnet_regiis.exe, you use the turn Windows features on/off process to install ASP.NET. What makes you think you need to use the older process?
ASP.NET 3.5 and 4.5 are the two CLRs, ASP.NET 2.0, 3.0 and 3.5 use the 3.5 (2.0) CLR and ASP.NET 4.0 and 4.5 use the 4.5 (4.0) CLR. There are only two CLRs supported in IIS 8, ASP.NET 1.0/1.1 is gone.
I have the following error when installing NAV2013 webclient in Windows 8 RP and Windows Server 2012 Beta:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
I got this to work by using the Web Platform Installer to install ASP.NET 4.5.
Turning the ASP.NET 4.5. feature off then on doesn't work, and neither did it for me when I encountered this on older versions of windows which is why the aspnet_regiis tool has been useful before.
Manta
0 Points
3 Posts
Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 08, 2012 02:47 AM|LINK
Dear all,
I'm currently running Windows 8 Release Preview (x64). I already turn IIS on and installed VS2012 RC.
In Windows 8, There are two choices for ASP.NET in turn Windows feature on or off: ASP.NET 3.5 and ASP.NET 4.5.
When I run aspnet_regiis.exe -i with admin privilege, I got error message: This version of Windows does not support... bla bla bla and it told me I should installed/uninstalled ASP.NET 4.0, IIS, DISM.exe. I tried to turn it on and off, but that's not help.
So I need your help here: How to run aspnet_regiis.exe -i on Windows 8 with ASP.NET 4.5 built-in. Thank you.
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 11, 2012 10:03 AM|LINK
HI
What's your IIS version?
IIS 7 apply to:Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
Maybe you need IIS 8.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
Manta
0 Points
3 Posts
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 11, 2012 10:55 AM|LINK
I'm not sure, maybe IIS 8.
Anyway, I already turn IIS on in "Turn Windows Features On or Off" option.
jprochazka
Contributor
4896 Points
740 Posts
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 18, 2012 06:25 PM|LINK
Looking at the error message it would seem that you need to use aspnet_regiis.exe for framework 4.5 not 4.0 on IIS 8 machines.
4.0 applications should run under 4.5 just fine being that 4.5 is built on top of 4.0.
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 22, 2012 02:11 PM|LINK
IIS 8 and Windows 8/Server 2012 don't support aspnet_regiis.exe, you use the turn Windows features on/off process to install ASP.NET. What makes you think you need to use the older process?
ASP.NET 3.5 and 4.5 are the two CLRs, ASP.NET 2.0, 3.0 and 3.5 use the 3.5 (2.0) CLR and ASP.NET 4.0 and 4.5 use the 4.5 (4.0) CLR. There are only two CLRs supported in IIS 8, ASP.NET 1.0/1.1 is gone.
Jeff
Manta
0 Points
3 Posts
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 22, 2012 02:57 PM|LINK
Thank you for your answer. I just follow the legacy process and the information (as depicted in command line) didn't clear.
So I just have to check at ASP.NET 4.5 (in Turn on or off... window) and then it will be registered with IIS automatically. Am I right?
albert_rife
Member
2 Points
4 Posts
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Jun 22, 2012 03:08 PM|LINK
I have the following error when installing NAV2013 webclient in Windows 8 RP and Windows Server 2012 Beta:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
I have read in various forums that can be solved with aspnet_regiis.exe (http://msdn.microsoft.com/en-us/library/hh169179(v=nav.70).aspx). I have verified that solves the problem in Windows 7 and Windows Server 2008.
I am looking for the solution to Windows 8 RP and Windows Server 2012 Beta.
Thanks in advance
albert
mcm
Member
77 Points
37 Posts
Re: Cannot run aspnet_regiis.exe -i on Windows 8 RP
Sep 07, 2012 10:50 AM|LINK
I got this to work by using the Web Platform Installer to install ASP.NET 4.5.
Turning the ASP.NET 4.5. feature off then on doesn't work, and neither did it for me when I encountered this on older versions of windows which is why the aspnet_regiis tool has been useful before.