CINXE.COM

全文谓词是 Null 或为空。

<html> <head> <title>全文谓词是 Null 或为空。</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>“/”应用程序中的服务器错误。<hr width=100% size=1 color=silver></H1> <h2> <i>全文谓词是 Null 或为空。</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> 说明: </b>执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br><br> <b> 异常详细信息: </b>System.Data.SqlClient.SqlException: 全文谓词是 Null 或为空。<br><br> <b>源错误:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> 行 526: Dim V_11 As Integer = 0 行 527: Dim SqlStr_11 As String = &quot;select top 20 t_id,t_title from TE_Travels Where CONTAINS(T_Title,&#39;&quot; &amp; d.name &amp; &quot;&#39;) order by NewId()&quot; <font color=red>行 528: Dim Dr_11 As SqlDataReader = General.DataList(SqlStr_11,0) </font>行 529: If Dr_11.Read Then 行 530: Do</pre></code> </td> </tr> </table> <br> <b> 源文件: </b> D:\Websites\ptotour.com\line\list.aspx<b> &nbsp;&nbsp; 行: </b> 528 <br><br> <b>堆栈跟踪:</b> <br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> [SqlException (0x80131904): 全文谓词是 Null 或为空。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +109 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +126 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +238 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2311 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33 System.Data.SqlClient.SqlDataReader.get_MetaData() +83 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +310 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1032 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +242 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +20 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +144 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +10 System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +10 TourEx.DBUtility.DbHelper.ExecuteReader(DbConnection connection, DbTransaction transaction, CommandType commandType, String commandText, DbParameter[] commandParameters, DbConnectionOwnership connectionOwnership) +658 TourEx.DBUtility.DbHelper.ExecuteReader(CommandType commandType, String commandText, DbParameter[] commandParameters) +339 TourEx.DBUtility.DbHelper.ExecuteReader(CommandType commandType, String commandText) +45 TourEx.DAL.General.DataList(String SqlStr, Int32 Starts) +20 TourEx.BLL.General.DataList(String SqlStr, Int32 Starts) +5 ASP.line_list_aspx.OnInit(EventArgs e) in D:\Websites\ptotour.com\line\list.aspx:528 System.Web.UI.Control.InitRecursive(Control namingContainer) +391 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1572 </pre></code> </td> </tr> </table> <br> <hr width=100% size=1 color=silver> <b>版本信息:</b>&nbsp;Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.1040 </font> </body> </html> <!-- [SqlException]: 全文谓词是 Null 或为空。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 在 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() 在 System.Data.SqlClient.SqlDataReader.get_MetaData() 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) 在 TourEx.DBUtility.DbHelper.ExecuteReader(DbConnection connection, DbTransaction transaction, CommandType commandType, String commandText, DbParameter[] commandParameters, DbConnectionOwnership connectionOwnership) 在 TourEx.DBUtility.DbHelper.ExecuteReader(CommandType commandType, String commandText, DbParameter[] commandParameters) 在 TourEx.DBUtility.DbHelper.ExecuteReader(CommandType commandType, String commandText) 在 TourEx.DAL.General.DataList(String SqlStr, Int32 Starts) 在 TourEx.BLL.General.DataList(String SqlStr, Int32 Starts) 在 ASP.line_list_aspx.OnInit(EventArgs e) 位置 D:\Websites\ptotour.com\line\list.aspx:行号 528 在 System.Web.UI.Control.InitRecursive(Control namingContainer) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: 引发类型为“System.Web.HttpUnhandledException”的异常。 在 System.Web.UI.Page.HandleError(Exception e) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequest() 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) 在 System.Web.UI.Page.ProcessRequest(HttpContext context) 在 ASP.line_list_aspx.ProcessRequest(HttpContext context) 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- 此错误页可能包含敏感信息,因为 ASP.NET 通过 &lt;customErrors mode="Off"/&gt; 被配置为显示详细错误消息。请考虑在生产环境中使用 &lt;customErrors mode="On"/&gt; 或 &lt;customErrors mode="RemoteOnly"/&gt;。-->