Server Error in '/' Application.

'SQLOLEDB' failed with no error message available, result code: E_FAIL(0x80004005).

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: 'SQLOLEDB' failed with no error message available, result code: E_FAIL(0x80004005).

Source Error:


Line 53:     public static void SetRewriteByLanguage(string lang)
Line 54:     {
Line 55:         Homepage = LanguageItemExtension.GetnLanguageItemTitleByName("trang-chu", lang);
Line 56:         AboutUs = LanguageItemExtension.GetnLanguageItemTitleByName("gioi-thieu", lang);
Line 57:         Blog = LanguageItemExtension.GetnLanguageItemTitleByName("danh-sach-dai-ly", lang);

Source File: d:\vhosts\pro14.tatthanh.vn\thietbidienschneider.net.vn\App_Code\Developer\Extension\RewriteExtension.cs    Line: 55

Stack Trace:


[OleDbException (0x80004005): 'SQLOLEDB' failed with no error message available, result code: E_FAIL(0x80004005).]
   System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) +1247614
   System.Data.OleDb.OleDbDataReader.GetRowHandles() +250
   System.Data.OleDb.OleDbDataReader.ReadRowset() +36
   System.Data.OleDb.OleDbDataReader.Read() +138
   System.Data.OleDb.OleDbDataReader.NextResult() +461
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +241
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +115
   System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +140
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +138
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +89
   TatThanhJsc.Database.SQLDatabase.GetData(OleDbCommand cmd) +599
   TatThanhJsc.Database.LanguageItem.GetLanguageItem(String top, String fields, String condition, String order) +984
   LanguageItemExtension.GetnLanguageItemTitleByName(String nLanguageKeyTitle, String language) +966
   RewriteExtension.SetRewriteByLanguage(String lang) in d:\vhosts\pro14.tatthanh.vn\thietbidienschneider.net.vn\App_Code\Developer\Extension\RewriteExtension.cs:55
   LoadCode.Page_Load(Object sender, EventArgs e) in d:\vhosts\pro14.tatthanh.vn\thietbidienschneider.net.vn\LoadCode.ascx.cs:63
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9277.0