473,324 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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 3033

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: hera | last post by:
I am new at php and MySQL and have some (ugly, I'm sure) code to populate form select fields with data from a MySQL database, so a user can use those to sort/filter and view the 3,000 records. No...
3
by: Mart Rogers | last post by:
We have a situation where we have decided (in an attempt to keep things simple) to stick to local assemblies rather than global ones. However we now have the following situation looming AssyA ...
1
by: Tony George | last post by:
Hi, I'm having a problem using the Copy module on a ClearCase view that's been set as "readonly" (i.e. ct chview -readonly <view tag>). I want to copy a file out of this view and put it in...
1
by: John | last post by:
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...
3
by: Indiresh | last post by:
Hi all, I have a problem downloading web pages to my local system. I am using the HttpebRequest class to query a web site and get the response from the same. UndNow, when i asy a web page, all...
3
by: RLN | last post by:
(New to SQL Server Installs) I installed SQL Server 2005 Developer Edition on a WinXP-SP2 workstation and can see some enterprise databases on the network just fine. My problem is I cannot...
1
by: Troels Arvin | last post by:
Hello, publib.boulder.ibm.com has been rather unstable lately, so I figured I should install a local copy of the documentation web pages. I grabbed the Windows-version of the offline version...
7
by: pauldepstein | last post by:
#include <iostream> using namespace std; double & GetWeeklyHours() { double h = 46.50; double &hours = h; return hours; }...
1
by: ll | last post by:
Hi, I have copied a MS SQL database to my local machine and am testing it with ASP pages, locally, on IIS. I have a db connect page that keeps the current connections for the live database. My...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.