• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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