开发者

Custom webpart issue in sharepoint 2010 site

开发者 https://www.devze.com 2023-03-31 08:54 出处:网络
After configuring the alternet access mapping custom web part is not displaying in the site, while clicking link for webpart

After configuring the alternet access mapping custom web part is not displaying in the site, while clicking link for webpart throwing exception:

 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.

Pls help somebody how to solve this issue.


It obviously is the problem with AAM setting. Check how are you accessing the site in web Part. Is it using SPContext ? Or you are instantiating the new SPWeb object. If you are instantiang the new object, check which zone you are referring to.

Post the web part code if possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号