Server Error in '/' Application.
--------------------------------------------------------------------------------
Selected collating sequence not supported by the operating system.
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: Selected collating sequence not supported by the operating system.
Source Error:
Line 34: #region 推荐影片
Line 35: sql = "SELECT top 27 * FROM T_Films where Status = 1 and FilmIsCommend = 1 and FilmClassID not in(Select ID From T_FilmClass where ClassStatus = 0) order by id desc";
Line 36: DataSet dsTop = db.GetDataSet(sql);
Line 37: int i = 0;
Line 38: foreach (DataRow row in dsTop.Tables[0].Rows)
Source File: d:\inetpub\vhosts\onsss.com\httpdocs\Default.aspx.cs Line: 36
Stack Trace:
[OleDbException (0x80004005): Selected collating sequence not supported by the operating system.]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1003520
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +4
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94
Zys.DBO.OleDBOperator.GetDataSet(String QueryString) in Z:\Asp.net程序\BFVod\DBO\OleDBOperator.cs:123
_Default.pageload() in d:\inetpub\vhosts\onsss.com\httpdocs\Default.aspx.cs:36
_Default.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\onsss.com\httpdocs\Default.aspx.cs:22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082 |