大网数据广告活动
Web服务器与PHP

Configuration files can't be exported

· 52CE 我爱测

This article provides resolutions for the problem where configuration files cannot be exported to a DFS share through the internet services manager.

This article helps you resolve the problem where configuration files can't be exported to a DFS share through the Internet Services Manager.

Original product version:   Internet Information Services 7.0, 7.5
Original KB number:   2511835

Symptoms

When configuring shared configuration in Internet Information Services (IIS) 7.0 or 7.5, you must export the configuration from one server and store it in a location that all of the IIS servers can access. If that share is hosted on a domain-based Distributed File System (DFS) namespace, the export will fail with the following error:

Cannot write to the specified path. Make sure that the path and credentials are valid.

Cause

When validating the target share and determining its properties, the Internet Services Manager calls the NetShareGetInfo function. This function does not support DFS.

Resolution

To work around this problem, you can export the configuration files to a local path, then manually copy them to the DFS share.

  1. Open IIS Manager.
  2. In the tree view, select the server connection for which you want to set up configuration redirection.
  3. Double-click Shared Configuration.
  4. In the Actions pane, select Export Configuration...
  5. In the Export configuration dialog box, specify a local path (such as c:\temp) and provide a password to encrypt the exported files with.
  6. Select OK.
  7. Copy the exported files to the DFS share.

The rest of the configuration is the same as the normal shared configuration setup procedure. A detailed description of this procedure can be found at Shared Configuration.

More information

This problem does not happen when using a stand-alone namespace. For more information, see NetShareGetInfo function.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/07/2020
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。