Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 29, 2010 02:02 PM by stifler
Nov 03, 2010 07:41 PM|LINK
I am using Visual Studio 2010 Professional and ASP.NET 4 to create a local IIS web application under IIS 7.5. When I do that, a dialog is displayed with the following error message: “ASP.NET 4.0 Web extension
is not enabled on the Web server.” Although the dialog gives me the option of enabling ASP.NET 4.0 on the server, I would prefer to know what it’s doing to enable it. I've looked at the features that are installed for IIS as well as the options that are available
from the IIS Manager, but I don't see anything unusual. I have noticed that when I change the .NET Framework version for the IIS server to 4.0, it's changed back to .NET 2.0 the next time I start the IIS Manager. Of course, I'm not even sure if this is something
that needs to be changed. Can someone please tell me how to enable the ASP.NET 4.0 Web extension?
Nov 04, 2010 07:55 AM|LINK
To enable the Web service extension for ASP.NET 4.0
1.Click Start, click Control Panel, click System Security, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
2.If you need to connect to a remote IIS Server, right click the Internet Information Services node and click the Connect... option.
3.Type in the computer name for the remote IIS Server and credentials if necessary.
4.Click the Web Service Extensions folder. The security lockdown console appears in the frame on the right.
5.In the Web Service Extensions window, right-click the ASP.NET v4.X.XXXX, and then click Allow.
Nov 04, 2010 10:45 PM|LINK
I am using a local IIS server, and I don't see a Web Service Extensions folder.
Nov 05, 2010 12:32 AM|LINK
Same here. Looks like a cut and paste answer from
http://msdn.microsoft.com/en-us/library/aa560277(BTS.70).aspx that is for IIS7.0. Can anyone that is using
IIS 7.5 help with this?
Dec 28, 2010 07:53 PM|LINK
Click sites... in actions click set web site defaults... change to 4.0. That corrected the issue for me.
Dec 28, 2010 08:57 PM|LINK
What did you change to 4.0? The application pool? I did that and it didn't make any difference.
Dec 29, 2010 02:02 PM|LINK
Yes... I was having the same issue... Sorry.