ASP.NET 4.0 site displaying error - ISAPI “Restric

http://stackoverflow.com/questions/10676473/asp-net-4-0-site-displaying-error-isapi-restriction-column-is-missingweb

在部署ASP.net 4.0项目过程当中会出现的状况。api

The requested content appears to be script and will not be served by the static file handler.服务器

请执行一下代码
C:\Users\Administrator>cd..

C:\Users>cd..

C:\>cd Windows

C:\Windows>cd Microsoft.NET

C:\Windows\Microsoft.NET>cd Framework64

C:\Windows\Microsoft.NET\Framework64>cd v4.0.30319

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -ir
Start installing ASP.NET (4.0.30319) without changing existing web applications
to use this version of ASP.Net.
..........
Finished installing ASP.NET (4.0.30319) without changing existing web applicatio
ns to use this version of ASP.Net.
以后给网站添加对应的4.0应用池app


因为 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,没法提供您请求的页面。网站

进入IIS服务名称,点击ISAPI和CGI限制,进去后运行V4.0就OKthis

相关文章
相关标签/搜索