Server Error in '/' Application.

'Microsoft.ACE.OLEDB.12.0' failed with no error message available, result code: DB_E_OBJECTOPEN(0x80040E05).

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: 'Microsoft.ACE.OLEDB.12.0' failed with no error message available, result code: DB_E_OBJECTOPEN(0x80040E05).

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 (0x80040e05): 'Microsoft.ACE.OLEDB.12.0' failed with no error message available, result code: DB_E_OBJECTOPEN(0x80040E05).]
   System.Data.OleDb.OleDbCommand.ProcessResults(OleDbHResult hr) +1549109
   System.Data.OleDb.OleDbCommand.InitializeCommand(CommandBehavior behavior, Boolean throwifnotsupported) +398
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +28
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +219
   System.Data.OleDb.OleDbCommand.ExecuteScalar() +140
   dal_DataAccess.ExecuteScalar(String StoredProcedureName) +53
   bll_Pattern.GetHtmlByID(Int32 ID) +114
   icl_Template.GetListHtml(Int32 TypeID, Int32 PatternID, DataRow Dr, NameValueCollection nv_Prop, Int32 Index, Int32 Count, DataTable dt_Field, dal_DataAccess dal) +88
   Gallery.Page_Load(Object sender, EventArgs e) +8275
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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