Re: WebDav Server with ASP.NET IHttpHander, IIS 6.0

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

From: Steve Drake (Steve_at__NOSPAM_.Drakey.co.uk)
Date: 06/03/04


Date: Thu, 3 Jun 2004 15:59:11 +0100

The access denied is a red herein, you need to responded to the client
correctly or your webdav client will not connect.

We have wrote one in C# using an HTTP Handler, I did have this problem and
fixed it by finding the problem with a SOAP trace.

Steve

"drasticp" <anonymous@discussions.microsoft.com> wrote in message
news:1F8BF981-2CE7-4F9B-959D-23922BB7FD1A@microsoft.com...
> I want to create a custom webdav server by implementing IHttpHandler in my
own class and firing it via IIS 6.0 Wildcard Application Maps. I have
written my HttpHandler class implementing IHttpHandler. In the
ProcessRequest method, I simply write a line to the Application Event Log
stating what verb was requested.
>
> It doesn't work with a wildcard application map and a WebDav request.
>
> If I configure an extension specific map (.test for example) and launch a
GET request from a browser, the handler fires as expected and records the
event to the Event Log. If I remove all extension specific maps and
configure a Wildcard Application Map and launch a GET request from a
browser, it works correctly. HOWEVER, when I try to map a drive to the
virtual directory (with the mini-redirector in XP) I am prompted for
username and password. No accounts even with administrator level access will
satisfy the prompt. I always receive Error 5 (access denied).
>
> A few other details: WebDav is enabled as a Web Service Extension in IIS 6
configuration. I've tried creating an application pool with administrator
level identity. NTFS file permissions for the content directory are set to
Everyone - Full Control. Write and Directory Browsing are checked on the
application folder. I have configured my application in both the web server
root and in a virtual directory.
>



Relevant Pages

  • Re: WebDav Server with ASP.NET IHttpHander, IIS 6.0
    ... correctly or your webdav client will not connect. ... > It doesn't work with a wildcard application map and a WebDav request. ... GET request from a browser, the handler fires as expected and records the ... root and in a virtual directory. ...
    (microsoft.public.inetserver.misc)
  • Re: WebDav Server with ASP.NET IHttpHander, IIS 6.0
    ... This is our CODE to reply to an options VERB: ... > I want to create a custom webdav server by implementing IHttpHandler in my ... > It doesn't work with a wildcard application map and a WebDav request. ... root and in a virtual directory. ...
    (microsoft.public.inetserver.misc)
  • Re: WebDav Server with ASP.NET IHttpHander, IIS 6.0
    ... This is our CODE to reply to an options VERB: ... > I want to create a custom webdav server by implementing IHttpHandler in my ... > It doesn't work with a wildcard application map and a WebDav request. ... root and in a virtual directory. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: File permissions vary based on access method problem
    ... You mention WebDAV. ... Does the resource allow that user identity to perform that action through ... directory is shared on the office intranet as H:, and a Virtual Directory ...
    (microsoft.public.inetserver.iis.security)
  • Re: URLScan Logs
    ... I'm not a webdav expert, ... > Front Page server extensions are not configured for the> site. ... I have been experimenting with locking down this> IIS server and have the latest patches on it and have> followed many of the procedures outlined in several guides> including "From Blueprint to Fortress: A Guide to> Securing IIS 5.0". ... > contains disallowed header 'translate:' Request will be> rejected. ...
    (microsoft.public.inetserver.iis.security)