473,395 Members | 2,010 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,395 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 3037

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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.