i tried to configure the .NET Compilation Settings in the IIS Manager but all i see is an Error Message that tells me that there is an unrecognized element in the web.config
file in C:\windows\Microsoft.NET\Framework64\v.4.0.30319\config\
.
A little bit strange for me is, that i get this error message on my Windows 7 System and also on a Windows Server 2008 R2.
While googling around a little bit all i found is this blog entry http://olegtarasov.me/2010/09/nastrojka-iis-7-5-i-asp-net-4/. I tried the aspnet_regiis -i -enable
command but that was not the solution for me.
Enabling Windows Internet Information Services (IIS)At the upper-right of the screen, select Manage and then select Add Roles and Features. In the Server Roles tab of the Add Roles and Features wizard, check the Web Server (IIS) box.
NET Framework 4.5 is the default . NET Framework for use by Windows Server 2012, the "DefaultAppPool" on IIS 8.0 also defaults to using the newer version of the . NET Framework.
Ok, i've got it.
The Problem is, that my systems a 64 Bit systems and the aspnet_regiis
i've called was the 32 Bit Version. After calling aspnet_regiis
from the Framework64 Directory everything was fine.
Thanks to Scott Hanselman http://www.hanselman.com/blog/ASPNET4BreakingChangesAndStuffToBeAwareOf.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With