问题描述
我正在使用Visual Studio web developer 4.0,其中我正在做一个Web应用程序。我在我的本地IIS中托管了我的网站。我的问题是,当我从visual studio打开网站时,一些更改的消息就像
ASP.NET 4.0尚未在网络服务器上注册。您需要为asp.net 4.0手动配置您的Web服务器才能使您的站点正常运行...
当我尝试调试网站时错误我得到
无法在服务器上启动调试。无法启动asp.net调试。更多信息我可以在没有调试的情况下启动项目。
然后我浏览了我的启动页面而没有调试然后浏览器中的错误是
由于扩展配置,无法提供您请求的页面。如果页面是脚本,请添加处理程序。如果要下载该文件,请添加一个MIME地图。
我尝试过很多东西,例如用aspnet_regiis -1注册asp.net,并搜索了很多但是没有工作。我正在使用Windows 8.
请帮助。
i am using Visual studio web developer 4.0, in which i doing a web application. And i hosted my website in my local IIS. My problem is while i am opening the website from visual studio some alter message is coming like
ASP.NET 4.0 has not been registered on the webserver. You need to manually configure your web server for asp.net 4.0 in order for your site to run correctly...
An then when i am trying to debugg website bellow error i am getting
Unable to start debugging on the server. Could not start asp.net debugging. More information my available by starting the project without debugging.
Then i browsed my startup page without debugging then the error in browser is
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
i tried many things like registering asp.net with aspnet_regiis -1, and searched a lot bt not working. and i m using windows 8.
Pls help.
推荐答案
Hello Friend.
Go to IIS and check Web Service Extensions
这篇关于在本地iis托管的网站无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!