|
-
April 21st, 2009, 03:14 PM
#1
Internet Explorer cannot display the webpage
Hello,
I've created a new website in VWB 2008 Express & when I click 'Start without debugging' I get this in IE:
http://localhost:55998/WebSite2/Default.aspx
Internet Explorer cannot display the webpage
I get the icon in the system tray saying the port is the same (55998) and the path appears correct - but it's not displaying my page (just with the word test in it).
Any ideas? Thanks
-
April 21st, 2009, 03:31 PM
#2
Re: Internet Explorer cannot display the webpage
Have you written any code in the code behind file? What exactly is the error that it is showing?
-
April 21st, 2009, 03:49 PM
#3
Re: Internet Explorer cannot display the webpage
Hello,
No, no code - and it's the standard IE error.
Here are my steps: Start VWD, click 'Create Website', select 'ASP.NET Web Site', enter a new location & hit 'Start without debugging'
Then I get this:
Internet Explorer cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
What you can try:
Diagnose Connection Problems
More information
This problem can be caused by a variety of issues, including:
Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's domain.
If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.
For offline users
You can still view subscribed feeds and some recently viewed webpages.
To view subscribed feeds
Click the Favorites Center button , click Feeds, and then click the feed you want to view.
To view recently visited webpages (might not work on all pages)
Click Tools , and then click Work Offline.
Click the Favorites Center button , click History, and then click the page you want to view.
I was using IIS before - but I dont think this should have affected it.
Thanks for your reply.
-
April 22nd, 2009, 01:59 AM
#4
Re: Internet Explorer cannot display the webpage
 Originally Posted by abthomas
My guess is that your project name is 'WebSite2'. Normally the url would be 'http://localhost:55998/Default.aspx'. Try it without WebSite2 in the url. No idea why Visual Studio puts it in there
-
April 22nd, 2009, 02:22 AM
#5
Re: Internet Explorer cannot display the webpage
Hello,
Nope 'http://localhost:55998/Default.aspx' doesnt work either. My book says it should have the project name in there.
-
April 22nd, 2009, 03:49 AM
#6
Re: Internet Explorer cannot display the webpage
What operating System are you using and what is the version of IE? Do you have any anti-virus installed? There can be number of issues that would lead to this.
Did you try creating a Website under IIS rather than in FileSystem?
-
April 22nd, 2009, 04:14 AM
#7
Re: Internet Explorer cannot display the webpage
Vista SP1, IE 7.0.6001.18000 (ooh, must upgrade), no anti-virus.
I did use IIS a while back, but now want to use VWD's internal web server. The steps as basic as I can make them are:
Here are my steps: Start VWD, click 'Create Website', select 'ASP.NET Web Site', enter a new location (eg Test2) & hit 'Start without debugging'. See error message in a web browser. 
Update: Still fails with the latest IE8
Last edited by abthomas; April 22nd, 2009 at 04:44 AM.
-
April 22nd, 2009, 01:48 PM
#8
Re: Internet Explorer cannot display the webpage
Just check whether you have a valid entry for localhost in the HOSTS file. ON XP, the file location is C:\windows\system32\drivers\etc\hosts and the entry should be 127.0.0.1 localhost.
-
April 22nd, 2009, 03:43 PM
#9
Re: Internet Explorer cannot display the webpage
Wow, that worked, thanks loads! I had to research how to find & edit this file (details below). But I have one big question: Why was this originally set to '::1 localhost'.
What would have caused this? Would it have been set to '127.0.0.1' with a fresh vista install? Was it installing IIS? So many thanks for your help!
The standard way to resolve that is to find the hosts file
and map your loopback address ( 127.0.0.1 ) to "localhost".
There's an issue connected to doing that on Vista.
The hosts file is considered a system file by Vista.
You have to first take ownership of it then grant yourself full control.
These are the two commands that you need to run from an elevated command prompt.
(Right click "command prompt" and choose "Run as Administrator") :
1.
takeown /f c:\windows\system32\drivers\etc\hosts
2.
icacls c:\windows\system32\drivers\etc\hosts /grant yourusername:f
If you installed to a drive other than "c:", modify accordingly, of course.
Now you can open the file with notepad, insert this line and save the hosts file
( make sure it doesn't acquire a .txt extension ) :
127.0.0.1 localhost
If that doesn't fix it, you have a bad install of the TCP/IP stack.
-
April 23rd, 2009, 03:36 AM
#10
Re: Internet Explorer cannot display the webpage
 Originally Posted by abthomas
Wow, that worked, thanks loads! I had to research how to find & edit this file (details below). But I have one big question: Why was this originally set to '::1 localhost'.
Sometimes some of the updates that get installed might update this file. Although it has never happened to me, this is just my assumption.
-
February 1st, 2010, 05:19 AM
#11
Re: Internet Explorer cannot display the webpage
Hello,I have almost same problem.when i createt a new web site and browse it with IE8 ,there is error(Internet Explorer cannot display the webpage) and now i'm working with VS2008 and IE8.but i alse have an older version of VS(VS2005) on the same computere.when i created a new web page with 2005 ,there is no problem and everything is ok.
what is the problem with VS2008??
i did all suggestions which were in old posts but it dosn't work.
could you help me??
thanks for your attentions.
-
September 14th, 2010, 07:19 PM
#12
Re: Internet Explorer cannot display the webpage
hi sepideh06,
Did you find any resolution for the issue?
I am having the same issue...could you please reply if you have any resolution?
Thanks
-
April 13th, 2012, 08:30 AM
#13
Re: Internet Explorer cannot display the webpage
i am facing the same problem.I also changed the name of my project.Please give me any solution
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|