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

cant run asp file from subdir of Web root dir

Ed
Hello,

I took a course in asp about 2 years ago and I was
practicing with IIS 5.0. Then I put it down for a while.
Now trying to get back to it. I can't run asp files from
subdirectories of my root directory, but I can run asp
files from the root directory of my website and I can run
htm files from the subdirectories. If I run

localhost/mytest.asp

this will run, and if I run

localhost/subdir1/mytest.htm

this will also run

But if I try to run

localhost/subdir1/mytest.asp

this won't run. But it used to run. I have a directory
called C:\MyWeb that I assigned as the root directory in
IIS Manager. What do I need to do to get my asp files to
run in the subdirectories of the root directory of my
website?

Thanks,
Ed
Jul 19 '05 #1
4 3176
Ed
If it makes any difference, I also took a course in
asp.net last year and loaded vs.net2003 on this server. I
created another virtual dir for asp.net stuff. I can run
my regular asp stuff from the .net virtual dir OK (along
with the asp.net stuff). But I not only can't run my
regular asp stuff from the original web dir, I can't edit
or paste anything into the original dir either. I get the
message "Access denied...Not authorized...etc"

Is there something I need to reset in IIS Manager?

Thanks,
Ed

-----Original Message-----
Hello,

I took a course in asp about 2 years ago and I was
practicing with IIS 5.0. Then I put it down for a while.Now trying to get back to it. I can't run asp files from
subdirectories of my root directory, but I can run asp
files from the root directory of my website and I can run
htm files from the subdirectories. If I run

localhost/mytest.asp

this will run, and if I run

localhost/subdir1/mytest.htm

this will also run

But if I try to run

localhost/subdir1/mytest.asp

this won't run. But it used to run. I have a directory
called C:\MyWeb that I assigned as the root directory in
IIS Manager. What do I need to do to get my asp files to
run in the subdirectories of the root directory of my
website?

Thanks,
Ed
.

Jul 19 '05 #2
what do yuo meen by "cant run"? what errors are you getting if any?

"Ed" <an*******@discussions.microsoft.com> wrote in message
news:b9****************************@phx.gbl...
If it makes any difference, I also took a course in
asp.net last year and loaded vs.net2003 on this server. I
created another virtual dir for asp.net stuff. I can run
my regular asp stuff from the .net virtual dir OK (along
with the asp.net stuff). But I not only can't run my
regular asp stuff from the original web dir, I can't edit
or paste anything into the original dir either. I get the
message "Access denied...Not authorized...etc"

Is there something I need to reset in IIS Manager?

Thanks,
Ed

-----Original Message-----
Hello,

I took a course in asp about 2 years ago and I was
practicing with IIS 5.0. Then I put it down for a

while.
Now trying to get back to it. I can't run asp files from
subdirectories of my root directory, but I can run asp
files from the root directory of my website and I can run
htm files from the subdirectories. If I run

localhost/mytest.asp

this will run, and if I run

localhost/subdir1/mytest.htm

this will also run

But if I try to run

localhost/subdir1/mytest.asp

this won't run. But it used to run. I have a directory
called C:\MyWeb that I assigned as the root directory in
IIS Manager. What do I need to do to get my asp files to
run in the subdirectories of the root directory of my
website?

Thanks,
Ed
.

Jul 19 '05 #3
Ed
Page can't be displayed. Problem with the page

So I try to edit the page in this directory but then I get
the error message - "Access Denied - not authorized,
etc". I can copy files from this dir (this dir is not a
virtual dir but the Home directory) but I can't paste
files to this dir or do any editing here.

I created another virtual directory and I can edit the asp
file here and fix the problem and display it. I am just
wondering if there is a configuration issue with the
original home directory (I have been tweaking this server
left and right for stuff) or do I have a virus or what? I
also have a problem with my smtp virtual dir - I used to
be able to send emails from it a few months ago
(legitimate - not spam or anything like that), but now I
can't. I have to hook up directly (reference directly in
my apps) to the company's official smtp server; can't
alias my virtual smtp server anymore. Even a few months
ago everything was OK (and then I quit working with it for
a while). The pages that work, still work in that dir but
I don't have rights there anymore. I have an
administrator account on this server, and I'm the only one
who uses it (although the I.T. Dept maintains it). Is it
a virus, did I get locked out, or do I need to reconfigure
something?

Thanks,
Ed
-----Original Message-----
what do yuo meen by "cant run"? what errors are you getting if any?
"Ed" <an*******@discussions.microsoft.com> wrote in messagenews:b9****************************@phx.gbl...
If it makes any difference, I also took a course in
asp.net last year and loaded vs.net2003 on this server. I created another virtual dir for asp.net stuff. I can run my regular asp stuff from the .net virtual dir OK (along
with the asp.net stuff). But I not only can't run my
regular asp stuff from the original web dir, I can't edit or paste anything into the original dir either. I get the message "Access denied...Not authorized...etc"

Is there something I need to reset in IIS Manager?

Thanks,
Ed

>-----Original Message-----
>Hello,
>
>I took a course in asp about 2 years ago and I was
>practicing with IIS 5.0. Then I put it down for a

while.
>Now trying to get back to it. I can't run asp files from >subdirectories of my root directory, but I can run asp
>files from the root directory of my website and I can run >htm files from the subdirectories. If I run
>
>localhost/mytest.asp
>
>this will run, and if I run
>
>localhost/subdir1/mytest.htm
>
>this will also run
>
>But if I try to run
>
>localhost/subdir1/mytest.asp
>
>this won't run. But it used to run. I have a directory >called C:\MyWeb that I assigned as the root directory in >IIS Manager. What do I need to do to get my asp files to >run in the subdirectories of the root directory of my
>website?
>
>Thanks,
>Ed
>.
>

.

Jul 19 '05 #4
Sounds like an NTFS permissions issue at this point to me at least.

Ed wrote:
Page can't be displayed. Problem with the page

So I try to edit the page in this directory but then I get
the error message - "Access Denied - not authorized,
etc". I can copy files from this dir (this dir is not a
virtual dir but the Home directory) but I can't paste
files to this dir or do any editing here.

I created another virtual directory and I can edit the asp
file here and fix the problem and display it. I am just
wondering if there is a configuration issue with the
original home directory (I have been tweaking this server
left and right for stuff) or do I have a virus or what? I
also have a problem with my smtp virtual dir - I used to
be able to send emails from it a few months ago
(legitimate - not spam or anything like that), but now I
can't. I have to hook up directly (reference directly in
my apps) to the company's official smtp server; can't
alias my virtual smtp server anymore. Even a few months
ago everything was OK (and then I quit working with it for
a while). The pages that work, still work in that dir but
I don't have rights there anymore. I have an
administrator account on this server, and I'm the only one
who uses it (although the I.T. Dept maintains it). Is it
a virus, did I get locked out, or do I need to reconfigure
something?

Thanks,
Ed

-----Original Message-----
what do yuo meen by "cant run"? what errors are you


getting if any?
"Ed" <an*******@discussions.microsoft.com> wrote in


message
news:b9****************************@phx.gbl...
If it makes any difference, I also took a course in
asp.net last year and loaded vs.net2003 on this
server. I
created another virtual dir for asp.net stuff. I can
run
my regular asp stuff from the .net virtual dir OK (along
with the asp.net stuff). But I not only can't run my
regular asp stuff from the original web dir, I can't
edit
or paste anything into the original dir either. I get
the
message "Access denied...Not authorized...etc"

Is there something I need to reset in IIS Manager?

Thanks,
Ed

-----Original Message-----
Hello,

I took a course in asp about 2 years ago and I was
practicing with IIS 5.0. Then I put it down for a

while.

Now trying to get back to it. I can't run asp files
from
subdirectories of my root directory, but I can run asp
files from the root directory of my website and I can
run
htm files from the subdirectories. If I run

localhost/mytest.asp

this will run, and if I run

localhost/subdir1/mytest.htm

this will also run

But if I try to run

localhost/subdir1/mytest.asp

this won't run. But it used to run. I have a
directory
called C:\MyWeb that I assigned as the root directory
in
IIS Manager. What do I need to do to get my asp files
to
run in the subdirectories of the root directory of my
website?

Thanks,
Ed
.

.


Jul 19 '05 #5

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

Similar topics

9
by: JR | last post by:
Hi, I'm migrating my website to an IIS 6.0 server and all the asp pages work fine except for the ones that reference include files, even though I have "Enable parent paths" enabled in the...
2
by: Abhijit | last post by:
Hello everybody, I am getting a "segmentation fault" error when i compile the following piece of code. The program runs fine till it encounters the line of code saying" FILE_lic=fopen........."....
0
by: Tony Lewis | last post by:
I'm running IIS on a Windows 2k server and have just installed the .NET framework 1.1 so I can deploy ASP.NET applications on my server through .NET Studios. All my normal ASP applications run fine...
10
by: Dustin Wilson | last post by:
I'm looking for a quick function that will give me just the path for a file. For example if I have the string "C:\Temp\MyFile.txt", I want to just return just the string "C:\Temp\". How is this...
1
by: Phillip N Rounds | last post by:
I'm having problems using the WebClient.UploadFile() command. I have MySender.ASPX which is supposed to upload two files to the server. There is also ConsumeFileUpload.aspx which is intended to...
5
by: Dhans | last post by:
Framework version : 1.1 For a given directory (which may have subdirectories), I need to identify the number of text files (*.txt). For this I have tried recursive method to search files, it...
12
by: pac | last post by:
I'm preparing to distribute a Windows XP Python program and some ancillary files, and I wanted to put everything in a .ZIP archive. It proved to be inordinately difficult and I thought I would...
1
by: Dan | last post by:
I have an application that I want to use for copying files. My goal is to copy a files, if a file is in use or not accessible because of security reasons I want to make note of that file then...
4
by: Mukesh | last post by:
Hi all I am trying to upload and save as a picture to "root/Photos" folder in my web application. I am using this code to perform this task DirectoryInfo strFolder = new...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.