|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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
|
|
#2
|
||||
|
||||
|
Quote:
Anybody? Anybody? Bueller? Bueller? ![]() |
|
#3
|
|||
|
|||
|
Quote:
Great movie. Did you find the answer yet? Did you cjeck the box in IIS Management to allow Script Source Access for the Website? |
|
#4
|
|||
|
|||
|
I have the same problem.
ASP pages wont show up or just as "Could not be displayed". Quote:
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 |
|
#5
|
||||
|
||||
|
Quote:
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 |
|
#6
|
|||
|
|||
|
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 |
|
#7
|
||||
|
||||
|
Quote:
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" |
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
Yeah. At this point we have uninstalled IIS and are going to start again from scratch. I'll let you know what happens. |
|
#10
|
||||
|
||||
|
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" |
|
#11
|
||||
|
||||
|
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).
|
|
#12
|
||||
|
||||
|
congrats grdnwesl, glad u sorted it out
![]() |
|
#13
|
||||
|
||||
|
Quote:
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. |
|
#14
|
|||
|