账号通
    

账号  

密码  

1898

查看

2

回复
主题:不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。 [收藏主题]  
artedu 当前离线

760

主题

202

广播

11

粉丝
添加关注
级别:六年级

用户积分:1601 分
登录次数:541 次
注册时间:2013/1/20
最后登录:2024/11/28
artedu 发表于:2014/3/27 22:26:38   | 显示全部帖子 查看该作者主题 楼主 
科汛在线考试系统(NET)
Server Error in '/' Application.
不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。
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.SqlClient.SqlException: 不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。

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:


 [SqlException (0x80131904): 不能比较或排序 text、ntext 和 image 数据类型,除非使用 IS NULL 或 LIKE 运算符。]   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857434   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735046   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31   System.Data.SqlClient.SqlDataReader.get_MetaData() +62   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +86   Kesion.DataBase.DBHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +138   Kesion.DataBase.DBHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +94   Kesion.DataBase.DBHelper.ExecuteDataset(CommandType commandType, String commandText, DbParameter[] commandParameters) +24   Kesion.SqlDAL.CommonData.GetDataTable(String tablename, String fields, SqlParam[] sqlparam, String orderstr) +1305   Kesion.SqlDAL.CommonData.GetDataTable(String tablename, String fields, SqlParam[] sqlparam) +47   Kesion.BLL.CommonData.GetDataTable(String tablename, String fields, SqlParam[] param) +46   Kesion.HtmlTags.ReplaceContent.ExplainDownContent(String& FileStr, String Content) +971   Kesion.RefreshHtml.RefreshProcess.USLoQKDrq(String , Int32 , String , Int32 , DataRow , String ) +49   Kesion.RefreshHtml.RefreshProcess.EEWGQ41w3(Int32 , Int32& , Int32& , DataTable ) +2806   Kesion.RefreshHtml.RefreshProcess.tMWju2yik() +5944   Kesion.RefreshHtml.RefreshProcess.StartRefresh() +115   Kesion.NET.WebSite.Admin_Collect_CollectProcess.vgfCTCeYVS() +6898   Kesion.NET.WebSite.Admin_Collect_CollectProcess.Page_Load(Object sender, EventArgs e) +245   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.50195秒 powered by KesionCMS 9.0