You cannot access a Web Distributed Authoring and Versioning (WebDAV) Web folder from a Windows-based client computer. When you try to do this, you may experience the following symptoms:
When you use a Universal Naming Convention (UNC) path to access the Web folder, you receive an error message that is similar to the following:
\\server\webfolder\folder is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
A device attached to the system is not functioning.
error 31 = ERROR_GEN_FAILURE
When you map a driver letter to access the Web folder, you receive an error message that is similar to the following:
Disk is not formatted
Windows cannot read from this disk. The disk might be corrupted, or it could be using a format that is not compatible with Windows.
When you try to enumerate the Web folder at a command prompt, you receive the following error message:
File Not Found
Additionally, every time that you try to access the Web folder, memory consumption increases for the Svchost.exe process that contains the WebClient service. This increase may be approximately 20 megabytes (MB) for every 20,000 files in the Web folder. The memory is not released when you stop the WebClient service. The memory is released only if the computer is restarted.
This problem may occur if all the following conditions are true:
The client computer is running one of the following configurations:
Windows XP with Service Pack 1 (SP1) and security update 896426
Windows XP with Service Pack 2 (SP2)
Windows XP Professional x64 Edition
The WebDAV folder contains many files. For example, the folder contains 20,000 or more files. By default, Windows XP will enumerate approximately 1,000 files in one Web folder. This number is based on the default setting for the following registry subkey:
Value: FileAttributesLimitInBytes Data Type: DWORD Default Value: 1,000,000 decimal (1 MB) Description: This registry subkey determines the maximum collective size of all file attributes in one folder that is allowed by the WebDAV redirector.This attribute limit covers all the PROPFIND and PROPPATCH responses.
The problem occurs because the size of all the file attributes that are returned by the WebDAV server is much larger than what is expected. By default, this size is limited to 1 MB. This limit is for security reasons.For more information, click the following article number to view the article in the Microsoft Knowledge Base:
900900 You may receive an error message when you try to download a file that is larger than 50000000 bytes from a Web folder on a computer that is running Windows XP with Service Pack 1 or with Service Pack 2
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To work around this problem, add a DWORD entry that is named FileAttributesLimitInBytes to the following registry subkey:
On the Edit menu, point to New, and then click DWORD Value.
Type FileAttributesLimitInBytes for the name of the DWORD, and then press ENTER.
Right-click FileAttributesLimitInBytes, and then click Modify.
In the Value data box, type the value that you want to use, and then click OK. For example, if the Web folder contains 20,000 files, type 20000000 in the Value data box.
Note If the default value is 1,000,000 (1 MB), Windows will enumerate a maximum of approximately 1,000 files in one folder. The actual maximum number of files may vary, depending on the number of file attributes or file properties. By default, the WebClient service does not ask for specific WebDAV properties. Therefore, the server returns all file attributes. The Microsoft Office-integrated Webfolders redirector does ask for specific WebDAV properties.
Exit Registry Editor.
Stop and then restart the WebClient service. To do this, follow these steps:
Click Start, click Run, type cmd, and then click OK.
Type the following commands, and then press ENTER after each command:
net stop webclient net start webclient
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
This applies to Windows 7 - Windows 2012 as well
MS05-028 KB896426 webDAV webfolder webclient webclnt.dll memory leakerror 58 0000003a ERROR_BAD_NET_RESP "The specified server cannot perform the requested operation." error 31 ERROR_GEN_FAILURE FileSizeLimitInBytes
Microsoft Windows XP Home Edition, Microsoft Windows XP Professional, Microsoft Windows XP Professional x64 Edition, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Ultimate, Windows 8, Windows 8 Pro, Windows 8.1, Windows 8.1 Pro