473,386 Members | 1,791 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,386 software developers and data experts.

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

Complete newbie here.

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

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

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwroot
like c:\inetpub\wwwroot\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 2677
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*****@bigpond.net.au> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl...
Complete newbie here.

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

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

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwroot
like c:\inetpub\wwwroot\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*****@bigpond.net.au> escreveu na mensagem
news:OQ**************@TK2MSFTNGP11.phx.gbl...
Complete newbie here.

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

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

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwroot
like c:\inetpub\wwwroot\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*****@bigpond.net.au> wrote:
Complete newbie here.

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

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

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwroot
like c:\inetpub\wwwroot\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*****@bigpond.net.au> wrote in message
news:OQ****************@TK2MSFTNGP11.phx.gbl...
Complete newbie here.

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

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

but if I copy myASP.asp to a sub folder of c:\inetpub\wwwroot
like c:\inetpub\wwwroot\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
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....
4
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...
2
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....
3
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...
3
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...
1
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...
5
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...
2
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...
0
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"...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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,...

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.