SharePoint error: “Cannot import Web Part”

前端 未结 11 1438
青春惊慌失措
青春惊慌失措 2021-02-08 02:33

I have a web part that I\'ve developed, and if I manually install the web part it is fine.

However when I have packaged the web part following the instructions on this w

11条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-08 03:03

    All great suggestions. My problem was unique and silly: I had deployed the solution to the first Web Application but not to the second. SharePoint however still allowed me to activate the feature on the second Web App's Site Collection (not sure why). This meant the second Web App didn't have a safe control entry in this Web.config file (and I was stupidly checking the first Web.config).

    So, double-check you're looking at the correct web application/web.config.

提交回复
热议问题