zoukankan      html  css  js  c++  java
  • How to reinitialize the offline files cache and database

    参见:How to re-initialize the offline files cache and database 

        

    How to re-initialize the offline files cache and database

    Article ID : 230738
    Last Review : February 27, 2007
    Revision : 5.3
    This article was previously published under Q230738

    SUMMARY

    The Offline Files (CSC or Client Side Caching) cache and database has a built-in capability to restart if its contents are suspected of being corrupted. If corruption is suspected, the Synchronization Wizard may return the following error message:
    Unable to merge offline changes on \\server_name\share_name. The parameter is incorrect.

    Back to the top

    MORE INFORMATION

    Method 1

    The Offline Files cache is a folder structure located in the %SystemRoot%\CSC folder, which is hidden by default. The CSC folder, and any files and subfolders it contains, should not be modified directly; doing so can result in data loss and a complete breakdown of Offline Files functionality.

    If you suspect corruption in the database, then the files should be deleted using the Offline Files viewer. After the files are deleted out of the Offline Files viewer, a synchronization of files may then be forced using Synchronization Manager. If the cache still does not appear to function correctly, an Offline Files reset can be performed using the following procedure:
    1. In Folder Options, on the Offline Files tab, press CTRL+SHIFT, and then click Delete Files. The following message appears:
    The Offline Files cache on the local computer will be re-initialized. Any changes that have not been synchronized with computers on the network will be lost. Any files or folders made available offline will no longer be available offline. A computer restart is required.

    Do you wish to re-initialize the cache?
    2. Click Yes two times to restart the computer.

    Back to the top

    Method 2

    If you cannot access the Offline Files tab, use this method to reinitialize the Offline Files (CSC) cache on the system by modifying the registry. Use this method also to reinitialize the offline files database/client-side cache on multiple systems. Add the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache
    Key Name: FormatDatabase
    Key Type: DWORD
    Key Value: 1
    Note The actual value of the registry key is ignored. This registry change requires a restart. When the computer is restarting, the shell will reinitialize the CSC cache and then delete the registry key if the registry entry exists.

    Warning All cache files are deleted and unsynchronized data is lost.

    Back to the top

    REFERENCES

    For more information, click the following article number to view the article in the Microsoft Knowledge Base:
    230739 (http://support.microsoft.com/kb/230739/) Structure of the Offline Files cache folder
    328284 (http://support.microsoft.com/kb/328284/) Some files and folders that are not configured to be made available offline are cached

    Back to the top


    APPLIES TO
    Microsoft Windows 2000 Server
    Microsoft Windows 2000 Advanced Server
    Microsoft Windows 2000 Professional Edition
    Microsoft Windows Server 2003, Standard Edition (32-bit x86)
    Microsoft Windows XP Professional
  • 相关阅读:
    手机web页面调用手机QQ实现在线聊天的效果
    Java EE 6 最终草案暗示了平台的未来发展方向
    NetBeans 时事通讯(刊号 # 77 Oct 21, 2009)
    Java 依赖注射规范(JSR330)正式发布
    NetBeans IDE 6.8 里程碑 2 已经可用!
    Java 依赖注射规范(JSR330)正式发布
    对面向对象和面向过程的一些新理解
    NetBeans 时事通讯(刊号 # 76 Oct 13, 2009)
    Java EE 6 最终草案暗示了平台的未来发展方向
    “当前不会命中断点。源代码与原始版本不同”的问题的有效解决办法
  • 原文地址:https://www.cnblogs.com/jjkv3/p/1210811.html
Copyright © 2011-2022 走看看