volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

Error when deleting site

I'm trying to delete a site I created for test reasons through Deployment Center but I get an error,

"Error - Constructor not found. Cannot find an appropriate constructor for type System.IO.DirectoryInfo."

Does anyone have a clue why?

#74114
Aug 21, 2013 9:19

Looking at the powershell script being executed (C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\System Scripts\Delete Site.ps1) it looks related to the site's VPP folders. 

Just delete the site/VPPs manually from disk and the delete the site from IIS, instead of via deployment center.

#74568
Sep 02, 2013 10:08

Yes that's what I end up doing. It's just annoying that deleting through Deployment Center doesn't work with any sites.

#74569
Sep 02, 2013 10:10
error This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.