|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Page cannot be displayed
I need to use IIS to run .asp pages for a course I'm taking. When I try to view the pages using localhost, I receive "The page cannot be displayed" error with "Cannot find server or DNS Error" at the bottom of the page. I have "show friendly HTTP error messages" unchecked, but do not receive anything more detailed. At first the status bar says "Website found. Waiting for reply" and then says "Done," but the hour glass remains for several minutes after the "Done" appears. After several minutes, the hour glass goes away and the error page appears.
I've tried viewing html or asp pages and receive the same result. I've tried putting the pages directly in the wwwroot folder. I've tried creating a virtual directory and accessing it with http://localhost/IS583/. I've tried adding the file name and extension to the end of the path. Nothing worked. I've made sure IIS Admin and WWW are running. I've checked all the settings and permissions as directed by previous posts. I've disabled McAfee. I've run aspnet_regiis.exe. I've restarted IIS. I've checked to make sure localhost is listed in the System32 host file. I've reinstalled Windows XP Pro (with Service Pack 2), IIS, and then the .NET framework. I've made sure the XP firewall isn't running. Nothing worked. Also, when I try to view the .asp pages by opening them directly in IE, the .asp code doesn't work. The pages are either blank or display the source code or only display the html portion of the page. I don't know if this is part of the same problem or a different problem. I've been trying to resolve this for weeks without success. My professor says "I've never seen this before. I don't know what to tell you." Does anyone have any ideas? PLEASE HELP!! Thanks. |
|
#2
|
|||
|
|||
|
Do you have any antivirus script blocking running? If so, try turning script blocking off, Norton's can cause similar symptoms.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
What happens if you get to a command prompt and type:
Code:
tracert localhost |
|
#4
|
|||
|
|||
|
BTW, you can't open asp pages directly into IE, they must be processed by the web server to operate properly.
|
|
#5
|
|||
|
|||
|
When I enter tracert, it finds it without a problem:Tracing route to laptop [127.0.0.1]
over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms localhost [127.0.0.1] Trace complete. I already tried disabling McAfee, but it still didn't work. Does XP Pro Service Pack 2 include any antivirus script that could be causing the problem? |
|
#6
|
||||
|
||||
|
Quote:
MK |
|
#7
|
|||
|
|||
|
It happens with the simple Hello World program. It happens with a sample program my professor emailed to me (which worked on his system). It happens with purely html pages that open fine when I open directly into IE. It doesn't seem to matter what the code is.
|
|
#8
|
|||
|
|||
|
Look in your event log for any errors.
Check the www service status and make sure it's not hung on "starting" |
|
#9
|
|||
|
|||
|
The www status is "started" and there were are no errors recorded for the past 3 days (except when I lost my cable signal 2 days ago). I tried localhost again. It can't find the server and no errors were recorded in the log.
|
|
#10
|
|||
|
|||
|
Similar Problem
I am gettings a very similar problem.
I am however able to view HTML pages, but not ASP pages. if i change the extension of the .asp page to .html, the page is viewable but obviosly no code is run. I have tried all of the above mentioned possible solutions (short of reinstalling WinXP) but nothing has worked. My computer is running WinXP Pro SP2. Everything ran perfectly on my Win2000 computer running IIS before i switched to this computer. Does it possibly have something to do with SP2 for XP? I have the Windows firewall turned off, and have disabled the script blocking on my AV app. |
|
#11
|
|||
|
|||
|
Solution?
Did anyone ever find a solution to this?
|
|
#12
|
||||
|
||||
|
This is a common problem of IIS being set up on XP. Some XP cds somehow, have a corrupted version of the Microsoft Scripting Engine. This is what causes the headaches. Reinstalling XP won't do you any good. The best thing to do is to get the Scripting Engine 5.6 for windows xp and see if that helps.
Here is the link to the Microsoft Scripting Engine 5.6 For Windows XP |
|
#13
|
|||
|
|||
|
Thanks for your reply. I just went and downloaded the 5.6 engine and installed it. However, it did not solve this problem.
When i browse to http://localhost it still shows the "Page Cannot be Displayed" error message. The only default document i have listed is the localstart.asp page. If i rename this to localstart.html it displays. Any other ideas? |
|
#14
|
|||
|
|||
|
Quote:
The server failed to load application '/LM/W3SVC/1/Root/Training'. The error was 'Class not registered' Can you see if you are getting a similar error ? |
|
#15
|
|||
|
|||
|
Yes, i get that exact message in my event viewer as well.
Do we have to somehow specify to IIS that we wish to run .asp pages? |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Page cannot be displayed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Th |