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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why aren't my ASP pages not running in PWS! 2

Status
Not open for further replies.

JennyPeters

Programmer
Oct 29, 2001
228
US
I just recently loaded in PWS, last night at 4:30am to be exact, and when I try to run any ASP pages, I keep getting the 'Open From Current Location or Save to Disk' pop up box. The ASP pages just won't run.

Is there a reason for this?

Thanks,

Jenny
 
Yes, my file is in inetpub/ folder. It's a simple file that looks like this:

<%@ Language=VBScript %>
<html>

<body>
The Current Time is
<% Response.Write Time() %>
</body>

</html>

Called &quot;CurrentTime.asp&quot;

If I try to double click it in the folder, my system loads up Adobe GoLive to view it. When I go to the browser view, IE, I just get:
The Current Time is

If I view the source code, I get the same as above. No parsing to a regular HTML page.

Any ideas?

Jenny
 
Jenny -

You have to set the application permissions of the directory to &quot;Execute&quot; so that the asp scripts can run.

Open up the Personal Web Manager, click on the &quot;Advanced&quot; tab, then select the &quot;Home&quot; directory and click the &quot;Edit Properties&quot; button.

Select the &quot;Execute&quot; option of the &quot;Application Permission&quot; section.

Your asp pages should run perfectly now =^)

You have to do this for each subdirectory that contains scripts (asp, js, or vbs...)


Jason


Also, the code I use to display the time is:
Code:
<%@ Language=VBScript %>
<html>

    <body>
        The Current Time is
        <%= Time() %>
    </body>

</html>
 
Still hasn't worked even after I did the following:

Open up the Personal Web Manager, click on the &quot;Advanced&quot; tab, then select the &quot;Home&quot; directory and click the &quot;Edit Properties&quot; button.

Select the &quot;Execute&quot; option of the &quot;Application Permission&quot; section.

I am running SQLSever7.0. Is causing a problem?

Thanks,

Jenny


 
Are you accessing the page via http:// protocol such as:


??
penny.gif
penny.gif
 
yes, ASP is a server based technology, accessing it via http:// tells your PWS to &quot;serve&quot; the page, or process it.
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top