首页 新闻 会员 周边 捐助

sharepoint 打开主页 SitePages/Home.aspx 提示异常

0
悬赏园豆:50 [已关闭问题] 关闭于 2013-05-09 12:36

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

 

想不出那里出现了空值,想知道如何排除呢?请了解的园友给个提示

编程笔记的主页 编程笔记 | 初学一级 | 园豆:107
提问于:2012-08-02 12:52
< >
分享
所有回答(2)
0

楼主检查下配置,或用debug模式跟踪下看看

az235 | 园豆:8483 (大侠五级) | 2012-08-03 15:21

请问 sharepoint 中的页面 如何debug

支持(0) 反对(0) 编程笔记 | 园豆:107 (初学一级) | 2012-08-03 15:24
0

修改站点下web.config:

1、SafeMode MaxControls="200" CallStack="true" 

2、<customErrors mode="Off" /> 

http://www.cnblogs.com/ceci/archive/2012/09/27/2705681.html

 

如果依旧 没有看到详细错误,你可以查看SharePoint的目录中的log文件。

邑尘 | 园豆:219 (菜鸟二级) | 2012-10-08 16:00
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册