0

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()

deleted answer