I have tried to delete a site which fails with the following error:
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing ‘DELETE’ task on ‘*DOMAINOBSCURED*’ WEB_SITE —> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.NullReferenceException: Object reference not set to an instance of an object.
I can’t recreate it because the system tells me it already exists.
Any suggestions on how to resolve this?
Is there for example a manual process/instructions to remove the corrupted site from the SolidCP database/filesystem, so that I can start again from scratch?
Hello,
I would first that that the website has been removed from IIS. If it has do you still see the website in the list for the user? If yes then i would detach it from there.
If you are unable to do it with the GUI you can check the database and remove it from [dbo].[ServiceItems] using [dbo].[ServiceItemTypes] to get the correct ItemTypeId for website. If the site is in IIS you need to manually remove it and any dedicated app pools also.
Kind regards,
Trevor Robinson