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.

转载于:https://www.cnblogs.com/ceci/archive/2009/02/18/1392947.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值