December 17, 2009

Can not update domain or sub domain configuration in IIS

Post Applies for: Plesk for Windows

SYMPTOMS:-
When you try to reconfigure domain or sub domain configuration in IIS using Plesk tool websrvmng.exe you get an error. For a domain:

C:\Program Files\SWsoft\Plesk\admin\bin>websrvmng.exe --reconfigure-vhost --vhost-name=anishonweb.com

The system cannot find the file specified. (COM Error 80070002)

For a sub domain:

C:\Program Files\SWsoft\Plesk\admin\bin>websrvmng.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 default folders for Plesk domain are missed in (sub) domain root folder.

“%plesk_vhosts%domain.com\”

SOLUTION:-
Restore missing folder using Plesk reconfigurator. This feature checks files permissions + restores missing folders + creates missing system users for (sub) domain. You can call it directly from the server:

reconfigurator.exe /check-permissions=domain.com

or using Plesk Panel.

Plesk > Domains > domain.com > check on problem domain > click `Check permissions`.

This should eliminate the source and the command should running properly.

To perform such checking a for sub domain, you need to check its domain.

Note: Plesk checking can be called only for domains, but if these domains have any sob domains they will be also checked.


Hope this helps.

No comments:

Post a Comment