无法在本地主机上运行asp .net项目 [英] can not run asp .net project on localhost

查看:100
本文介绍了无法在本地主机上运行asp .net项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我的应用程序运行良好,但是现在当重建并运行该应用程序时,然后在浏览器中,它显示空白屏幕并正在连接.并没有任何显示.而且它不会给出任何错误.
浏览器:IE 7
Windows:XP
.NET:2.0
我签出-C:\ WINDOWS \ system32 \ drivers \ etc \ hosts文件,其中包含规范-127.0.0.1 localhost
当我在global.asax文件中进行了一些更改时,错误开始了,但是即使删除了所有更改之后,错误仍然存​​在.
请帮我,急了
非常感谢

Till now my application was running fine, but now when rebuild and run the application then in browser, it shows blank screen and connecting. And nothing gets displayed at all. And it does not give any error(s).
Browser : IE 7
Windows : XP
.NET : 2.0
I checked out - C:\WINDOWS\system32\drivers\etc\hosts file, it contains the specification - 127.0.0.1 localhost
Error started when i make some changes in global.asax file but even after removing all changes, error persist.
Please help me, its urgent
Thanks a lot

推荐答案

要部署asp.net Web应用程序,您需要IIS.看一下本文-在IIS中创建虚拟目录.
http://www.microsoft.com. com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr = true [
To deploy asp.net web application you need IIS. Take a look at this article - Creating Virtual Directories in IIS.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx?mfr=true[^]



or

may be problem with the localhost port number


这篇关于无法在本地主机上运行asp .net项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆