Windows 2003 Server ASP extensions not recognised

J

Jase

Hi,

I have two servers, both running windows 2003 and both containing the exact
same properties for IIS.

I have a set of asp intranet pages that are located inside the
c:\inetpub\wwwroot\test folder.

On one of the servers, the asp pages run fine, however on the second server
the asp files are not recognised as asp pages. If you double click them,
windows pops up a message box stating "Windows cannot open this file".

If I try to view an asp page via the browser, I get page not found.

I have IIS installed, and under Web Service Extensions I have allowed every
item that can be set.

Does anyone know why windows cannot make an association with the asp page?

Many thanks.
 
A

Anthony Jones

Jase said:
Hi,

I have two servers, both running windows 2003 and both containing the exact
same properties for IIS.

I have a set of asp intranet pages that are located inside the
c:\inetpub\wwwroot\test folder.

On one of the servers, the asp pages run fine, however on the second server
the asp files are not recognised as asp pages. If you double click them,
windows pops up a message box stating "Windows cannot open this file".

If I try to view an asp page via the browser, I get page not found.

I have IIS installed, and under Web Service Extensions I have allowed every
item that can be set.

Does anyone know why windows cannot make an association with the asp page?

Many thanks.

Well it looks like you've got two problems or perceived problems

First off IIS doesn't associate ASP files with anything. It doesn't come
with a tool designed to edit them and doesn't associate them with notepad
for you either.

So you can install an editor for ASP pages such as Visual Studio or simpy
tell windows explorer to associate them with notepad.

As far as your page not found problem. If you check the web sites home
directory and place a simple test asp file in that directory and navige to
that in the browser do you still get page not found?
 
J

Jase

Many thanks for the quick reply Anthony,

Im not too worried about the entension being associated with a particular
editor, that can come later, however I am a little concerned that the asp
pages that work on one windows 2003 box do not work on the other with
apparently the same properties set.

If I place a simple test asp page in the home directory and then click
browse in IIS, I get page cannot be found, and yet on the other server, the
page is displayed.

It's almost as if the web server extensions for Active Server Pages isn't
switched on, and yet I know it is.

Any further advice would be much appreciated.
 
N

nvanhaaster

First off I have a windows 2003 server running IIS 6.0 and running a
full ASP (not .Net) webserver.

I have found that you have to make sure that your Front Page Extensions
are up to date. Also when viewing the file in IE make sure you are
using the full webserver address. (ie. "http://<computer
name>/test.asp" you really don't have any problems.

If you are planning on using notepad.. I suggest NotePad2 (searchable
from google) this has preformatted text and also line #'s which are
VERY important when your pages are over 100 lines.. And crucial over
1,000 lines.

Let me know if this doesn't work?
 
J

Jase

Under control panel->add/remove programs->add/remove window components I have
put a tick against every tick under IIS, I believe this also includes
Frontpage extensions.

I have also tried opening the test.asp page by typing http://<computer
name>/test.asp but that didnt work either.

What I havent mentioned is that both servers have Small Business Server on
them, however, the one with the non-working pages doesnt have an internet
connection just yet (whereas the other does), could it be that something in
the Small Business Server still hasnt finished setting up or something needs
to be activated????!!?

Many thanks.
 
J

Jeff Cochran

Under control panel->add/remove programs->add/remove window components I have
put a tick against every tick under IIS, I believe this also includes
Frontpage extensions.

I have also tried opening the test.asp page by typing http://<computer
name>/test.asp but that didnt work either.

What I havent mentioned is that both servers have Small Business Server on
them, however, the one with the non-working pages doesnt have an internet
connection just yet (whereas the other does), could it be that something in
the Small Business Server still hasnt finished setting up or something needs
to be activated????!!?

Obvious question -- Did you allow ASP as a web extesion? FrontPage is
not required for ASP by the way.

Jeff
 
J

Jase

The problem has now been resolved. As mentioned, I was not too worried about
the asp extension type not being recognised, I got over this by installing
FrontPage, however this was the least of my concerns because the asp pages
still did not work.

I found testing a simple asp page in the c:\inetpub\wwwroot\<folder>
actually worked, but when I moved the test asp page into
c:\inetpub\wwwroot\<folder>\asp it did not work.

The answer was to open IIS, expand the server branches until default web
site and then right click->properties. Under the properties there is a
checkbox called "Enable Parent Paths", putting a tick in here resolved my
problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top