我有令人愉快的工作,使SP2010实例作为我的系统之一。有两个主要的“网站”,而且由于某种原因,资产选择部分将不会显示任何内容(屏幕截图: imgur链接)。这是在两个站点上发生的,据我所知,尚未触及视图,并且模板的所有文件修改都是2012年。这是一个星期前完美无瑕的。

我完成了以下内容:

  • 重新启动了IIS服务器,然后重新启动了整个服务器(它专用于SP)
  • 清除了配置中的XML缓存并重置计时器
  • 完全禁用了发布*功能并重新启用它们

    ...无济于。

    将显示左侧的任何项目的错误。 我绝不是一个SharePoint专家,但我确实尝试并破译了日志;所有这些都在发生错误时显示这些相同的线条:

    07/11/2013 12:46:58.39  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      nasq    Medium      Entering monitored scope (Request (POST:http://sp2010:80/sites/IAE/_layouts/AssetPortalBrowser.aspx?List=12d026f7%2D2805%2D4e06%2Db3ea%2D0ffcb87cf988&MDWeb=85d8b94f%2D8d3b%2D40cc%2D9bee%2D0aad67b2070b&AssetType=Image))   
    07/11/2013 12:46:58.39  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Logging Correlation Data        xmnv    Medium      Name=Request (POST:http://sp2010:80/sites/IAE/_layouts/AssetPortalBrowser.aspx?List=12d026f7%2D2805%2D4e06%2Db3ea%2D0ffcb87cf988&MDWeb=85d8b94f%2D8d3b%2D40cc%2D9bee%2D0aad67b2070b&AssetType=Image)    2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:58.40  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Logging Correlation Data        xmnv    Medium      Site=/sites/IAE 2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:58.42  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      b4ly    High        Leaving Monitored Scope (Load CachedList:12d026f7-2805-4e06-b3ea-0ffcb87cf988). Execution Time=9.55791867402142 2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:59.59  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Web Parts                       89a1    High        Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at System.Xml.Xsl.XslCompiledTransform.Load(MethodInfo executeMethod, Byte[] queryData, Type[] earlyBoundTypes)     at Microsoft.Xslt.STransform.GetCompiledTransform()     at Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver someXmlResolver)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)    2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:59.59  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      b4ly    High        Leaving Monitored Scope (DataBinding DataFormWebPart ()). Execution Time=1147.79112987824   2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:59.61  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      b4ly    Medium      Leaving Monitored Scope (Request (POST:http://sp2010:80/sites/IAE/_layouts/AssetPortalBrowser.aspx?List=12d026f7%2D2805%2D4e06%2Db3ea%2D0ffcb87cf988&MDWeb=85d8b94f%2D8d3b%2D40cc%2D9bee%2D0aad67b2070b&AssetType=Image)). Execution Time=1208.49828679343  2fcb7194-94d9-425e-a244-2d5a2658ea83
    07/11/2013 12:46:59.97  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      nasq    Medium      Entering monitored scope (Request (GET:http://sp2010:80/sites/IAE/_layouts/none))    
    07/11/2013 12:46:59.97  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Logging Correlation Data        xmnv    Medium      Name=Request (GET:http://sp2010:80/sites/IAE/_layouts/none) 1a5ba071-8860-4e9a-baaf-1e1d6fa6426c
    07/11/2013 12:46:59.97  w3wp.exe (0x1320)                           0x016C  SharePoint Foundation           Monitoring                      b4ly    Medium      Leaving Monitored Scope (Request (GET:http://sp2010:80/sites/IAE/_layouts/none)). Execution Time=2.17513678414435   1a5ba071-8860-4e9a-baaf-1e1d6fa6426c
    
    .

    如果任何人偶然发现这样的东西,可以帮助,或者知道特定的资源来检查,我会非常感激。

有帮助吗?

解决方案

我对所有控件都有相同的问题,使用asset.js,如publishingimage和publishinghyperlink字段。经过一点头击,我想出了这个问题是由Windows KB更新KB2844287引起的,我认为昨晚更新了。卸载它并重新启动框,字段应该开始工作正常。

其他提示

microsoft发布了一个修补程序,无需卸载kb2844286 http://support.microsoft.com/kb/2872441

我也看到了资产浏览器中的错误。相应的USL错误是:

在执行Web部件时出现错误:system.nullreferenceException:对象 引用未设置为对象的实例。

在system.xml.xsl.xslcompiledtransform.load(methodInfo ExecuteMethod, byte [] querydata,type []早期τountypes)

在Microsoft.xslt.stransform.getCompileDtransform()

在 Microsoft.SharePoint.WebPartPages.basexsltlistwebpart.loadxslcompiledtransform(wssxmlurlresolver. SomexmlResolver)

在 Microsoft.Sharepoint.WebPartPages.dataFormWebPart.getXSLCompileDtransform()

在 Microsoft.SharePoint.WebPartPages.DataFormWebPart.PreperanDperformTransform(Boolean. bdeferexecutetransform)

确认修补程序 http://support.microsoft.com/kb/2872441 解决了问题。修补程序表示不需要重启,但是我们必须重新启动服务器进行效果。

具有同样的问题(噩梦),因为许多员工受到影响。

这是真正的问题是,我通过卸载Windows更新Kb2844286来解决它。

许可以下: CC-BY-SA归因
scroll top