Previous Next

Thread: WebDAV mounts fine with IP, but Error 5 with host name

Last post 05-08-2008 12:20 PM by zebrafilm. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 02-27-2008, 11:00 AM

    • takeos
    • Top 150 Contributor
    • Joined on 02-27-2008, 3:53 PM
    • Posts 18

    WebDAV mounts fine with IP, but Error 5 with host name

    I just installed WebDAV on a test box that has a handful of web sites on the same IP address. The sites are bound by host name.

    I tried to enable WebDAV on a site, but I keep getting System Error 5 if mounting it with net use * http://webdav.example.com. On the other hand, if I remove the host name requirement from the WebDAV site and try to mount the drive with its IP address as net use * http://10.0.0.1 it works fine.

    I tried to disable the firewall, just in case. It made no difference. Other than that, I am at loss. Is it possible to have different sites with WebDAV, sharing the same IP? If so, is there anything that I might be missing?

    Thanks so much!

  • 02-27-2008, 7:59 PM In reply to

    • davcox
    • Top 25 Contributor
    • Joined on 07-21-2006, 6:28 PM
    • Redmond
    • Posts 113

    Re: WebDAV mounts fine with IP, but Error 5 with host name

    From what OS are you doing the "net use * http: ... " commands from? 

  • 02-27-2008, 8:19 PM In reply to

    • takeos
    • Top 150 Contributor
    • Joined on 02-27-2008, 3:53 PM
    • Posts 18

    Re: WebDAV mounts fine with IP, but Error 5 with host name

    davcox:

    From what OS are you doing the "net use * http: ... " commands from? 

    From the same server hosting the site. Windows Server 2008 Standard, with Desktop Experience. I can open the HTTP web site with IE, both by host name and by IP. But with WebDAV it only authenticates and mounts by IP.

    I repeated the test, disabling Windows Authentication, enabling Basic Authentication and disabling the host name mapping, and it mounted fine. But I have not understood the problem. And this scenario will not work for me in the long term, as I need to use multiple WebDAV sites with the same IP, with different host name bindings. I hope that's possible, and that it will also be supported if I enable SLL to complement the Basic Authentication, which combination I chose after some help on this forum.

  • 03-05-2008, 9:26 PM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 84

    Re: WebDAV mounts fine with IP, but Error 5 with host name

    You are browsing to the fully-qualified DNS name, correct? And the server is on the local network? (e.g. not browsing across the Internet?)

    If so, you might want to add the FQDN to your list of bypass adresses in your IE proxy server settings before attempting to map the drive. (In the background, the networking stack tries to talk through your proxy server for any FQDN, even if it's really local. Because of that, Windows Authentication will fail.)

    Robert McMurray
    Tags:
  • 03-10-2008, 3:07 PM In reply to

    Re: WebDAV mounts fine with IP, but Error 5 with host name

    Don't want to hijack this threat but I got the same problem.

    Running WSRV2008 x86 + IIS7 with FTP and WEBDAV installed

    When I add webdav to the default website I can use

    net use * http://localhost internally

    and connect externally via the internet by IP.

    When I try to connect to a webdav enabled site with hostheaders it doesn't run locally nor external.

     The only weird thing I noticed was that when I added a virtual dir. with a share it started asking for credentials. So somehow it reaches the site. without the share it errors out with a not found message (error 67).

    Hope that the orginal poster can verify this too and someone can help us out. 

     

     

     

  • 03-13-2008, 1:44 AM In reply to

    • robmcm
    • Top 50 Contributor
    • Joined on 05-27-2006, 1:05 AM
    • Redmond, WA
    • Posts 84

    Re: WebDAV mounts fine with IP, but Error 5 with host name

    zebrafilm:
    Don't want to hijack this thread but I got the same problem.

    No worries - you're not hijacking the thread... ;-]

    Both instances are very interesting - I've used the WebDAV redirector with host headers on several servers with no problem, so that shouldn't be a problem. That said, it would be great to see a netmon trace of the failure.

    I documented a few reasons why I've seen an error 67 using the WebDAV redirector in the "Troubleshooting the WebDAV Redirector" section of the "Using the WebDAV Redirector" walkthrough at: http://learn.iis.net/page.aspx/386/

    Based on the information in this thread so far, I'm nor sure if any of the causes that I listed would apply.

    Robert McMurray
    Tags:
  • 05-08-2008, 12:20 PM In reply to

    Re: WebDAV mounts fine with IP, but Error 5 with host name

     OK I am a bit busy so a delayed answer, sorry about that.

     I have checked again:

    WEBDAV on default website works by IP and by domain

    WEBDAV on websites with host headers doesn't work.

    I am trying this from OSX and Vista86 SP1

    When connecting I get 'network not found' error code 0x80070043

     

    I have downloaded NETMON 3.1 and did a capture, guess there must be ways to filter the trace only :-) advice needed!

    It doesn't seem to be a good idea to post the whole capture here.....


     

Page 1 of 1 (7 items)
Page view counter