Click here to Skip to main content
15,114,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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...
Posted
Comments
   
Your IIS version?
Neha Thanka 8-Aug-12 4:06am
   
IIS Version - 7.5
1castle1 8-Aug-12 4:42am
   
Does it run in visual studio without internet connection?
Neha Thanka 8-Aug-12 6:36am
   
Yes...
ZurdoDev 8-Aug-12 10:19am
   
Is it possible you are trying to connect to a db server or some other server and can't?
1castle1 9-Aug-12 7:02am
   
Have you tried making another very basic simple web app and putting that on your IIS to see if that works?

1 solution

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
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900