zoukankan      html  css  js  c++  java
  • Value was either too large or too small for a UInt32

    当我爬网的时候,出现这样的错误

    Value was either too large or too small for a UInt32.  

         at System.Convert.ToUInt32(Double value)
       at Microsoft.SharePoint.ApplicationPages.SPListInfo.get_ItemCount()
       at Microsoft.SharePoint.ApplicationPages.StorMan.DocLibDataViewer.Cells(UInt32 uCol)
       at Microsoft.SharePoint.ApplicationPages.StorMan.BuildView()
       at Microsoft.SharePoint.ApplicationPages.StorMan.Page_PreRender(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnPreRender(EventArgs e)
       at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Troubleshoot issues with Windows SharePoint Services.

     

    解决办法

    Hi,

    The error may be cause by the exceptions when convert a negative value to UInt32.

     

    Please do the following steps to diagnose the issue,

    1.    Log onto the SQL database server which your SharePoint site is based on.

    2.    Start the “Microsoft SQL Server Management Studio”.

    3.  Run the following SQL Statement in the content database of your site (You can check your content database name by Central Administration > Application Management > Content Databases):

     

    Select

      (select webs.FullUrl from webs where webs.Id = tp_WebId) as [siteurl],

      *

    From AllLists

    Where tp_ItemCount < 0

    Order by tp_ItemCount

     

    If there are some records returned, you could located the lists from the [siteurl] and [tp_Title] column.

     

    You can recreate the corrupted lists to solve the issue.

     

    If there are no sensitive data and you could not solve the issue by yourself, please let me know the result in order to do further research.

     

    If this is a business critical issue, it is suggest to contact Microsoft product/customer support services for further assistance.

  • 相关阅读:
    使用Git进行代码管理的心得
    软件工程的实践项目的自我目标
    第五次作业——团队项目——需求规格说明书
    第三次作业——结对编程
    第六次作业——团队作业
    调研Android平台的开发环境的发展演变
    第四次作业——个人作业——软件案例分析
    IT人士 不能一辈子靠技术生存
    Launchy、FARR、AutoHotKey哪个快速启动软件好?
    申请了好几次,终于通过了!庆祝一下!
  • 原文地址:https://www.cnblogs.com/ceci/p/1392947.html
Copyright © 2011-2022 走看看