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

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

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

Nov 19 '05 #1
2 1326
pSm
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

Nov 19 '05 #2
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!


Nov 19 '05 #3

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

Similar topics

0
by: Brett Gerhardi | last post by:
Hi all, I'm having a nightmare with Windows Installer projects and souce control. My situation is that I have a few related windows application / dlls, some generic shared library files and a...
3
by: brynja | last post by:
Hi .. I´m using web user control on my project group. Now i´m using web user control for each project and it works fine, but now I want to share some controls for various project and I dont...
1
by: Timo | last post by:
I need to incorporate several aspx pages into an existing website. The target structure looks like this: inetpub -- wwwroot ------ webapps --------- App1 ------------subdir1...
1
by: J.Marsch | last post by:
Hello all: I am trying to create a multi-project solution in VS 2005, and I'm having some problems with Source Control. I am running into 2 very vexing problems. Can anyone give me a pointer?...
5
by: Segfahlt | last post by:
I need a little help here please. I have 2 win forms user controls in 2 different projects that I'm hosting in 2 different virtual directories. The controls have been test and operate okay in...
1
by: Oenone | last post by:
I've been working on migration of my company's VB6 ASP system to VB2005 over the last year or so, and am currently presenting my findings and recommended course of action to our management team....
5
by: benliu | last post by:
i have a visual studio website that i am integrating with community server, a third party software for creating communities. To paraphrase, i am trying to have users that log in to my site...
0
by: Fred G. Sanford | last post by:
Firstly, I am a fairly new .Net developer, so please excuse any dumb/ignorant questions or comments. Thanks. I created a VWD Express project, which uses the ReportViewer control, on my local...
1
by: TBass | last post by:
In a remoting application I wrote, I have a server program that uses a couple dll's I wrote to provide a tcp remoting connection. I then wrote a test program that uses those same two dlls. When...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.