2011-11-22 24 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条目。

相关问题