No error message, the init module runs and gives no error but nothing is happening and the error is still there, and the folders are still there
If I try to remove it manually I get this error:
But I can not go in and manually delete that content.
You can probably try
var contentRootRepository = context.Locate.Advanced.GetInstance<ContentRootRepository>();
contentRootRepository.Delete("SysCampaignRoot");
instead
Have you tried removing the offending folders using the Manage Content feature in admin:
Hey David,
When I click manage content, the same error page appears unfortunately.
@gabed123
After trying out different solutions with Quan I endend up removing it directly from the database with SQL Script.
This solution is not supported or recommended by Episerver but for me I had to do it since the site didn't work otherway.
I run this script:
-- Remove ReportingMediaData
Delete From tblContentLanguage Where fkContentID = [ReportingMediaDataContentId]
Delete From tblWorkContent Where fkContentID = [ReportingMediaDataContentId]
Delete From tblContentAccess Where fkContentID = [ReportingMediaDataContentId]
Delete from tblContent where pkID = [ReportingMediaDataContentId]
-- Remove SalesCampaignFolder
Delete From tblContentLanguage Where fkContentID = [SalesCampaignFolderContentId]
Delete From tblWorkContent Where fkContentID = [SalesCampaignFolderContentId]
Delete From tblContentAccess Where fkContentID = [SalesCampaignFolderContentId]
Delete from tblContent where pkID = [SalesCampaignFolderContentId]
The [ReportingMediaDataContentId] and [SalesCampaignFolderContentId] I got by query the database for content by content type ReportingMediaData and SalesCampaignFolder.
As I said earlier this is a very last version of solution and if you do it you do it without support and you MUST take a backup of the database before and after you have run it you must restart the site in IIS to make Episerver remove the content types in the startup.
Hello
I have a solution where Commerce were installed but never used and now we have removed it.
The problem is that now in the set access rights page in Admin we get this message:
And if I try to delete that type in admin I get this message
Are there any way to fix this without doing it directly in the database?