产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 求助:提供程序无法确定 Object 值 在线等
liu_lht - 2011/4/7 10:42:00
原来的网站 由于服务器运行比较慢,所以换了一台服务器!
换了以后 进行初始化 也出现了没有权限的问题,后来增加了everyone账户,才解决问题。
现在新的问题又出现了:
部分文章点击后出现以下错误:
有意思的是 只是部分文章出现这些错误,不仅部分文章显示出错,这些文章类别在后台 发布 管理的时候也出现这些错误!  哪位大侠给支招!十分感谢
Server Error in '/' Application.
--------------------------------------------------------------------------------

The provider could not determine the Object value. For example, the row was just created, the default for the Object column was not available, and the consumer had not yet set a new Object value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The provider could not determine the Object value. For example, the row was just created, the default for the Object column was not available, and the consumer had not yet set a new Object value.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[InvalidOperationException: The provider could not determine the Object value. For example, the row was just created, the default for the Object column was not available, and the consumer had not yet set a new Object value.]
   System.Data.OleDb.ColumnBinding.Value() +1134
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +27
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +24
   PageAdmin.articleinfo.x49a3a7aee66dfd8f() +1278
   PageAdmin.articleinfo.Page_Load(Object sender, EventArgs e) +134
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


求解
xiyou - 2011/4/7 17:55:00
应该是之前发布的文章的某些字段没有值导致的。你更新数据库导致之前某些字段值为null,所以出错,打开information表看那些字段值是null给更改一下,一般int类型你吧null为改0应该就可以解决
1
查看完整版本: 求助:提供程序无法确定 Object 值 在线等