?
Solved

HttpHandler ignores subdirectory request

Posted on 2005-02-28
3
Medium Priority
?
1,310 Views
Last Modified: 2008-02-01
This is part of my Web.config file:
<configuration>
      <system.web>
            <httpHandlers>
                  <add verb="*" path="browse/*" validate="false" type="oGallery.BrowseHandler, oGallery" />
            </httpHandlers>

When I request:
localhost/oGallery/browse/659.aspx
It calls the handler.
But when I request:
localhost/oGallery/browse/659/324.aspx
I get "The resource cannot be found."

How can I get it to handle both?
0
Comment
Question by:klexys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 13

Accepted Solution

by:
davidlars99 earned 1200 total points
ID: 13425706
don't you have to have something like this...? simply put "web.config" file into "browse"

<add verb="*" path="*.aspx" validate="false" type="oGallery.BrowseHandler, oGallery" />

and path must be valid to where you are requesting custom handler class from

0
 
LVL 13

Expert Comment

by:davidlars99
ID: 13425724
did you map "aspnet_isap.dll" file within project's properties window? you also have to register ".aspx" extension in the same properties window
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 13425867
or

<add verb="*" path="browse/*.aspx" validate="false" type="oGallery.BrowseHandler, oGallery" />
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question