Sign in | Join
Last post 11-07-2009 8:18 AM by aghdennis. 7 replies.
Sort Posts: Oldest to newest Newest to oldest
whenever i try to run an asp page on microsoft visual studio 2008, i get an error "page request unavailable" on my browser. could somebody tell me how to run asp.net test codes that i write on visual studio 2008 without getting cannot be displayed message.
How do you run the page? Does the project compile okay?
i use the debug buttton after which i expect to see the page i am creating but that is not the case. instead i see a "page cnnot be displayed" on my browser.
What is the URL you see in the browser, and does the file name of the Web Form (.aspx) actually exist in your Web application or Web site?
http://localhost:49165/WebSite2/nwweb.aspx
file name is nwweb.aspx
thanks
Do you get the same result, if you right-click nwweb.aspx in Solution Explorer and then click View in Browser? In Internet Explorer, what do get if you replace localhost with 127.0.0.1 after running the Web site from Visual Studio?
Hi,
To better understand your issue, please confirm the following information:
• If we create another type project, does it have same issue? We need to narrow down the cause of this issue.• Did you install any antivirus software which could prevent Asp.Net Development Server? If so, you can try to reconfigure your antivirus software.• If we use another browser such as FireFox, does it have the same issue? If you are using Vista, you can refer to http://community.sgdotnet.org/blogs/yizhe/archive/2009/03/29/visual-studio-2008-2005-development-server-not-working-internet-explorer-cannot-display-the-webpage.aspx • Please make sure the port number on URL matches the one in ASP.NET Development server. If it doesn't match, you can specify a port for it. For more information, see http://msdn.microsoft.com/en-us/library/ms178109(VS.80).aspx
You also can refer to related discussion on http://forums.asp.net/t/1434446.aspx and http://forums.asp.net/t/1434983.aspx
I look forward to receiving your test results.
Hi there,
Thank you for your help. I have resolved the issue with my asp.net server. Apparently i had to remodify the hosts file on my computer to allow the localhost machine have access to the server. I did that by following the instructions on one of the links you sent me.
Thanks again
Dennis