Windows XP, IIS 5.1, ASP pages not loading | Newbie | | Join Date: Jul 2007
Posts: 13
| | |
I am running Windows XP SP2 with all the updates
I am running IIS 5.1 with all the updates
I configured IIS with all of these on and using virtual directory:
Script source access
Read
Write
Directory Browsing
Log visits
Index this resource
I have Execute Permissions to Scripts and Executable
I have Application Protection to Medium
I can display HTML pages in IE 6 but not ASP pages
I have researched the internet and have not found a solution. I appreciate some help.
|  | Moderator | | Join Date: Dec 2006
Posts: 4,745
| | | re: Windows XP, IIS 5.1, ASP pages not loading
What error do you get? Are you running them localhost? Are both files in the root directory?
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
I do not get any error message, I just have a blank page. I am running the pages at localhost.
The files are in a subdirectory under wwwroot and I have created a virtual directory.
Where do I find the log files for IIS so I can check there for any error message?
The first thing I am loading is:
<%@ LANGUAGE=VBscript %>
<HTML>
<HEAD>
<TITLE>Allied Insurance Company (MAIN000)</TITLE>
<base=_blank></base=_blank>
<LINK HREF="standard.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<body>
<FRAMESET ROWS="20%,70%,10%" BORDERCOLOR=BLUE>
<!-- Display Company Name & Address -->
<FRAME SRC="main001.asp" NAME=Top SCROLLING=NO MARGINHEIGHT=0 NORESIZE target="Top">
<!-- Display Main Menu HyperLinks -->
<FRAME SRC="main002.asp" NAME=Middle SCROLLING=NO MARGINHEIGHT=0 NORESIZE target="Middle">
<!-- Display Company e-Mail Information -->
<FRAME SRC="main003.asp" NAME=Bottom MARGINHEIGHT=0 target="Bottom">
</FRAMESET>
</body>
</HTML>
which is all HTML scripting in an ASP file. The other items loading are all HTML data.
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
This is what is in my log file:
#Fields: time c-ip cs-method cs-uri-stem sc-status
00:00:53 127.0.0.1 GET /cmps350/main000.asp 200
00:00:53 127.0.0.1 GET /cmps350/standard.css 404
00:01:04 127.0.0.1 GET /iisstart.asp 302
00:01:04 127.0.0.1 GET /localstart.asp 401
00:01:04 127.0.0.1 GET /localstart.asp 200
00:01:04 127.0.0.1 GET /warning.gif 403
00:01:04 127.0.0.1 GET /web.gif 403
00:01:04 127.0.0.1 GET /winXP.gif 403
00:01:04 127.0.0.1 GET /mmc.gif 403
00:01:04 127.0.0.1 GET /help.gif 403
00:01:04 127.0.0.1 GET /print.gif 403
00:01:17 127.0.0.1 GET /cmps350/standard.css 404
00:01:30 127.0.0.1 GET /cmps350/default.htm 200
00:01:30 127.0.0.1 GET /cmps350/main000.asp 200
00:01:30 127.0.0.1 GET /cmps350/standard.css 404
00:03:21 127.0.0.1 GET /Default.htm 403
00:03:36 127.0.0.1 GET /Default.htm 403
00:11:09 127.0.0.1 GET /cmps350/default.htm 200
00:11:09 127.0.0.1 GET /cmps350/db/main000.asp 404
00:11:25 127.0.0.1 GET /cmps350/Default.htm 200
00:11:25 127.0.0.1 GET /cmps350/db/main000.asp 404
00:12:07 127.0.0.1 GET /cmps350/Default.htm 200
00:12:07 127.0.0.1 GET /cmps350/main000.asp 200
00:12:07 127.0.0.1 GET /cmps350/standard.css 404
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
Okay, I fixed the standard.css file missing and this is what I get but still with nothing showing up on the web page screen - blank page:
#Fields: time c-ip cs-method cs-uri-stem sc-status
13:13:23 127.0.0.1 GET /cmps350/default.htm 200
13:13:23 127.0.0.1 GET /cmps350/main000.asp 200
13:13:23 127.0.0.1 GET /cmps350/standard.css 200
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
I am also running Norton Internet Security 2007. I tried turning this off with nothing happening so I do not think that is the problem.
|  | Moderator | | Join Date: Dec 2006
Posts: 4,745
| | | re: Windows XP, IIS 5.1, ASP pages not loading
I just noticed the difference in IIS versions you quote, in IIS 6 you have to allow asp pages in the web extensions in IIS. HTH.
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading Quote:
Originally Posted by kenobewan I just noticed the difference in IIS versions you quote, in IIS 6 you have to allow asp pages in the web extensions in IIS. HTH. WHere do you do that - setup to allow ASP pages? |  | Moderator | | Join Date: Dec 2006
Posts: 4,745
| | | re: Windows XP, IIS 5.1, ASP pages not loading
What .net framework versions do you have installed?
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
Okay, I found some code that used response.write statments and that works so ASP seems to be working. What I do not understand is that I have some code that is straight HTML code and that will not work I just get blank pages.
I am not using .NET framework so I do not know if that really matters, but in case it does I have the latest updates as that was loaded yesterdsay. I will have to look that up tomorrow as I am not on that system right now.
This code worked on W2000 IIS just fine and nothing has changed so I am not sure why the problems. I am trying to refresh my skills on web publishing for a job I am trying to get so I need this ASAP. Thanks for helping.
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
I have .Net versions: 1.1, 2.0, and 3.0 installed including relevant hotfixes. Since I have 3.0 should I remove 1.1 and 2.0?
| | Newbie | | Join Date: Jul 2007
Posts: 13
| | | re: Windows XP, IIS 5.1, ASP pages not loading
Okay, I changed all my beginning pages to HTML to see if it had anything to do with ASP extenstions and it did not. The HTML do not display and I do not get a message on the screen just a blank page. I checked the logs and I get:
#Fields: time c-ip cs-method cs-uri-stem sc-status
14:11:29 127.0.0.1 GET /cmps350/default.htm 200
14:11:29 127.0.0.1 GET /cmps350/Main000.htm 200
14:11:29 127.0.0.1 GET /cmps350/standard.css 200
SO this appears to be okay but not working. Any suggestions?
|  | Similar IIS / Microsoft Internet Information Services bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,223 network members.
|