...

View Full Version : ASP page is not execute



vivcode
08-29-2004, 07:54 PM
When I run an ASP page it prompts:
do you want to open or save file?
I select OPEN and it opens an ASP page's source code in an editor as opposed to execute that ASP page.

How do I fix that?

My computer could run ASP page; other ASP pages run fine.

BuddhaMan
08-30-2004, 01:47 AM
I have the same thing happen, but it only happens when I request a page set to stream Excel data. If the client machine has Excel installed, it works great...on a machine without Excel, it prompts to save the asp page itself.

What are you trying to accomplish on the ASP page in question and what is the mime type set to in your code?

NinjaTurtle
08-30-2004, 10:40 AM
This might be the incorrect path of the ASP file.
When u run an asp file, if the file path is "C:\Desktop\wwwroot\abc.asp"(This may happen when u try to copy a file to a new folder that is not in the wwwroot folder...) so just double check ur path or Form's URL in the particular ASP file or the previous file path.

miranda
08-31-2004, 08:50 PM
The obvious question is do you have either PWS or IIS installed on your computer? Without a webserver you will always get the source code when you try to view the page. Next question. If you do have IIS, is the file in the wwwroot directory in the inetpub directory? If so then type in the ip address of the machine instead of the file location. If the machine is NOT networked then type in http://192.168.1.1/someasp_page.asp

whammy
09-01-2004, 03:13 AM
I agree with Miranda... is IIS installed?

If so, instead of accessing it directly, have you tried using http://localhost/the_path_to_your_page ?

vivcode
09-01-2004, 04:26 AM
Thank you for all your responses. I forgot to install Excel and
that was the problem.

whammy
09-01-2004, 04:29 AM
I'm glad you resolved your problem! :D



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum