Subdomain Creation: Error: WebServerManager::addVhost() failed: websrvmng failed: Access is denied. (Error code 5) at GetLongPathName('C:\\inetpub\\vhosts\\domain.tld\\home\\client\\subdomain')

Created:

2016-11-16 12:59:31 UTC

Modified:

2017-04-24 12:01:02 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Subdomain Creation: Error: WebServerManager::addVhost() failed: websrvmng failed: Access is denied. (Error code 5) at GetLongPathName('C:\\inetpub\\vhosts\\domain.tld\\home\\client\\subdomain')

Applicable to:

  • Plesk 11.0 for Windows
  • Plesk 11.5 for Windows
  • Plesk 10.2 for Windows

Symptoms

Subdomain creation fails with error:

    Error: WebServerManager::addVhost() failed: websrvmng failed: Access is denied. (Error code 5) at GetLongPathName('C:\\inetpub\\vhosts\\domain.tld\\home\\client\\subdomain')

Cause

The folder C:\\inetpub\\vhosts\\domain.tld\\home\\client\\subdomain is not accessible. Not only by Plesk service, Windows Explorer also was not able to open it.

It may be caused by several reasons:

  1. The server is the virtual environment and some links are broken.
  2. Virus infection.
  3. File system corruption. Issue with NTFS permissions.

Resolution

Make sure that phisical folder is accessible with Windows Explorer. Check and fix the above possible reasons with the help of System Administrator.

Have more questions? Submit a request
Please sign in to leave a comment.