【问题标题】:Custom webpart issue in sharepoint 2010 sitesharepoint 2010 站点中的自定义 webpart 问题
【发布时间】:2011-08-27 13:50:25
【问题描述】:

配置 alternet 访问映射 后,自定义 Web 部件未显示在站点中,同时单击 Web 部件的链接 抛出异常:

 The "webpart5" Webpart appears to be causing a problem. Exception has been thrown by the  target of an invocation.
Web Parts Maintenance Page: If you have permission, you can use this page temprarily close Web parts or remove
personal settings. For more information, contact your site administrator.

请帮助某人如何解决这个问题。

【问题讨论】:

    标签: sharepoint-2010 web-parts


    【解决方案1】:

    这显然是 AAM 设置的问题。检查您如何在 Web 部件中访问该网站。它使用 SPContext 吗?或者您正在实例化新的 SPWeb 对象。如果您正在实例化新对象,请检查您指的是哪个区域。

    如果可能,发布 Web 部件代码。

    【讨论】:

      猜你喜欢
      • 2011-08-24
      • 2011-05-24
      • 2011-11-03
      • 2011-05-21
      • 1970-01-01
      • 2011-03-26
      • 2013-12-27
      • 2011-08-23
      • 2011-07-10
      相关资源
      最近更新 更多