Re: HttpHandler not working

Tech-Archive recommends: Fix windows errors by optimizing your registry



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



.



Relevant Pages

  • [NT] Heap Overrun in HTR Chunked Encoding Could Enable Web Server Compromise
    ... This patch eliminates a newly discovered vulnerability affecting Internet ... in IIS 4.0 and 5.0, and could likewise be used to overrun heap memory on ... allowing code to be run on the server. ... * Microsoft has long recommended disabling HTR functionality unless there ...
    (Securiteam)
  • Re: Problem with connect computer wizard
    ... Make sure the Windows XP client is pointing to the SBS 2003 server as ... Please collect the IIS metabase and the latest IIS log files further ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: IIS Key pairs (how to export an IIS 4.0 self-issued Root CA a nd import into new IIS 4.0 box)
    ... IIS key to an Intel SSL acelerator ... it issues client certificates to the end users. ... Step I - Installing the New Server ... Install NT SP 3 ONLY ...
    (Focus-Microsoft)
  • Re: SBS 2003 After Service Pack 1 for SBS
    ... we can conclude the SBS 2003 SP1 has been applied ... Please help me collect the IIS metabase to check ... and using server management console to reproduce the problem. ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Executing a locally installed program in IIS 6
    ... it appears that PHP requires enabling a security ... function needs CMD.EXE to have weak ACLs and accessible via IIS -- something ... we explicitly denied with IIS6 on Windows Server 2003). ...
    (microsoft.public.inetserver.misc)