469,336 Members | 5,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,336 developers. It's quick & easy.

How do I set my local copy of IIS so that I can view my ASP pages?

One of the things I've never figured out is how to view an ASP page on
my own computer.

I always have to upload it to the server, then view the page over the
Internet.

I assume there's a way to do this, and hopefully, I won't feel as much
of an idiot as I did earlier today when I found out how easy one of my
questions was. (I did some experimenting a month or so ago, but nothing
worked, then I dropped worrying about it since I could work-it-around.)

John
www.MAZES.com
www.MessageMazes.com
www.GodLovesEveryone.org
etcetera

*** Sent via Developersdex http://www.developersdex.com ***
Jan 13 '06 #1
5 2875

John wrote:
One of the things I've never figured out is how to view an ASP page on
my own computer.

I always have to upload it to the server, then view the page over the
Internet.

I assume there's a way to do this, and hopefully, I won't feel as much
of an idiot as I did earlier today when I found out how easy one of my
questions was. (I did some experimenting a month or so ago, but nothing
worked, then I dropped worrying about it since I could work-it-around.)

John


http://www.webwizguide.com/asp/tutor..._winXP_pro.asp

/P.

Jan 13 '06 #2
> > One of the things I've never figured out is how to view an ASP page on
http://www.webwizguide.com/asp/tutor..._winXP_pro.asp


Thanks, Paxton, that got me started.

Now, I can go to "http://localhost/amazing.asp" but I get this error:

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/amazing.asp, line 149

I checked, and line 149 is trying to open a file in a subdirectory.
Here's the line:

set f=fs.OpenTextFile(Server.MapPath(zfil),8,true)

and zfil was previously defined:
zfil="host-IPs/amaz"&right(year4,2)&month2&".txt"

I have created "host-IPs" as a subdirectory under the one in which
amazing.asp resides.

Any idea what I'm doing wrong?

John

Jan 14 '06 #3
(I forgot to add:)

This page works properly on the Internet.
It's just not working here on my computer.
One of the things I've never figured out is how to view an ASP page on
http://www.webwizguide.com/asp/tutor..._winXP_pro.asp


Thanks, Paxton, that got me started.

Now, I can go to "http://localhost/amazing.asp" but I get this error:

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/amazing.asp, line 149

I checked, and line 149 is trying to open a file in a subdirectory.
Here's the line:

set f=fs.OpenTextFile(Server.MapPath(zfil),8,true)

and zfil was previously defined:
zfil="host-IPs/amaz"&right(year4,2)&month2&".txt"

I have created "host-IPs" as a subdirectory under the one in which
amazing.asp resides.

Any idea what I'm doing wrong?

This page works properly on the Internet.
http://mazes.com/asp-maze/amazing.asp

It's just not working here on my computer.

John

Jan 14 '06 #4
www.MessageMazes.com wrote:
One of the things I've never figured out is how to view an ASP page
on

http://www.webwizguide.com/asp/tutor..._winXP_pro.asp


Thanks, Paxton, that got me started.

Now, I can go to "http://localhost/amazing.asp" but I get this error:

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/amazing.asp, line 149


http://www.aspfaq.com/search.asp?q=8...Days=0&order=1
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jan 15 '06 #5
Thanks, Bob,

I tried some of the things you suggested at
http://www.aspfaq.com/search.asp?q=8...Days=0&order=1
that seemed to apply to my situation, but the stuff I tried didn't
work.

HOWEVER ... I'm no longer in need of the solution, as I've developed a
work around. I set up a test category so that I can do a test with
"cat=test" and it will merely skip those statements.

If you're curious, the whole system is on a self-contained IBM Thinkpad
laptop, no network, no externals, if that made any difference to the
second question, but as I said, I no longer need that answer, as I've
written and tested the workaround. (Wish I'd thought of it days ago.)

Many thanks to all for answering my original question ... I am now able
to view ASP pages locally, as long as they don't use subdirectories,
and I am 111.1% satisfied with this group. (how do I put a bar over the
decimal??? <grin>)

John

Jan 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tony George | last post: by
1 post views Thread by Troels Arvin | last post: by
7 posts views Thread by pauldepstein | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.