商城5.0后台 管理商品评论 出错
text、ntext 和 image 数据类型不能用于 ORDER BY 子句中。 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.Data.OleDb.OleDbException: text、ntext 和 image 数据类型不能用于 ORDER BY 子句中。
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:
| [OleDbException (0x80040e14): text、ntext 和 image 数据类型不能用于 ORDER BY 子句中。] System.Data.OleDb.OleDbDataReader.ProcessResults(Int32 hr) +63 System.Data.OleDb.OleDbDataReader.NextResult() +286 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +269 System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +68 System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5 System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36 XpShop.Utility.ReviewDB.GetProductReviewsTable() wqshop.Admin.Review.BindReviews() wqshop.Admin.Review.Page_Load(Object sender, EventArgs e) System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750 |
请问如何解决?谢谢!!

allzg 最后编辑于 2007-08-02 00:41:17
互助--生存之道!欢迎访问:http://www.allzg.com/