Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to control vritual directory not requests dlls on top directory? thanks

Reply
Thread Tools

How to control vritual directory not requests dlls on top directory? thanks

 
 
davidw
Guest
Posts: n/a
 
      05-28-2005
I have a website, in web.config, I have set several httphandler dll like

<httpHandlers>
<add verb="*" path="default.aspx" type="Link.MainHandler, link" />
....

I then create a virutal directory under the site, the vritual directory has
its own dll, but when I run files in the virtual directory, it always ask
for the dll link in the top level. I even added

<httpHandlers>
<clear/>
...

in the web.config in the virtual directory, but in vain. any idea?

Thanks!

--

David WENG



 
Reply With Quote
 
 
 
 
=?Utf-8?B?cFNt?=
Guest
Posts: n/a
 
      05-29-2005
Try using 'Remove' only for your custom httpHandler.

On using <clear>(which should be the last statement in httpHandler section)
- you should have got an error saying no handlers found for verb=GET.

-pSm

"davidw" wrote:

> I have a website, in web.config, I have set several httphandler dll like
>
> <httpHandlers>
> <add verb="*" path="default.aspx" type="Link.MainHandler, link" />
> ....
>
> I then create a virutal directory under the site, the vritual directory has
> its own dll, but when I run files in the virtual directory, it always ask
> for the dll link in the top level. I even added
>
> <httpHandlers>
> <clear/>
> ...
>
> in the web.config in the virtual directory, but in vain. any idea?
>
> Thanks!
>
> --
>
> David WENG
>
>
>
>

 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-30-2005
When you add them in the parent you can add the validate=false option, then
when you use remove in the child web.config you won't have problems.

<httpHandlers>
<add verb="*" path="default.aspx" type="Link.MainHandler, link" validate="false"
/>

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I have a website, in web.config, I have set several httphandler dll
> like
>
> <httpHandlers>
> <add verb="*" path="default.aspx" type="Link.MainHandler, link" />
> ....
> I then create a virutal directory under the site, the vritual
> directory has its own dll, but when I run files in the virtual
> directory, it always ask for the dll link in the top level. I even
> added
>
> <httpHandlers>
> <clear/>
> ...
> in the web.config in the virtual directory, but in vain. any idea?
>
> Thanks!
>




 
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
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
Cakewalk Pro Audio 9 (running problem) [THANKS] [ MORE THANKS] con't beenthere Computer Support 2 09-07-2006 08:58 AM
VCD (Vritual Drive for x64)? rz Windows 64bit 5 11-27-2005 08:08 PM
web requests and mobile requests Fernando Arámburu ASP .Net 1 04-08-2005 07:13 PM
Thanks, thanks a lot Rick Computer Support 0 05-05-2004 04:04 AM



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