Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 19th, 2004, 01:01 AM
kerlyn kerlyn is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 kerlyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old September 20th, 2004, 12:36 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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

Reply With Quote
  #3  
Old September 20th, 2004, 07:07 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2004
Posts: 3,002 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 19 h 40 m 17 sec
Reputation Power: 105
What happens if you get to a command prompt and type:
Code:
tracert localhost
MK

Reply With Quote
  #4  
Old September 20th, 2004, 12:50 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
BTW, you can't open asp pages directly into IE, they must be processed by the web server to operate properly.

Reply With Quote
  #5  
Old September 20th, 2004, 05:50 PM
kerlyn kerlyn is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 kerlyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #6  
Old September 20th, 2004, 06:03 PM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2004
Posts: 3,002 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 19 h 40 m 17 sec
Reputation Power: 105
Quote:
Originally Posted by kerlyn
...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...
Could be an endless loop. Post you code here

MK

Reply With Quote
  #7  
Old September 20th, 2004, 07:31 PM
kerlyn kerlyn is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 kerlyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #8  
Old September 21st, 2004, 01:54 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Look in your event log for any errors.

Check the www service status and make sure it's not hung on "starting"

Reply With Quote
  #9  
Old September 21st, 2004, 06:44 PM
kerlyn kerlyn is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 4 kerlyn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #10  
Old January 5th, 2005, 09:53 AM
redeye redeye is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 redeye User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #11  
Old January 5th, 2005, 09:58 AM
redeye redeye is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 redeye User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Solution?

Did anyone ever find a solution to this?

Reply With Quote
  #12  
Old January 5th, 2005, 10:47 AM
lewy's Avatar
lewy lewy is offline
Alter Ego Wizard
Click here for more information.
 
Join Date: Jun 2004
Location: Edinburg Tx
Posts: 4,383 lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)lewy User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 1009 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 1 Day 23 h 29 m 43 sec
Reputation Power: 1488
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

Reply With Quote
  #13  
Old January 5th, 2005, 10:58 AM
redeye redeye is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 redeye User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #14  
Old January 6th, 2005, 02:02 PM
clarcombe clarcombe is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 clarcombe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by redeye
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?
I too am getting this error. XP SP2 and IIS5.1. I can get .html pages to run but not .asp ones. So far I have discovered in the Event Viewer under system it says

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 ?

Reply With Quote
  #15  
Old January 6th, 2005, 02:12 PM
redeye redeye is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 5 redeye User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Page cannot be displayed


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Th