2011-08-27 59 views
0

配置alternet訪問映射自定義Web部件後,未在網站上顯示,同時單擊鏈接的WebPart 拋出異常:自定義Web部件問題在SharePoint 2010網站

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. 

請幫助別人如何解決這個問題。

+0

請提供示例代碼 – int32

回答

0

顯然是AAM設置的問題。檢查您如何訪問Web部件中的網站。它使用SPContext嗎?或者你正在實例化新的SPWeb對象。如果您正在實例化新對象,請檢查您所指的是哪個區域。

如果可能,發佈Web部件代碼。

相關問題