Gentlemen,
I have trouble operating the SolidCP with IIS8.5 and Windows Server 2012 R2, when trying to create a web site has the following error message:
[9/10/2016 5:30:37 PM] ERROR: 'Internet Information Services 8.0' SiteIdExists
System.Runtime.InteropServices.COMException (0x8007000D): Invalid site name
at Microsoft.Web.Administration.Interop.IAppHostProperty.set_Value(Object value)
at Microsoft.Web.Administration.ConfigurationElementCollectionBase`1.FindElementWithCollectionKey(String elementName, String collectionKey, Object value)
at Microsoft.Web.Administration.SiteCollection.get_Item(String name)
at SolidCP.Providers.Web.Iis.WebObjects.WebObjectsModuleService.SiteExists(ServerManager srvman, String siteId)
at SolidCP.Providers.Web.IIs70.SiteExists(String siteId)
at SolidCP.Server.WebServer.SiteExists(String siteId)
I appreciate any help.
Thank you
Hello,
Does the site already exist in IIS Management?
SolidCP makes them as domain.com for site name, if it already exists it won't be able to create it.
Regards,
Marco
Hello Marco,
It is a new web site, it does not exist in IIS8.
Something curious is debugging the application the function SiteExists(siteId) is sending NULL because GetSiteId("domain.com") returns null when the site does not exist.
I do not know if you can understand my explanation above, but in summary I am afraid that the error is coming because the function SiteExists(siteId) is sending the null value as parameter.
I'm sorry for my English.
Thanks.
hmm, it's strange.
Are you trying to make any special char type of domain or just something like testdomain101.com ?
other things i would check:
- SolidCP Server module is installed on that server? (i assume so ofc)
- SolidCP Server application pool user has Administrator rights?
- Is the SolidCP Server the same version as portal?
In the end i tested all IIS's from 2003 (v6) to IIS 10 without issues on SolidCP 1.1.0 so i can confirm the codes it self are ok.
PS: Your english is fine, don't worry about it 🙂
Hello Marco,
I appreciate your efforts to help me! Well, let's questions:
- SolidCP Server module is installed on that server? (i assume so ofc)
- yes, I did the installation by the installer.
- SolidCP Server application pool user has Administrator rights?
- yes, it is automatically configured by the installer.
- Is the SolidCP Server the same version as portal?
- I do not use the SolidCP Portal, only use the SolidCP Server module to administer IIS. I have a own application that consumes the SolidCP Server services. You may be finding it strange, but my control panel meets other services my business. This already worked a long time with WebsitePanel (IIS6) and decided to migrate to SolidCP to admire the excellent work you have been developing. That migration worked all as expected in Windows Server 2003, but unfortunately I am with this issue in the 2012 version (IIS8.5).
Thanks!