|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows 2003 Server ASP extensions not recognised
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.
Show quote
"Jase" <J***@discussions.microsoft.com> wrote in message Well it looks like you've got two problems or perceived problemsnews:177EFF25-4ECA-44EA-BCE8-808E2C79881E@microsoft.com... > 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. 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? 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. Show quote "Anthony Jones" wrote: > > "Jase" <J***@discussions.microsoft.com> wrote in message > news:177EFF25-4ECA-44EA-BCE8-808E2C79881E@microsoft.com... > > 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? > > > > > 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? 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. Show quote "nvanhaas***@caitele.com" wrote: > 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? > > On Fri, 28 Apr 2006 15:56:01 -0700, Jase
<J***@discussions.microsoft.com> wrote: >Under control panel->add/remove programs->add/remove window components I have Obvious question -- Did you allow ASP as a web extesion? FrontPage is>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????!!? not required for ASP by the way. Jeff 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. Show quote "Jeff Cochran" wrote: > On Fri, 28 Apr 2006 15:56:01 -0700, Jase > <J***@discussions.microsoft.com> wrote: > > >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 > |
|||||||||||||||||||||||