2011-11-22 22 views
0

當在SharePoint 2010中添加自定義Web部件,我得到以下錯誤:錯誤「此頁無法顯示網頁上表單控件的Web部件......」

a web part of web form control on this page cannot be displayed or imported the type could not be found or is not registered as safe

已被註冊爲安全。 我是網站集管理員和機器管理員。

我使用的是最新的Visual Studio 2010

回答

0

確保Web部件組件在GAC或倉部署。如果沒有 - 將其放入GAC並執行IIS重置。並且正確的Web應用程序的web.config包含webpart的safecontrol條目。

相關問題