ASP Off-line

They have: 31 posts

Joined: Dec 1999

Is there any way to test a .asp when I'm NOT online?

Coddy

They have: 334 posts

Joined: Dec 1999

Yes. You'll need to set-up some web server software on your machine. Run the server and preview your pages through the home machine server. That will parse the .asp tags just like the remote server so you can see the output before publishing. Many of us do the same thing for other server-side languages like Perl/CGI ePerl, PHP, SSI, etc. It's a heck of a lot easier than having to upload a file to test it.

Personally, I use Apache/PHP/ActivePerl/MySQL on my home machine for testing, but as that's Unix-based, I don't think that set-up will work for .asp pages.

Try visiting http://serverwatch.internet.com/

There are some freeware web server packages that can run on your home machine AND handle .asp, but the names escape me. Try searching for GoAhead (or something similar). I think that one might do it, but no guarantees.

They have: 5,633 posts

Joined: Jan 1970

The 'best' ASP server for Windows 95/98 is PWS (Microsoft Personal Web Server). It's easy to install, free to use, and not too complicated for "basic application testing".

PWS should be on your Windows CD-ROM. You can also download it from Microsoft.

------------------
Adam
AIS Internet Solutions
[email protected]
www.aisinternet.com

They have: 31 posts

Joined: Dec 1999

Adam,
I have PWS installed however, It doesn't seem to work when I'm off-line.
Can you give me any feedback on this please?

Thanx

Coddy

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Don't want to offend, but are you sure it's installed correctly? Is it within the path? What sort of psw error messages, if any, are you getting?

Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

They have: 3 posts

Joined: Mar 2000

have you pws extensions properly installed.
If using windows, need to do some work on hosts.sam file in system folder.

They have: 231 posts

Joined: Feb 2000

PWS should work fine if you installed it without getting any errors. I have no idea what the last post about file extensions means - you shouldnt have to mess around with anything.

If you didnt know already, you cant just double click an ASP file and have it appear in a browser, you must link to them from somewhere within your root.

It would help if you explained to us exactly how you are attempting to view an ASP page.

:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::

They have: 103 posts

Joined: Apr 1999

Coddy, I use PWS all the time when I'm developing ASP applications. Make sure that you use http://127.0.0.1 as the URL for your machine.

------------------
Gil Hildebrand, Jr.
Senior Web Developer, 4atcost.com

Gil Hildebrand, Jr.
Internet Consultant
New Orleans, LA

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.