| Previous | Next |
| WDSCP_E_INVALID_CONFIGURATION | WDSCP_E_CONFIG_STRING_REQUIRED |
WDSCP_E_NOT_A_DIRECTORY
WDSCP_E_NOT_A_DIRECTORY is a path-type validation failure in the WDS content provider. The namespace configuration is provider-specific; for the WDS content-provider configuration represented by this error, the selected path must resolve to a directory rather than a regular file or another unusable object.
Check the configured path as seen by the WDS server process
- Read the namespace
Configurationvalue and preserve it exactly, including environment-specific path syntax. - On the WDS server, resolve the path and verify that it exists as a directory under the service security context.
- Keep path-type failure separate from access denial: a directory can exist yet still be inaccessible, while this code specifically identifies the configured object as not a directory.
Because content provider configuration is attached to the WDS transport namespace, the same provider DLL can serve namespaces with different configuration values. Compare the failing namespace configuration with a working one and verify whether deployment automation accidentally supplied a WIM/file path where a directory root was expected. Correct the namespace/provider configuration and then allow the provider to reinitialize.
Namespace configuration · WDS transport namespaces · Provider initialization
Looking for a different code? Search another status or error code.