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

How do I run my ASP scripts 1

Status
Not open for further replies.

smash81

Programmer
Mar 12, 2001
88
KE
I have had a problem running my ASP code.I am using PWS and whenever i write my code, there is no output.What could be the reason
 
A little more detail would be better, but basically, if you have pws running, then you have to go in there and "share" the directory that the scripts are running in and give them a virtual name.

Then, if your computer name was 'myComputer', the virtual name you gave your directory was 'myDirectory', and the page you wrote was called 'myPage.asp', then you would open up your browser and type in


Assuming there are no errors in the script, then it will run fine.

hope it helps!:)
Paul Prewett
 

If it's not your PWS, could you paste your code here so we can see it? Tony
:)
 
I think this is a common problem with PWS people. ASP must be run through a server to get output. If you just double-click on a page (like with HTML pages), you will see the code, not the output.

With PWS running, open it's control page (usually by clicking on the PWS icon). It will tell you what your temporary server name is. You need to put your page in the directory PWS uses as it's server. Usually this is c:\inetpub\
You can add more directories in there. Anyway, my server at home is "user" and I store files in the "asp" directory so, the path to process an asp page using PWS would be:


but the physical path is:

c:\inetpub\
And so on. You would put the server path in a browser address box to process the page.

Hope that clarifies something. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
In case you don't understand what hblackorby just said, you can also type
yourpage.asp which is the address to your root.

Tony
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top