1
Vote

安装解决方案后,网页打不开

description

安装解决方案后,网页就打不开了.停用解决方案后还是打不开.要在管理中心把解决方案设置成"未部署"才能重新打开网页 .

问题出现时,只有系统管理员仍然可以打开网页.其他用户打开网页后出现以下错误:

“/”应用程序中的服务器错误。

未将对象引用设置到对象的实例。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
CodeArt.SharePoint.PermissionEx.ListViewPermissionSetting.GetListSetting(SPList list) +131
CodeArt.SharePoint.PermissionEx.PermissionListViewSelector.OnPreRender(EventArgs e) +383
System.Web.UI.Control.PreRenderRecursiveInternal() +107
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223
System.Web.UI.Control.PreRenderRecursiveInternal() +223

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3393

版本信息: Microsoft .NET Framework 版本:2.0.50727.5477; ASP.NET 版本:2.0.50727.5483

comments

jianyi wrote Jun 6, 2014 at 2:57 AM

in sp2010 ,test CodeArt_PermissionEx_1.53, can't find this issue.

xixjxj wrote Jun 9, 2014 at 12:31 AM

I also posted this in "DISCUSSIONS" section.

In my SP 2010 foundation environment, it does not occur on primary-website or some sub-websites. But it does occur on some other sub-websites.

The problematic sub-websites are quite simple. There are just some default lists with no customized code.

Is it possible if i share my desktop with you, so that we can troubleshoot this together?

Thanks for your time :)