Visual Studio IIS 7 and WebDAV

Visual Studio 2008 have still no native WebDAV support. On the other hand Microsoft is stopping Frontpage Server Extensions development. Both of this web publishing protocols are *not* implemented in IIS7 standard installation. You can download the fitting modules on the iis7 website. If you decide to use WebDAV you have to do following configuration steps

1) Download (X86)

2) installation

3) Enable WebDAV on Site level

4) Enable Authentication BASIC

5) create WebDAV authoring rule which allows read, write for specific user

Steps are described with screenshots here

For visual studio you have to map a file share like

net use z: http://www.fileserver.de

The explorer redirector (which is included since win 2000) only accepts

a) windows authentication or

b) Basic authentication over https =ssl

For resources on the web we have to go way b).

We have to created and assign a certificate to the website on our iis 7. The self signed certificates of iis 7 have no possibility to change the domain name. So default name is always machine name. For solving that I decided to use selfssl from iis6 resource kit. You can install it on windows 2008.

Following code on command line creates an assign the certificate.

selfssl /n:CN=www.fileserver.de /v:1999 /s:1
Microsoft (R) SelfSSL Version 1.0
Copyright (C) 2003 Microsoft Corporation. All rights reserved.

Do you want to replace the SSL settings for site 1 (Y/N)?y
The self signed certificate was successfully assigned to site 1.

Ensure that the SLL binding is enabled in IIS7 site.

Then i opened the website over https   in browser ( Admin mode with uac)and installed the certificate in trustworthy root authority store of client machine. After that following on command line should work on client

net use z: https://www.fileserver.de
Geben Sie den Benutzernamen für "www.fileserver.de
" ein: Username
Geben Sie das Kennwort für "
www.fileserver.de
" ein:
Der Befehl wurde erfolgreich ausgeführt.

Then you should see in Vista explorer

image

Published Tuesday, April 29, 2008 8:25 AM by preishuber

Comments

# microsoft » Blog Archive » Visual Studio IIS 7 and WebDAV

Pingback from  microsoft  » Blog Archive   » Visual Studio IIS 7 and WebDAV

# re: Visual Studio IIS 7 and WebDAV

Tuesday, April 29, 2008 4:46 AM by Hannes Preishuber

after tests on several machines

net use seems only to work on Vista

for XP and Vista you have the option in windows explorer to add network and open as network folder option

# Visual Studio IIS 7 and WebDAV | How-to Build Your Own Home Studio

Pingback from  Visual Studio IIS 7 and WebDAV | How-to Build Your Own Home Studio

# re: Visual Studio IIS 7 and WebDAV

Friday, July 11, 2008 4:40 PM by Ken

Visual Studio 2008 must have Webdav integration

# re: Visual Studio IIS 7 and WebDAV

Monday, August 11, 2008 2:26 PM by patrick

I tried it. Put I get the Error access denied. Can anyone help me?

Leave a Comment

(required) 
(required) 
(optional)
(required)