Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > cant run asp file from subdir of Web root dir

Reply
Thread Tools

cant run asp file from subdir of Web root dir

 
 
Ed
Guest
Posts: n/a
 
      08-03-2004
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
 
Reply With Quote
 
 
 
 
Ed
Guest
Posts: n/a
 
      08-03-2004
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
>.
>

 
Reply With Quote
 
 
 
 
thorpe
Guest
Posts: n/a
 
      08-04-2004
what do yuo meen by "cant run"? what errors are you getting if any?

"Ed" <> wrote in message
news:b94901c479ac$c6428300$...
> 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
> >.
> >



 
Reply With Quote
 
Ed
Guest
Posts: n/a
 
      08-04-2004
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" <> wrote in

message
>news:b94901c479ac$c6428300$...
>> 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
>> >.
>> >

>
>
>.
>

 
Reply With Quote
 
joker
Guest
Posts: n/a
 
      08-04-2004
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" <> wrote in

>
> message
>
>>news:b94901c479ac$c6428300$...
>>
>>>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
>>>>.
>>>>

>>
>>
>>.
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External prog get file from main dir, want file in diff dir Kga Agk Ruby 2 06-29-2009 02:09 PM
creating a file within a subdir in DOS batch file =?Utf-8?B?bWF0bHlu?= ASP .Net 0 09-20-2007 01:28 PM
cant compile on linux system.cant compile on cant compile onlinux system. Nagaraj C++ 1 03-01-2007 11:18 AM
Location of linked referenced assembly in application bin subdir Michel Gallant ASP .Net 0 10-14-2005 02:03 PM
relative linking of files, can I indicate root no matter the level (subdir) ? Peter Van Hove HTML 3 04-22-2005 01:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57