Urgent help needed: IIS 6.0 and ASP.Net HttpHandler problem

J

John

Hi All,

We have a web application that runs well on Windows 2000 with IIS 5.1 and
..Net framework 1.1. We just moved it to .Net Server 2003. Suddenly we are
having big problems!!

The application is completely dependent on HttpHandler / HttpModule to
process all web requests. It doesn't serve any static contents. The wwwroot
directory only contains web.config and bin folder. In IIS 5.1, we
configured to use "aspnet_isapi.dll" to process all file extentions,
including .* files.

We added a line in the web.config file.

<add verb="*" path="*"
type="XXX.XXX.MyHttpHandler, XXX.XXX" />

When we type in URL: http://localhost/test/test/test.htm, IIS 5.1 uses
aspnet_isapi.dll to process the request. So it works fine.

However when it's running on IIS 6.0, IIS checks for:
c:\inetpub\wwwroot\test\test\test.htm. Since the folder doesn't exist, It
immediately reports an 404 error (File/folder doesn't exist) without sending
the control to aspnet_isapi.dll and MyHttpHandler.

Does anyone know how to disable IIS from checking the existence of static
folders or any ways to work around this problem?

Thanks very much!

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top