473,325 Members | 2,608 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,325 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 3187
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.