Re: HttpHandler not working
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Thu, 17 May 2007 19:40:41 -0400
re:
!> But when I run it from our web app server (Windows Server 2003-R2, IIS
!> 6.0) it gives me a 404 Page not found error from IIS.
Does the account : NT AUTHORITY\NETWORK SERVICE
have read rights to the datafeed directory on the W2K3 server ?
The ASP.NET Development Server runs as MachineName\Administrator,
and automatically has read rights to the datafeed directory in your development box..
ASP.NET runs as NT AUTHORITY\NETWORK SERVICE on Windows Server 2003.
You have to, specifically, assign rights to the datafeed directory to that account on the server.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
<deepa.ravikiran@xxxxxxxxx> wrote in message
news:1179443797.595542.306370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have created a HttpHandler to intercept *.zip requests, authenticate
and authorize user before allowing user to download the file. This
works perfectly when I run it from ASP.NET development server (from VS
2005).
But when I run it from our web app server (Windows Server 2003-R2, IIS
6.0) it gives me a 404 Page not found error from IIS. I have
mapped .zip to aspnet_isapi.dll in IIS. And I have this added to my
web.config
<httpHandlers>
<add verb="*" path="datafeed/*.zip"
type="XXX.Web.DataFeedHttpHandler.DataFeedHttpHandler" />
</httpHandlers>
Another thing different from my development environment is that the
Website on the app server is on Port 82 and not Port 80. Is this
causing the problem? Also is there any way I can debug and find out
where the error is occuring and get some more info on the error? (I
dont have VS 2005 on the app server)
Any help is highly appreciated.
Thanks,
Deepa
.
- Follow-Ups:
- Re: HttpHandler not working
- From: deepa . ravikiran
- Re: HttpHandler not working
- References:
- HttpHandler not working
- From: deepa . ravikiran
- HttpHandler not working
- Prev by Date: HttpHandler not working
- Next by Date: Re: VB.NET (2.0) Web.Config Impersonate not functioning?
- Previous by thread: HttpHandler not working
- Next by thread: Re: HttpHandler not working
- Index(es):
Relevant Pages
|