IIS 5 & IIS 6
Localhost error The include file '/include/inc_pageheader.asp' was no...
Last post Mar 28, 2013 03:41 PM by Johnny_Lee
Mar 27, 2013 04:23 PM|Johnny_Lee|LINK
I’m running Windows 2000 Advance Server with IIS5 using Classic ASP. Setting up a newer replacement server, have loaded web application, looking to view web app on localhost, prior to replacing older hosted server. When I call http://localhost/web_app on
the replacement or live server I receive Error Type: Active Server Pages, ASP 0126 (0x80004005) The include file '/include/inc_pageheader.asp' was not found. The web_app works fine remotely via internet.
The web app and files are listed in IIS5 under Default Web Site and separately listed below the Default Web Site as well. Right clicking on the web_app in the Default Web Site and then viewing the Virtual Directory tab it shows
the Local Path pointed to the F: directory where the web_app files are located. I have tried removing the forward slash in front of include, no dice. The web_app errors out on <!-- #include virtual="/include/inc_pageheader.asp" --> when using Localhost. In
searching and reading I’ve yet to come up with the resolve. Any suggestions would be greatly appreciated, thanks in advance.
Mar 28, 2013 09:37 AM|peterviola|LINK
Based on the error it sounds like the path you've specified does not exist. If your files are in /web_app then you'll need to specify "/web_app/include/inc_pageheader.asp" in the include statement.
Mar 28, 2013 03:41 PM|Johnny_Lee|LINK
@Peterviola, based on the error it sounds like the path you've specified does not exist. I’m going with you’re correct. On the newer replacement server I right clicked on Default Web Site, reset the Local Path in the Virtual Directory tab and while it did
not bring up the localhost website using http://localhost it did take me to a new error that comes from within the '/include/inc_pageheader.asp'. Which is now a different issue that this thread, that says SQL Server does not exist or access is denied. Thanks
and I’ll start looking into resolving the next error.