Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
302 views
in Technique[技术] by (71.8m points)

iis - 404.2 Error after installing .net 4.0

I have a project which I have upgraded to .Net 4.0, but when I try to access it, I retrieve the following error:

HTTP Error 404.2 - Not Found
The page you requested could not be displayed because of the settings for the list of ISAPI and CGI restrictions on web server.
ErrorCode: 0x800704ec
Handler PageHandlerFactory-ISAPI-4.0_32bit

Do I need to do something extra to the IIS 7 or APP pool, when converting an existing site to a .NET 4.0 site?

Also if I look at ISAPI both 32bit and 64bit of the .Net 4.0 is installed.

question from:https://stackoverflow.com/questions/2665578/404-2-error-after-installing-net-4-0

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

In IIS, enable .NET 4.

Here is image: enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...