• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Error during adding a new domain

M

marat_n

Guest
Hello,

We have Plesk 9.5.2 and Windows 2008 Web server edition (x64).

When I try to add new domain in Plesk I get the following error:

Error: Unable to update hosting preferences: WebServerManager::addVhost() failed: websrvmng failed: The system cannot find the file specified. (COM Error 80070002) at setScriptMaps(newdomain.com, )

And there is NO new site added to IIS.

I tried to use "Check permissions" feature in Plesk. It shows that it found problems with permissions and fixed it. Here is the report:

Checking newdomain.com...
Warning: IWPD_91(newdomain): Application pool user was absent. Plesk has created it.
Warning: Plesk Reconfigurator has found and fixed permissions problems on d:\inetpub\vhosts\newdomain.com\error_docs.
Warning: Plesk Reconfigurator has found and fixed permissions problems on d:\inetpub\vhosts\newdomain.com\httpdocs.
Warning: Plesk Reconfigurator has found and fixed permissions problems on d:\inetpub\vhosts\newdomain.com\httpdocs\picture_library.
Plesk Reconfigurator has found and fixed permissions problems on newdomain.com.
Total checked: 1.
Without security problems: 0.
With security problems: 1.


But after this check there still is no new sites in IIS. I also tried to enable "Use dedicated pool" option and got the following error:

Error: Unable to update hosting preferences: Unable to reconfigure Web server: websrvmng failed: The system cannot find the file specified. (COM Error 80070002) at setScriptMaps(newdomain.com, )

It's not the first time I got problems while adding and removing domains from Plesk 9.5.2. Recently I had to manually remove some domains (I removed folders, files, removed records in DNS config file and removed records from table of psa database)

Please help
 
Usually this error related to missing some PHP5 files like php5isapi.dll, php5nsapi.dll and etc. You can try to reinstall PHP 5 or just initiate Plesk restoration procedure. Then use following KB article http://kb.odin.com/en/1367
I hope it will help.
 
Usually this error related to missing some PHP5 files like php5isapi.dll, php5nsapi.dll and etc. You can try to reinstall PHP 5 or just initiate Plesk restoration procedure. Then use following KB article http://kb.odin.com/en/1367
I hope it will help.

Hello Igor,

Thanks for quick response

I did try this article http://kb.odin.com/en/1367 and it didn't help (see my 1st post, i described it).

I didnt understand your advice about fixing missing PHP5 files. What if we didnt use PHP at all? I should reinstall PHP5 anyway???

Waiting for your reply. Thanks in advance
 
Hello again, Igor.

Sorry, probably i put wrong information about PHP5 status on our Plesk server.
It's installed in Plesk (see attached screenshot).
In my previous post I just wanted to say that we dont use PHP for our sites.

Can you please help me with reinstalling PHP5?

Thanks
 

Attachments

  • 20100831#007.gif
    20100831#007.gif
    4.5 KB · Views: 7
First of all try to check that files php5isapi.dll, php5nsapi.dll are really exists. Contact Parallels support team if you can't reinstall PHP by yourself or try to Plesk installation recovering at least.
 
First of all try to check that files php5isapi.dll, php5nsapi.dll are really exists. Contact Parallels support team if you can't reinstall PHP by yourself or try to Plesk installation recovering at least.

I checked those files and they exist on the server (see attachments)

What else you can advise?

Thanks
 

Attachments

  • 20100831#018.gif
    20100831#018.gif
    1.8 KB · Views: 2
  • 20100831#019.gif
    20100831#019.gif
    1.5 KB · Views: 0
Try to add domain via CLI utility and check error messages in output. Maybe it will help.
 
Try to add domain via CLI utility and check error messages in output. Maybe it will help.

sorry, but i have never added domain via CLI.

while investigating the problem i found one strange thing in IIS plesk application pool config file c:\inetpub\temp\appPools\plesk(default)(2.0)(pool).config

Even after deleting sites from plesk and IIS the configuration strings for these sites are still present in this file:

<binding protocol="http" bindingInformation="123.111.111.111:80:mssql.newdomain.com" />
<binding protocol="http" bindingInformation="123.111.111.111:80:mssql.newdomain.com" />

etc for each subdomain (webmail., sitebuilder.).

Maybe I should try to remove those strings from app pool config file?
 
Last edited by a moderator:
Back
Top