Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp saves instead of loading

Status
Not open for further replies.

AntiEarnie

Technical User
May 2, 2002
215
US
Hi all. I am hoping somone may have seen this before. I am trying to get asp to work on a training server. The problem is that when select an asp file I get the file download window. I just can't get them to run anymore.

win2k server, Default web site under IIS is running, tried running several asp's from different areas including /inetpub/
Does anyone have an idea for somthing I can try?
 
you cannot just click on an ASP file and expect it to open in your browser - you need to enter the URL for the ASP file in your browser window. This mustn't be a normal path ie (c:\inetpub\ it must be a valid URL like ( Tony
reddot.gif WIDTH=400 HEIGHT=2 VSPACE=3

 
If you are doing the above as directed then you want to check the extensions configuration of your web server. By default all unrecognised extensions .asp, .zip, .mp3, and so on would be downloadable instead of being displayed by the browser.

One other consideration, though may be a dumb one, which makes it a great one for catching us out is ensure you are using a server that has the ASP Parser installed, if this is Microsift's IIS, then ensure the ASP extension is enabled. If it's an Apache Webserver then make sure you have a suitable ASP Clone installed like Sun ONE Active Server Pages (ASP), (formerly Sun Chili!Soft ASP).

Hope this helps
 
Found the problem a couple weeks ago. IIS was indeed setup correctly. However a previous install of oracle had put Apache also on the machine. By some strange fluke Apache was overriding IIS and taking control. After removing Apache .asp pages started working ok.
 
The reason this was occurring was that Apache was winning the draw at startup. Since you had two web servers they were probably both trying to bind to port 80. Sionce Apache was getting there first, IIS was not listening to port 80. Apache didn't know it was supposed to do anything special with the .asp pages so it just supplied them for download. A way to solve this if you wanted both running would be to set one to run on another port (such as 8080) or set up a redirect in IIS to send any requests for files in specific folders to Apache for processing.
-Tarwn ------------ My Little Dictionary ---------
Reverse Engineering - The expensive solution to not paying for proper documentation
 
It had me a bit confused there at first when I couldn't get port 80 for my default web site. I didn't have much luck when I was trying to specify at the url what port I wanted. Probably just been too long and forgot the syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top