473,770 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why won't a .asp work in a sub folder of c:\inetpub\wwwr oot

Complete newbie here.

Just sorted out that myASP.asp will ONLY execute on
c:\inetput\wwwr oot

when I access it thru http://localhost/myASP.asp

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwr oot
like c:\inetpub\wwwr oot\myfldr
and use http://localhost/myfldr/myASP.asp

I just get the standard:

The page cannot be found

any hint about the folder structure would be appreciated.

Any hyperlink to a document discussing the localhost
directory structure in this context would be greately appreciated.

Thanks all,
baz
Jul 19 '05 #1
4 2696
I use sub-folders and don't have any problems whatsoever.

Have you checked the file/folder permissions, and whether or not your
allowing scripts/executables etc etc, for the whole server, rather than just
the root?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Barry G. Sumpter <su*****@bigpon d.net.au> wrote in message
news:OQ******** ******@TK2MSFTN GP11.phx.gbl...
Complete newbie here.

Just sorted out that myASP.asp will ONLY execute on
c:\inetput\wwwr oot

when I access it thru http://localhost/myASP.asp

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwr oot
like c:\inetpub\wwwr oot\myfldr
and use http://localhost/myfldr/myASP.asp

I just get the standard:

The page cannot be found

any hint about the folder structure would be appreciated.

Any hyperlink to a document discussing the localhost
directory structure in this context would be greately appreciated.

Thanks all,
baz

Jul 19 '05 #2
hi there!
try to share this folder in web sharing option when you right click a folder
or inside iis or pws.
bye

--

Sem mais,

««««««««»»»»»»» »»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
"Barry G. Sumpter" <su*****@bigpon d.net.au> escreveu na mensagem
news:OQ******** ******@TK2MSFTN GP11.phx.gbl...
Complete newbie here.

Just sorted out that myASP.asp will ONLY execute on
c:\inetput\wwwr oot

when I access it thru http://localhost/myASP.asp

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwr oot
like c:\inetpub\wwwr oot\myfldr
and use http://localhost/myfldr/myASP.asp

I just get the standard:

The page cannot be found

any hint about the folder structure would be appreciated.

Any hyperlink to a document discussing the localhost
directory structure in this context would be greately appreciated.

Thanks all,
baz

Jul 19 '05 #3
On Thu, 12 Feb 2004 18:01:39 +1100, "Barry G. Sumpter"
<su*****@bigpon d.net.au> wrote:
Complete newbie here.

Just sorted out that myASP.asp will ONLY execute on
c:\inetput\www root

when I access it thru http://localhost/myASP.asp

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwr oot
like c:\inetpub\wwwr oot\myfldr
and use http://localhost/myfldr/myASP.asp

I just get the standard:

The page cannot be found
Is the folder set for script access in the IIS managment console?
any hint about the folder structure would be appreciated.
There is nothing special about the folder structure.
Any hyperlink to a document discussing the localhost
directory structure in this context would be greately appreciated.


Unlike Apache, there is no predefined structure for the web content.

Also, post the *full* error and any relevant event log entries.

Jeff
Jul 19 '05 #4
Thanks for the reply gentlemen.

I spent 16 hours on this yeasterday.

I did share as your suggestion using Windows Explorer and using Personal Web
Manager (not Personal Web Server).

The standard htm script always executed.

But the simple ASP code wouldn't execute.

-----

I'm not happy at all with the results.

I've removed IIS from my computer and don't intend to return for another
year.

Too much convoluted construction ...

-----

Thanks for all those who offered help.

All the best,
Barry G. Sumpter


"Barry G. Sumpter" <su*****@bigpon d.net.au> wrote in message
news:OQ******** ********@TK2MSF TNGP11.phx.gbl. ..
Complete newbie here.

Just sorted out that myASP.asp will ONLY execute on
c:\inetput\wwwr oot

when I access it thru http://localhost/myASP.asp

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwr oot
like c:\inetpub\wwwr oot\myfldr
and use http://localhost/myfldr/myASP.asp

I just get the standard:

The page cannot be found

any hint about the folder structure would be appreciated.

Any hyperlink to a document discussing the localhost
directory structure in this context would be greately appreciated.

Thanks all,
baz

Jul 19 '05 #5

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

Similar topics

5
2191
by: Pjotr Wedersteers | last post by:
I have Apache 2.0.50 and PHP5 on a Xp test machine (not going live) I also have installed MySQL 4.0.20 Modiefied php.ini, changed the extensions_dir to 10 different things in a row, none helped. copied all the dlls all over the place, no dice. Uncommented the extension = php_mysql.dll and got an error starting apache. Commented it out again, no error ,but still the undefined function mysql_connect in PHP
4
466
by: Vince | last post by:
I'm getting this message when I try and run a .net web app in the development system: CS0016: Could not write to output file 'c#:\windows nt\Microsoft..net framework\v1.1.4322\Temporary ASP.NET Files\ssrpttest\44d149b5\fdee4a07\c22wlbzl.dll' -- 'Access is denied. ' I just upgraded to visual studio .net 2003 and now none of my applications wil work!
2
6853
by: Keith Smith | last post by:
I have noticed that when I uninstall my app it doesn't delete the Program Files / MyApp folder if there are "new" files in it that weren't there before. It deletes all files except the "new" ones. Is there a way to make an uninstall so that it just completely wipes out my Program Files / MyApp folder no matter what?
3
4399
by: frekster | last post by:
All. I have a folder/files that I have added asp.net to have read/write/etc. privlidges via the properties of the folder/files and security tab. However, when I run my asp.net page, I still get that access is denied. the path is c:\inetpub\app\bin\folder the "folder has a ton of files in it and every file in the folder must be able to be opened and binary read by the asp.net worker process.
3
1180
by: Rudy Ko | last post by:
Hi, I have a long site with SmartNavigation on. It works on my developing machine. When I published to server, it doesn't work on any machine. What do I miss? Anybody know? Thank you for any kind of help. -Rudy
1
1537
by: Luciano Resende | last post by:
I'm trying to perform a webDav call to move selected messages into a destination folder and does anybody know why BMOVE will work when i use the regular folder name as the request parameters, and it won't work when i use the folder permanentURL ? Below you can see the two requests, the first one does NOT work, and the second one works ok: BMOVE /exchange/lucianoresende/-FlatUrlSpace-/9414c48bbd498144b7b7238535deb823-233e2/ HTTP/1.1
5
2205
by: =?Utf-8?B?Sm9uYXRoYW4gU21pdGg=?= | last post by:
I have written a service, but it won't stop, Eventvwr reports the following: "Failed to stop service" The code is as follows: ============================================ Protected Overrides Sub OnStart(ByVal args() As String) ' Add code here to start your service. This method should set things ' in motion so your service can do its work.
2
2973
tpgames
by: tpgames | last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according to Corel's website, and Jasc uses whatever is in the XP font folder. But, it won't. All the JP fonts types as English, even with JP selected in the Language Bar. I can't afford to upgrade to any better paint program. I do have a free JP word...
0
1063
by: soulfly73 | last post by:
Hello all, I have created an ASP.net folder, APP_GLobalResources and put a resource file in called index2.aspx.de-DE.resx. I have placed an label control (<asp:Label ID="Ext" runat="server" Text="EXTERIOR" meta:resourcekey="lblExt"></asp:Label>) on the form en wanted to put an value for lblExt in the resourcefile. I have a listbox filled with the possible countries and set the chosen value with this code: Protected Overrides Sub...
0
9618
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
9454
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,...
1
10038
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
9906
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...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
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...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.