Last post Sep 07, 2012 11:50 AM by mcm
Jun 08, 2012 03:47 AM|Manta|LINK
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.
Jun 11, 2012 11:03 AM|Dino He - MSFT|LINK
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.
Jun 11, 2012 11:55 AM|Manta|LINK
I'm not sure, maybe IIS 8.
Anyway, I already turn IIS on in "Turn Windows Features On or Off" option.
Jun 18, 2012 07:25 PM|jprochazka|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.
Jun 22, 2012 03:11 PMemail@example.com|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.
Jun 22, 2012 03:57 PM|Manta|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?
Jun 22, 2012 04:08 PM|albert_rife|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=18.104.22.168, 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
Sep 07, 2012 11:50 AM|mcm|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.