在本地iis托管的网站无法正常工作

编程入门 行业动态 更新时间:2024-10-20 20:36:51
本文介绍了在本地iis托管的网站无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Visual Studio web developer 4.0,其中我正在做一个Web应用程序。我在我的本地IIS中托管了我的网站。我的问题是,当我从visual studio打开网站时,一些更改的消息就像 ASP.NET 4.0尚未在网络服务器上注册。您需要为asp 4.0手动配置您的Web服务器才能使您的站点正常运行... 当我尝试调试网站时错误我得到 无法在服务器上启动调试。无法启动asp调试。更多信息我可以在没有调试的情况下启动项目。 然后我浏览了我的启动页面而没有调试然后浏览器中的错误是 由于扩展配置,无法提供您请求的页面。如果页面是脚本,请添加处理程序。如果要下载该文件,请添加一个MIME地图。 我尝试过很多东西,例如用aspnet_regiis -1注册asp,并搜索了很多但是没有工作。我正在使用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 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 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 with aspnet_regiis -1, and searched a lot bt not working. and i m using windows 8. Pls help.

推荐答案

如果你想调试那么确保你的web.config文件包含的值如 < compilation debug =true> 请检查你的应用程序池和它正在运行的框架。如果.NET framework v2.0发现你改了.NET framework v4.0。 如果问题没有解决那么一个建议,你可以修复你的.NET框架v 4.0然后iis注册aspnet_regiis命令。 If you want to debug then make sure your web.config file contain the value like <compilation debug="true"> Please check your application pool and under which framework it is running. If .NET framework v2.0 found you changed it .NET framework v4.0. If problem not solved then one suggestion, you can repair your .NET framework v 4.0 then iis register with aspnet_regiis command.

Hello Friend. Go to IIS and check Web Service Extensions

更多推荐

在本地iis托管的网站无法正常工作

本文发布于:2023-11-01 12:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1549364.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:无法正常   工作   网站   iis

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!