Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sharepoint 服务器错误:加载Web部件时出现问题_Sharepoint_Sharepoint 2007 - Fatal编程技术网

Sharepoint 服务器错误:加载Web部件时出现问题

Sharepoint 服务器错误:加载Web部件时出现问题,sharepoint,sharepoint-2007,Sharepoint,Sharepoint 2007,我正在尝试将OneViewCalendarWebpart添加到我的网站。当我尝试从库中添加Web部件时,出现以下错误 “/”应用程序中出现服务器错误。 值不能为null。 参数名称:g 描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源 异常详细信息:System.ArgumentNullException:值不能为null。 参数名称:g 源错误: 在执行当前web请求期间生成了未经处理的异常。有关异常的起源和位置的信息可以使用下面的异常

我正在尝试将OneViewCalendarWebpart添加到我的网站。当我尝试从库中添加Web部件时,出现以下错误

“/”应用程序中出现服务器错误。 值不能为null。 参数名称:g 描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源

异常详细信息:System.ArgumentNullException:值不能为null。 参数名称:g

源错误:

在执行当前web请求期间生成了未经处理的异常。有关异常的起源和位置的信息可以使用下面的异常堆栈跟踪来识别

堆栈跟踪:

[ArgumentNullException:值不能为null。 参数名称:g] System.Guid..ctor(字符串g)+7452814 Microsoft.GroupBoard.WebControl.CalendarViewControlTraverser.GetListFromCalendarControl()+62 Microsoft.GroupBoard.WebControl.CalendarViewControlTraverser.get_IsSRList()+8 微软.GroupBoard.WebControls.gbwlistdefiniter.OnInit(EventArgs e)+83 System.Web.UI.Control.InitRecursive(Control namingContainer)+333 System.Web.UI.Control.InitRecursive(Control namingContainer)+210 System.Web.UI.Control.AddedControl(控件控件,Int32索引)+198 System.Web.UI.ControlCollection.Add(控件子级)+80 Microsoft.SharePoint.WebControl.SPCalendarView.CreateChildControls()+644 System.Web.UI.Control.ensureChildControl()+87 System.Web.UI.Control.PreRenderRecursiveInternal()+44 System.Web.UI.Control.PreRenderRecursiveInternal()+171 System.Web.UI.WebControls.WebParts.WebPart.prerenderCursiveInternal()+42 System.Web.UI.Control.PreRenderRecursiveInternal()+171 System.Web.UI.Control.PreRenderRecursiveInternal()+171 System.Web.UI.Control.PreRenderRecursiveInternal()+171 System.Web.UI.Control.PreRenderRecursiveInternal()+171 System.Web.UI.Control.PreRenderRecursiveInternal()+171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean IncludeStagesSafteraSyncpoint)+842

似乎未初始化
ListName
属性,但Web部件尝试读取它(据我所知,您在Microsoft GroupBoard Workspace Web部件中遇到问题)

据我回忆,从我玩“GroupBoard”解决方案时起,这些Web部件必须从代码中添加,不能从Web部件库中添加。看看这篇博文中的评论: