SharePoint 2013 on-prem. Farm solution with Web scoped feature that deploys without problems when deploying directly from VisualStudio.
However, when trying to activate the feature in the normal way from Site Settings -> Site Features, activation fails.
After combing through the ULS logs, I see six errors like:
Unable to locate the xml-definition for CType with SPContentTypeId '0x01....etc'
It turns out also that it's really only three content type IDs, the errors occur twice for each ID.
Needless to say, the IDs throwing errors are not in my feature.
After much poking around and digging, I find that the IDs correspond to the following content types:
- Report Data Source
- Report Builder Report
- Report Builder Model
which all have to do with the SQL Reporting features.
Why would activation of my feature trigger SharePoint to look for content types of a feature that I'm not even using?
And more importantly, how can I fix it?