How do I Suppress Offline Files Folders File Extension Errors?

Export to PDF | Export to DOC

Problem: How do I Suppress Offline Files Folders File Extension Errors?

Cause: The Offline Files feature does not permit you to cache certain file types. This restriction prevents corruption of file sets and avoids conflicts with competing synchronization technologies. When you try to cache one of these file types, you may receive the following error message for each file:

Files of this type cannot be made available offline

Solution:
You must edit the registry and enter the appropriate file specification for the following registry subkeys:

•HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache\ExclusionErrorSuppressionList

•HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\ExclusionErrorSuppressionList

 

These subkeys can contain zero or more values. The values are known as “file specifications.”

At runtime, the lists under these two registry subkeys are merged into a single list. One list does not take precedence over the other. An empty key and a missing key are treated in the same way. An empty key and a missing key each produce a list of zero items.

 

File specifications

The file specifications that you add to the new ExclusionErrorSuppressionList keys are Universal Naming Convention (UNC) path strings. These path strings may incorporate a wildcard character (asterisk) to indicate “match any” at that particular position in the specification.

 

Each file specification uses the following format:

\\Server\Share\Folder\Filename.extension

 

You can include environment variables, such as the variable %username%, in a specification. A variable is expanded at runtime to the equivalent text value.

You can substitute the wildcard character for any part of the file specification except for the folder designation. For example, the following specification is not valid:

\\corpsvr\staff\%username%\documents\*\personal\*.doc

This specification is rejected because the specification embeds a wildcard character between the folder names %username% and personal.

Note: Windows XP does not recognize invalid specifications and does not log invalid specifications anywhere in the system. Window XP ignores invalid specifications at runtime.

 

Examples of the file specifications are:

• \\*\*\*\*.dbf

This example suppresses the specification error for any file with the extension .dbf in any folder, on any share, and from any server.

 

• \\Server\*\*\*.dbf

This example suppresses the specification error for any file with the extension .dbf in any folder and on any share on the specified server.

 

• \\Server \\*\*\*\Test.dbf

This example suppresses the specification error for any file with the name “Test.dbf” in any folder, on any share, and from any server.

 

• \\Server\Share\Folder\Test.dbf

This example suppresses the specification error for a specific file with the name “Test.dbf”.

 

• \\Server\Share\*\*.*

This example suppresses any file in any folder on the specified share from the specified server.

 

• \\Server\Share\%username%\*\Test.dbf

This example suppresses files with the name “Test.dbf” in any user’s home folder that is defined by the environment variable %username%.

 

To add the ExclusionErrorSuppressionList registry keys and to enter the file specifications that you want, follow these steps after you apply the hotfix.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

1. Click Start, click Run, type regedit, and then click OK.

2. Locate and click the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\NetCache

3. Click Edit, point to New, and then click Key.

4. Type ExclusionErrorSuppressionList, and then press ENTER to name the new key.

5. Click ExclusionErrorSuppressionList, click Edit, point to New, and then click DWORD Value.

6. Type the file specification that you want to use, and then press ENTER to name the value.

7. Repeat steps 5 through 6 for each file specification that you want to use.

Leave a Reply

Your email address will not be published. Required fields are marked *