简体   繁体   中英

Local ASP.NET Website doesn't run without Internet

I created an ASP.NET web application in Visual Studio 2008. The website runs when I am connected to the Internet, but when I don't have Internet, it doesn't start (it just keeps on loading neverendlessly). This is an anomaly of some type: the website is local on my PC so it should run without Internet. Any clues/suggestions will be appreciated. Thank you!

If you're using firefox and behind a proxy, you need to add localhost to your 'no proxy' list. This is Tools -- Options -- Advanced -- Network -- Settings -- and add it to the list. I'm fairly certain there's something similar for IE.

也许您正在使用一些外部资源:数据库,jQuery等JavaScript文件,统计脚本等。尝试删除它并检查页面是否加载。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM