Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 2002

IIS Informant: Creating Web Folders in Windows XP

RSS
Subscribe to Windows Web Solutions | See More Windows 2000 Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

I recently upgraded my company's workstations to Windows XP Professional Edition. Since then, I haven't been able to create on those workstations a Web folder that connects to an IIS 5.0 server. In the past, I successfully used Web folders to publish content to my intranet. Now, when I create a Web folder mapped to http://ourserver, I get an empty window. Why can't I connect to IIS?

This question sent me on quite an expedition, and the results are interesting to anyone who relies on Web folders to publish content to Web servers. Web folders use either Microsoft's Web Extender Client (WEC) or WWW Distributed Authoring and Versioning (WebDAV) to communicate with an IIS server. By default, if you've installed the Microsoft FrontPage Server Extensions on your IIS box, the Windows client uses WEC to communicate with the Web folder. Otherwise, the OS uses WebDAV (presuming the server and the client have WebDAV capability).

Windows 2000 is WebDAV-capable as long as you use an application that speaks WebDAV (e.g., Microsoft Internet Explorer—IE—5.x, Microsoft Office XP and Office 2000 applications). In Win2K, you can easily create a Web folder mapped to http://ourserver, then drag files to the folder and manage content on the IIS 5.0 machine. However, in Windows XP, Microsoft significantly changed the way WebDAV works. Windows XP has a new feature called a WebDAV redirector. If you're familiar with network technologies, you know that a redirector is the part of the OS that identifies requests for files and sends the requests to the correct provider. Thus, in Windows XP, any application can publish to a WebDAV-enabled Web server (i.e., IIS 6.0 and IIS 5.x). The Windows XP implementation of WebDAV doesn't let you map a Web folder to http://ourserver. Instead, you must map your Web folder to a folder or virtual directory on the Web server—for example, http://ourserver/folder. If you try to map a folder to just a server name, you get a NetBIOS-style connection instead of a WebDAV connection.

To demonstrate this behavior in Windows XP, uninstall the server extensions from your Default Web Site. Then, follow these steps to create a Web folder:

  1. Open My Network Places.
  2. Double-click Add Network Place.
  3. Click Next twice, then type
  4. http://localhost

    in the Internet or Network Address text box.

  5. Click Next, then click Finish.

A window will open that has a computer icon and \\localhost in the Address bar, as Figure 3 shows, instead of a Web folder icon and http://localhost. No files or folders will appear in this window, only network shares. To convert the network place to a Web folder, open IE, then select File, Open. Type

http://localhost

in the Open text box, then select the Open as Web Folder check box. This time, you get a proper Web folder that you can use for Win2K-style WebDAV operations. (For more information about WebDAV and Web folders, see "Using Web Folders with WebDAV," April 2002, InstantDoc ID 24264.)

End of Article



Reader Comments
This explains why it wasn't working ...

A short way to force a web folder is to enter the following address:

http://blahblah.com/.

Here, the /. means the current directory, and is enough to convice XP that it should open a WebDAV connection.

Mark Simon March 27, 2003


We have a problem too similar like yours.
If a WinXP Pro Client open a Word-doc (from our W2k Server via WebDAV) and another XP Pro Client will open the same file it is not possible because it is invisible.

Sven Jansen July 08, 2004


Hello,
I am using webdav on IIS 5.0. This is a nice package, but I have two questions for you about the file system.

1. when I put a folder with subfolder's on the site, full access to this virtual subdir, I have to re-authenticate each time the system creates a new folder initially. Once the folders are created, doing an overwrite of those same folders, won't request authentication. I am running basic authentication - straight http, for troubleshooting. It also, takes the credentials 3 times on each creation, yes I am typing the password rigt the first 2 times each time.

2. I want to batch copy files from a machine to these webdav folders, is there anyway of doing a dos drive map, or some such thing, so I can run a batch file copy to that location?

Any ideas?

Thanks

JB

jbond August 16, 2004 (Article Rating: )


I need a new repair folder for windows xp home edition

Anonymous User January 09, 2005


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Related Events Delivering Reliable and Effective Web-Based Applications

Making Web Application Perform Better: What to Watch, How to Watch It, and How to Fix It

Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing