Initially a site gave the error ‘Object reference not set to an instance of an object’ when trying to delete the site. So the site was instead detached, the site was deleted from IIS, there were no application pools for it, removed the folder from HostingSpaces and removed the user account from Local Users.
However upon creating the site again, without any errors, simply clicking on the ‘Save Changes’ button without making any changes causes the below error message. If I rename the local user and click ‘Save Changes’ again it will give a user account doesn’t exist or can’t be found error, but recreates the user account, clicking ‘Save Changes’ a second time gives the below error again.
Any ideas on what I can do to sort this?
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing ‘UPDATE’ task on ” WEB_SITE —> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Could not create system user —> System.Runtime.InteropServices.COMException: The account already exists.
at System.DirectoryServices.DirectoryEntry.CommitChanges()
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
— End of inner exception stack trace —
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
at SolidCP.Providers.Web.IIs70.CreateWebSiteAnonymousAccount(WebSite site)
at SolidCP.Providers.Web.IIs70.UpdateSite(WebSite site)
at SolidCP.Server.WebServer.UpdateSite(WebSite site)
— End of inner exception stack trace —
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site)
— End of inner exception stack trace —
at SolidCP.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site)
at SolidCP.EnterpriseServer.esWebServers.UpdateWebSite(WebSite site)
— End of inner exception stack trace —
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esWebServers.UpdateWebSite(WebSite site)
at SolidCP.Portal.WebSitesEditSite.SaveWebSite()
Hi Trevor
Strange, I just replied, hope this doesn’t double post.
Not running AD, standalone server with a standalone SolidCP install.
Can’t delete the site from within SolidCP it fails, can’t remember the error, but I can try again if you want. The last time I tried I needed to detach the site and then clean up from within IIS (site and app pool), filesystem and local users.
Aftab
When attempting to delete the domain I get three of the following:
[6/22/2017 2:44:13 PM] ERROR: Could not retrieve Web Deploy key from the registry
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Web.IIs70.IsWebDeployInstalled()
and one of the following:
[6/22/2017 2:44:14 PM] ERROR: ‘Internet Information Services 8.0’ DeleteSite
System.Runtime.InteropServices.COMException (0x800708AD): The user name could not be found.at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
at SolidCP.Providers.Utils.SecurityUtils.HasLocalGroupMembership(String userName, String groupName, RemoteServerSettings serverSettings, String usersOU)
at SolidCP.Providers.Web.IIs70.DeleteSite(String siteId)
at SolidCP.Server.WebServer.DeleteSite(String siteId)
Aftab