Issue :

While attempting to re-configure a domain or sub-domain in IIS using the websrvmng.exe plesk tool, following errors occurred.

For a domain:

“plesk_binwebsrvmng.exe”—reconfigure-vhost—vhost-name=ail.ru
The system cannot find the file specified. (COM Error 80070002)

For a sub domain:

“plesk_binwebsrvmng.exe”—update-subdomain—vhost-name=domain.com—subdomain=sub
The system cannot find the file specified. (COM Error 80070002) at configSubdomain(sub.domain.com)

Cause :

Some of the default folders were missing in the (sub) domain root folder.

Solution :

The missing folders need to be restoried using the Plesk re-configurator. This feature checks files permissions + restores missing folders + creates missing system users for the (sub) domain. It can be executed via command line as follows:

reconfigurator.exe /check-permissions=domain.com

Or using the Plesk Panel.

Plesk >> Domains >> domain.com. Check the problematic domain and click ‘Check permissions’.

This should eliminate the source and the command should run properly. For a sub-domain, the parent domain needs to be checked.


Shares
Contact Us On WhatsApp