没有互联网连接时,本地托管的网页不起作用 [英] Locally hosted webpage doesn't work when there is no internet connection

查看:69
本文介绍了没有互联网连接时,本地托管的网页不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在Visual Studio 2008中使用c#在asp.net中开发了一个网站.我将其托管在IIS中.当可以连接互联网时,它可以正常工作.如果没有Internet连接,则将页面下载到系统中,并且不会在浏览器中显示页面内容.我该如何纠正?
谢谢...

Hi,
I developed a website in asp.net using c# in Visual Studio 2008. I hosted it locally in IIS. It works fine when the internet connection available. If there is no internet connection, the page is downloaded into the system and not displaying the page contents in browser. How can I correct this?
Thank you...

推荐答案

首先检查您正在运行哪个应用程序池的应用程序,然后转到您的应用程序池并选择它,单击高级设置,然后查看对于<< Identity>>属性,该属性应位于本地系统或ApplicationPoolIdentity中.

我想这样就可以了
First check in what Application Pool you are running your app, then go to your app pools and select it, click advanced settings and and look for the <<Identity>> property, that property should be in local system or ApplicationPoolIdentity.

I guess that with this it''ll work


这篇关于没有互联网连接时,本地托管的网页不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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