473,839 Members | 1,318 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

basic questions, can't browse Inetpub\wwwroot , can't dbl-click aspfile to open it

I just installed ASP after a couple of years of not using it, PWS Win 98 SE.

A couple of things are throwing me, and I can't remember whether these
worked in the past.

One is I can't double-click on an .asp file in my file explorer and have
it load in IE6. IE shows the page in the address bar, e.g.

C:\Inetpub\wwwr oot\myweb\math. asp

but doesn't execute it. If I type it into the addressbar manually like
this, it executes fine:

http://localhost/myweb/math.asp

Also if I try to open a file from IE, selecting an .asp file ends up
displaying it in the address bar like this, and it doesn't execute:

C:\Inetpub\wwwr oot\myweb\colle ctinfo.asp

And if I type this into the address bar of the browser, I don't see any
files or folders, just a blank page, even though I have checked the
checkboxes for Read, Access, Scripts in the Advanced section of my PWS
manager.

Any suggestions would be appreciated,
Mike

Jul 19 '05 #1
6 4099
> C:\Inetpub\wwwr oot\myweb\math. asp

but doesn't execute it. If I type it into the addressbar manually like
this, it executes fine:

http://localhost/myweb/math.asp


Yes, note the difference. C:\ only opens the file; calling it via http://
is the only way to have the web server parse and execute the ASP code (C:\
doesn't involve a web server).

If you want ASP code to execute, you *MUST* call it via http://

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 19 '05 #2
Aaron [SQL Server MVP] wrote:
C:\Inetpub\ww wroot\myweb\mat h.asp

but doesn't execute it. If I type it into the addressbar manually like
this, it executes fine:

http://localhost/myweb/math.asp


Yes, note the difference. C:\ only opens the file; calling it via http://
is the only way to have the web server parse and execute the ASP code (C:\
doesn't involve a web server).

If you want ASP code to execute, you *MUST* call it via http://


Yes, I was hoping I could just double-click on the file and IE would run
the script in it, but no go. I'm surprised there's not a registry
setting I can use to make this happen. Are there any fixes/workarounds
that you know of?

Thanks,
Mike

Jul 19 '05 #3
> Yes, I was hoping I could just double-click on the file and IE would run
the script in it, but no go. I'm surprised there's not a registry setting
I can use to make this happen. Are there any fixes/workarounds that you
know of?


YES! Open the browser, and type http://yourserver/yourfile.asp

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 19 '05 #4
There is nothing to workaround. The behaviour is correct and easily
understood.

You might like a feature in the configuration for IIS though. Open
Administrative Tools > Internet Information Services. Navigate to the ASP
file you want. Right-click and choose Browse. Of course you could have just
typed the URL.

Paul

"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:ub******** ******@TK2MSFTN GP10.phx.gbl...
Yes, I was hoping I could just double-click on the file and IE would run
the script in it, but no go. I'm surprised there's not a registry setting I can use to make this happen. Are there any fixes/workarounds that you
know of?


YES! Open the browser, and type http://yourserver/yourfile.asp

--
http://www.aspfaq.com/
(Reverse address to reply.)

Jul 19 '05 #5
Paul Baker [MVP, Windows - SDK] wrote:
There is nothing to workaround. The behaviour is correct and easily
understood.

You might like a feature in the configuration for IIS though. Open
Administrative Tools > Internet Information Services. Navigate to the ASP
file you want. Right-click and choose Browse. Of course you could have just
typed the URL.

Paul

"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:ub******** ******@TK2MSFTN GP10.phx.gbl...
Yes, I was hoping I could just double-click on the file and IE would run
the script in it, but no go. I'm surprised there's not a registry
setting
I can use to make this happen. Are there any fixes/workarounds that you
know of?


YES! Open the browser, and type http://yourserver/yourfile.asp


Hi Paul,

I'm wondering why I can browse some of my asp folders but not all, maybe
you can straighten this out for me. I made a virtual directory where I
keep asp files and project folders:

http://localhost/myweb/ (C:\Inetpub\www root\myweb)

I made a link to http://localhost/myweb/ in my browser (it shows in the
address bar correctly), and when I go to the folder using the link I
don't see any of the 173 files that reside there. If I type in a
sub-folder name, e.g.

http://localhost/myweb/dir

I can see and double-click on the files in the folder dir, their script
is executed, and I can browse any subfolders of the folder I typed in.
So I'm wondering why I can browse all of my subfolders but not my top
level virtual folder.

Web Sharing includes the folder /myweb for sharing, and it has Read,
Execute, and Scripts permissions. And in PWS 'Allow Directory Browsing'
is checked.

Thanks,
Mike



Jul 19 '05 #6
There is a setting in IIS called "Allow directory browsing"...

--
http://www.aspfaq.com/
(Reverse address to reply.)


"mscir" <ms***@fake.zzz > wrote in message
news:10******** *****@corp.supe rnews.com...
Paul Baker [MVP, Windows - SDK] wrote:
There is nothing to workaround. The behaviour is correct and easily
understood.

You might like a feature in the configuration for IIS though. Open
Administrative Tools > Internet Information Services. Navigate to the ASP file you want. Right-click and choose Browse. Of course you could have just typed the URL.

Paul

"Aaron [SQL Server MVP]" <te*****@dnartr eb.noraa> wrote in message
news:ub******** ******@TK2MSFTN GP10.phx.gbl...
Yes, I was hoping I could just double-click on the file and IE would runthe script in it, but no go. I'm surprised there's not a registry


setting
I can use to make this happen. Are there any fixes/workarounds that you
know of?

YES! Open the browser, and type http://yourserver/yourfile.asp


Hi Paul,

I'm wondering why I can browse some of my asp folders but not all, maybe
you can straighten this out for me. I made a virtual directory where I
keep asp files and project folders:

http://localhost/myweb/ (C:\Inetpub\www root\myweb)

I made a link to http://localhost/myweb/ in my browser (it shows in the
address bar correctly), and when I go to the folder using the link I
don't see any of the 173 files that reside there. If I type in a
sub-folder name, e.g.

http://localhost/myweb/dir

I can see and double-click on the files in the folder dir, their script
is executed, and I can browse any subfolders of the folder I typed in.
So I'm wondering why I can browse all of my subfolders but not my top
level virtual folder.

Web Sharing includes the folder /myweb for sharing, and it has Read,
Execute, and Scripts permissions. And in PWS 'Allow Directory Browsing'
is checked.

Thanks,
Mike



Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5190
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all the SQL-related newsgroups seem to be product related. But if I missed something, and someone can steer me to a correct newsgroup, please do so. My specific questions: 1. I want to put comments in an SQL script. For example, I want
5
1438
by: Ron Brennan | last post by:
Good morning. I would like to allow a user to browse his local directories, choose an image (probably .jpeg) file, and upload it to the server (a servlet). The same functionality that online datiing agencies use to let people save their photograph with their profiles. (My application is an online Want Ads.) I feel that this must be possible within a minimal client (without a JVM) using nothing more than JavaScript, but I'll be damned...
4
2236
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time process? 2. What information contained in sn key. I gone through that it is having public key. How it is using this key to intract with client. 3. When we have to run gacutil.exe file. Whenever we
3
1696
by: Jim H | last post by:
If there is a site someone can point me to that answers such basic questions, rather than taking up support's time posting answers, please let me know. I've developed C# .NET, unmanaged C++, and MFC applications. I have not written any C++.NET apps yet and have some very basic questions. Are managed C++ programs fully independent executables or are they still processed at run time like C# and vb.net apps are? Is the finished product...
2
2981
by: Fay Yocum | last post by:
BEWARE beginner questions!! I have some experience in Access but never as much as I want or need. I have decided to get in on VB.Net. I would only rate myself in Access as a Beginner/Intermediate VBA programmer. I have decided to go at learning VB.Net in a more organized manner. I have some questions where answers are not becoming clear with VB.Net. So here goes. 1 All of the books I have accessed do basic one-two form examples...
13
3046
by: usenet | last post by:
How and where can one find out about the basics of VB/Access2003 syntax? I am a died in the wool C/C++/Java Linux/Unix programmer and I am finding it difficult to understand the program format for accessing objects, controls, etc. in VB/Access2003. In particular where will I find explanations of:- Actions, Functions, Methods, Properties - I'm understand the
6
9252
by: Gordowey | last post by:
Where can I find this DIV effect. go to: http://www.amazon.com Put mouse over the text "See All 32 Product Categories" (Top-Middle)..it will open a window with a cool effect... does anyone know where to find a script with this effect.... thanks
0
541
by: software2006 | last post by:
ASP And Visual Basic Interview questions and answers I have listed over 100 ASP and Visual Basic interview questions and answers in my website http://www.geocities.com/myinterviewquestions/ASPAndVisualBasic.htm So please have a look and make use of it.
21
3874
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc. Each flavor will also have one or more standalone executables that can be called as tools from within the main program.
0
16033
by: =?Utf-8?B?S29uc3RhbnRpbg==?= | last post by:
I am currently working on the application that need to simulate basic authentication programmatically using user's credentials that are known. Basically, the need is for a single sign on with a third party application. The scenario is the following: a third party application (iChain I believe, from Novell) is used to authenticate the user against Novell eDirectory. Once authentication is complete a user is taken to a portal from which they...
0
9855
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9697
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10908
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10587
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10649
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10295
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7829
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.