Stuck between a roc...
 
Notifications
Clear all

Stuck between a rock and a hard place - can't delete or recreate a site

3 Posts
2 Users
0 Reactions
959 Views
Posts: 2
Topic starter
(@justin)
New Member
Joined: 7 years ago

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?

2 Replies
Posts: 1487
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

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

Reply
Posts: 2
Topic starter
(@justin)
New Member
Joined: 7 years ago

Hi Trevor,

Thanks for the prompt response. I will give that a try and let you know how I get on.

Justin

Reply
Share: