• 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.

add new domain issue

M

MohammadM

Guest
Hello

When I wanted to add new domain, I will recieve the following error:


Error: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=payatests.com" failed with error code 1: Filename: Error: Cannot add duplicate collection entry of type 'site' with unique key attributes 'name, id' respectively set to 'sqladmin(default), 242' In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(IAppHostElement pElement, Int32 cPosition) at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T element) at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingProtocol, String bindingInformation, String physicalPath, Byte[] certificateHash) at Microsoft.Web.Administration.SiteCollection.Add(String name, String physicalPath, Int32 port) at IIS7WebSites.add(IIS7WebSites* , auto_ptr* , basic_string\,std::allocator >* idnName, list >* bindings, basic_string\,std::allocator >* rootPath, Int64 id) at addWebSite(sqladmin(default), C:\Inetpub\vhosts\sqladmin)(WebServerMap::addWebSite line 73) at addLinkSite(sqladmin, C:\Inetpub\vhosts\sqladmin)(WebServerAdapter::addLinkSite line 4332) at addSqlAdminLink(payatests.com)(WebServerAdapter::addSqlAdminLink line 4745) at addDomain(payatests.com)(WebServerAdapter::addDomain line 150) at execute console command --add-domain(vconsoleapp::start line 132) at execute "C:\Program Files\Parallels\Plesk\admin\bin\websrvmng" --add-domain "--domain-name=payatests.com"(vconsoleapp::run line 143) at (execUtil line 142) at Execute C:\Program Files\Parallels\Plesk\admin\bin\websrvmng --add-domain "--domain-name=payatests.com"(execUtil line 149) at Create domain payatests.com(domainmng::addDomain line 29) at execute console command --add-domain(vconsoleapp::start line 132) at execute "C:\Program Files\Parallels\Plesk\/admin/bin/domainmng" --add-domain "--domain-name=payatests.com"(vconsoleapp::run line 143)



this is Win 2008 server 32 bit, IIS 7, Plesk 10.4.4

anyone could help?
 
I fixed the 1st problem and now I could add domains, but for a specific domain, I receive this:

Error: Unable to update domain data: Failed mail post-configuration: Can't create mail domain servie: mail_Facade->createDomain() failed: mailmng failed: MEAOPO.PostOffice.AddPostOffice failed for name neevco.com [neevco.com] at (MailEnable::MailEnableDomain::MailEnableDomain line 22) at execute console command --add-domain(vconsoleapp::start line 132) at execute "C:\Program Files\Parallels\Plesk\/admin/bin/mailmng" --add-domain "--domain-name=neevco.com"(vconsoleapp::run line 143)


any idea?
 
Hello

When I wanted to add new domain, I will recieve the following error:


Error: Unable to update domain data: Execute websrvmng --add-domain "--domain-name=payatests.com" failed with error code 1: Filename: Error: Cannot add duplicate collection entry of type 'site' with unique key attributes 'name, id' respectively set to 'sqladmin(default), 242' In module Exception type: System.Runtime.InteropServices.COMException at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(IAppHostElement pElement, Int32 cPosition) at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T element) at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingProtocol, String bindingInformation, String physicalPath, Byte[] certificateHash) at Microsoft.Web.Administration.SiteCollection.Add(String name, String physicalPath, Int32 port) at IIS7WebSites.add(IIS7WebSites* , auto_ptr* , basic_string\,std::allocator >* idnName, list >* bindings, basic_string\,std::allocator >* rootPath, Int64 id) at addWebSite(sqladmin(default), C:\Inetpub\vhosts\sqladmin)(WebServerMap::addWebSite line 73) at addLinkSite(sqladmin, C:\Inetpub\vhosts\sqladmin)(WebServerAdapter::addLinkSite line 4332) at addSqlAdminLink(payatests.com)(WebServerAdapter::addSqlAdminLink line 4745) at addDomain(payatests.com)(WebServerAdapter::addDomain line 150) at execute console command --add-domain(vconsoleapp::start line 132) at execute "C:\Program Files\Parallels\Plesk\admin\bin\websrvmng" --add-domain "--domain-name=payatests.com"(vconsoleapp::run line 143) at (execUtil line 142) at Execute C:\Program Files\Parallels\Plesk\admin\bin\websrvmng --add-domain "--domain-name=payatests.com"(execUtil line 149) at Create domain payatests.com(domainmng::addDomain line 29) at execute console command --add-domain(vconsoleapp::start line 132) at execute "C:\Program Files\Parallels\Plesk\/admin/bin/domainmng" --add-domain "--domain-name=payatests.com"(vconsoleapp::run line 143)



this is Win 2008 server 32 bit, IIS 7, Plesk 10.4.4

anyone could help?


Hello MohammadM,

Can you please let me know that how did you resolve the above issue.
I am also getting the same error while resetting the user password for the domain ::

Error: Unable to update hosting preferences: Unable to reconfigure Web server: websrvmng failed: Filename:
Error: Cannot add duplicate collection entry of type 'site' with unique key attributes 'name, id' respectively set to 'pigweb.co.uk, 23'
In module
Exception type: System.Runtime.InteropServices.COMException
at Microsoft.Web.Administration.Interop.IAppHostElementCollection.AddElement(IAppHostElement pElement, Int32 cPosition)
at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.Add(T element)
at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingProtocol, String bindingInformation, String physicalPath, Byte[] certificateHash)
at Microsoft.Web.Administration.SiteCollection.Add(String name, String physicalPath, Int32 port)
at IIS7WebSites.add(IIS7WebSites* , auto_ptr<IWebSite>* , basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >* idnName, list<WebSiteBinding\,std::allocator<WebSiteBinding> >* bindings, basic_string<wchar_t\,std::char_traits<wchar_t>\,std::allocator<wchar_t> >* rootPath, Int64 id)

Awaiting for your response.
 
Back
Top