Development server not showing web page in my default browser?
I installed windows 7 recently & I a开发者_开发技巧m new to ASP.NET.
I installed visual studio 2008 for developing ASP.NET application.When I run my application, ASP.NET development server runs & my default browser opens automatically but doesn't show my web page.
A connection error occurs. Opening the web page with visual studio's internal browser works fine for me.
So what's the problem with my default browser (IE8, Flock2.6)? Any configuration setting or what?
I found the problem; it was my antivirus. Here is the solution If you use nod32:
Follow these steps to solve this issue:
Double-click on Nod32 icon on tray and Open it up.
If it is not in "Advanced Mode" , switch to Advanced Mode. ( you can do it by clicking on the bottom-left link "Display:Standard Mode" and then click on "Toggle Advanced Mode")
Then goto SETUP section. then on the Right Pane click on "Antivirus and Antispyware protection". The panel should be opened.
Now in the "Web Access protection" click on "Configure..."
From the left Tree go to path : "Web access protection > HTTP > Web Browsers"
Now you should see visual studio 8 "devenv.exe" in the list.
Click on it twice till you see a cross sign in the box. ( Note on CROSS sign , not mark sign !)
with this cross sign you tell the Nod32 that this program should not be scanned and filtered for web access.
These steps solved my problem and now I can access my page from localhost:<portNumber>
.
精彩评论