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 7th, 2006, 10:34 AM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
ASP pages not working on IIS 6

We have an intranet application written in ASP which we need to migrate to a new server which will be running IIS 6 from a box running IIS 5. We have moved all the files, set up the site in IIS enabled ASP in WEb server extensions, but still get "Page can not be displayed" Help! Please!
__________________
GardenWeasel... Does all the work of 10 men and 1 small boy

"To know that even one life has breathed easier because you have lived.....
This is to have succeeded"
R. W. Emerson

Reply With Quote
  #2  
Old September 7th, 2006, 02:47 PM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
Quote:
Originally Posted by grdnwesl
We have an intranet application written in ASP which we need to migrate to a new server which will be running IIS 6 from a box running IIS 5. We have moved all the files, set up the site in IIS enabled ASP in WEb server extensions, but still get "Page can not be displayed" Help! Please!


Anybody? Anybody? Bueller? Bueller?

Reply With Quote
  #3  
Old September 7th, 2006, 07:31 PM
FishingDude FishingDude is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 FishingDude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 39 sec
Reputation Power: 0
Quote:
Originally Posted by grdnwesl
Anybody? Anybody? Bueller? Bueller?


Great movie. Did you find the answer yet? Did you cjeck the box in IIS Management to allow Script Source Access for the Website?

Reply With Quote
  #4  
Old September 8th, 2006, 06:46 AM
minirich minirich is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Posts: 2 minirich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 59 sec
Reputation Power: 0
I have the same problem.
ASP pages wont show up or just as "Could not be displayed".
Quote:
Originally Posted by FishingDude
Great movie. Did you find the answer yet? Did you cjeck the box in IIS Management to allow Script Source Access for the Website?

This i tried also and i've gone so far to allow write access to the directory. Nothing

My desperation is slowly growing to a level i cant bear.

mike aka minirich

Reply With Quote
  #5  
Old September 8th, 2006, 01:43 PM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
Quote:
Originally Posted by FishingDude
Great movie. Did you find the answer yet? Did you cjeck the box in IIS Management to allow Script Source Access for the Website?


Yeah, I can get ASP.NET pages to work. It just won't wotk with ASP I just get page cannot be displayed.

I'm yanking my hair out! (What little is left anyway). If you think of anything else please let me know. Otherwise I am going to have to convert our entire Intranet to ASP.NET

Reply With Quote
  #6  
Old September 9th, 2006, 01:09 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 29 m 58 sec
Reputation Power: 181
At the risk of being repetitive, did you enable asp in the IIS manager? Unlike previous versions of IIS, you have to explicitly enable asp processing.

Beyond that, you haven't posted any information about what "won't work" means. If you're getting error messages post them.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #7  
Old September 11th, 2006, 08:31 AM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
Quote:
Originally Posted by Doug G
At the risk of being repetitive, did you enable asp in the IIS manager? Unlike previous versions of IIS, you have to explicitly enable asp processing.

Beyond that, you haven't posted any information about what "won't work" means. If you're getting error messages post them.


In answer to your first question... Yes ASP has been anabled.

In answer to your second question... "Page canno be displayed" and "Page or directory cannot be found"

Reply With Quote
  #8  
Old September 11th, 2006, 08:48 AM
micky's Avatar
micky micky is offline
Couch Potato Wizard
Click here for more information. Click here for more information
 
Join Date: Jan 2005
Location: India
Posts: 11,047 micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 1480 Folding Title: Novice Folder
Time spent in forums: 4 Months 1 Week 1 Day 18 h 10 m 35 sec
Reputation Power: 1787
Quote:
Originally Posted by grdnwesl
In answer to your second question... "Page canno be displayed" and "Page or directory cannot be found"
Have u unchecked "Show friendly HTTP error messages" option??
__________________
Laziness is my religion and Sunday is my God

Get the Mantra!

Reply With Quote
  #9  
Old September 11th, 2006, 09:07 AM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
Quote:
Originally Posted by micky
Have u unchecked "Show friendly HTTP error messages" option??


Yeah. At this point we have uninstalled IIS and are going to start again from scratch. I'll let you know what happens.

Reply With Quote
  #10  
Old September 12th, 2006, 11:07 AM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
OK. I finally got it to work!
I deleted the site from IIS and recreated it. The only thing I can see that I did differently was make the site name all lowercase. I don't know why that would have fixed it, but it did.

I am finding however that IIS 6 doesn't like includes in the format
Code:
<% include file="../folder/filename.inc" %>


but I can modify those fairly easily.

Gotta love the Microsoft Backward compatability philosophy:
"We make it compatable all the way back to just AFTER you installed the upgrade"

Reply With Quote
  #11  
Old September 12th, 2006, 06:20 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,166 markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 21 h 31 m 35 sec
Reputation Power: 238
ASP pages not working on IIS 6

with include files in IIS 6 by default include file code is disabled e.g. <!--#include file ="filename"-->

but you can set the web server to use them. open the IIS MMC click on web site to expand list right click Default Web Site and select properties then click on the Home Directory tab click on the Configuration button select the options tab and tick Enable parent paths then click OK and OK

IIS 6 uses virtual includes which is a better way to have. to us virtual include code e.g. <!--#include virtual="filename"-->

but remember with virtual includes the path is from the root of the web server
__________________
Hope this advise helps.

If so please show your appreciation by adding reputation points (click gauge image on top right of this post and score).

Reply With Quote
  #12  
Old September 13th, 2006, 02:28 AM
micky's Avatar
micky micky is offline
Couch Potato Wizard
Click here for more information. Click here for more information
 
Join Date: Jan 2005
Location: India
Posts: 11,047 micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)micky User rank is General 12nd Grade (Above 100000 Reputation Level)  Folding Points: 1480 Folding Title: Novice Folder
Time spent in forums: 4 Months 1 Week 1 Day 18 h 10 m 35 sec
Reputation Power: 1787
congrats grdnwesl, glad u sorted it out

Reply With Quote
  #13  
Old September 14th, 2006, 08:52 AM
grdnwesl's Avatar
grdnwesl grdnwesl is offline
Fuzzy but Ferocious User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: The Restaurant at the end of the Universe
Posts: 222 grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level)grdnwesl User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 18 h 54 m 35 sec
Reputation Power: 13
Quote:
Originally Posted by markoc
with include files in IIS 6 by default include file code is disabled e.g. <!--#include file ="filename"-->

but you can set the web server to use them. open the IIS MMC click on web site to expand list right click Default Web Site and select properties then click on the Home Directory tab click on the Configuration button select the options tab and tick Enable parent paths then click OK and OK

IIS 6 uses virtual includes which is a better way to have. to us virtual include code e.g. <!--#include virtual="filename"-->

but remember with virtual includes the path is from the root of the web server


Thanks Mate, you saved my life! I thought I was going to have to go in and change all of the include file links! Tried to rep ya but kept getting an invalid link message.

Reply With Quote
  #14  
Old September 14th, 2006, 03:08 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)