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?
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.
AnneB
Member
36 Points
20 Posts
Enabling ASP.NET 4 in IIS 7.5
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?
HostingASPNe...
All-Star
15876 Points
2974 Posts
Re: Enabling ASP.NET 4 in IIS 7.5
Nov 04, 2010 07:55 AM|LINK
Hello,
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.
Regards
Free ASP.NET Examples and source code.
AnneB
Member
36 Points
20 Posts
Re: Enabling ASP.NET 4 in IIS 7.5
Nov 04, 2010 10:45 PM|LINK
Hi,
I am using a local IIS server, and I don't see a Web Service Extensions folder.
Thanks
tomdchi
Member
2 Points
1 Post
Re: Enabling ASP.NET 4 in IIS 7.5
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?
stifler
Member
4 Points
2 Posts
Re: Enabling ASP.NET 4 in IIS 7.5
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.
AnneB
Member
36 Points
20 Posts
Re: Enabling ASP.NET 4 in IIS 7.5
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.
stifler
Member
4 Points
2 Posts
Re: Enabling ASP.NET 4 in IIS 7.5
Dec 29, 2010 02:02 PM|LINK
Yes... I was having the same issue... Sorry.