Server Error in '/' Application.

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

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.InvalidOperationException: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Source Error:


Line 43:             string result = "";
Line 44: 
Line 45:             List<DBHelper.Entities.Partner> lstPartners = PartnerBus.GetALLPartners();
Line 46:             if (lstPartners != null && lstPartners.Count > 0)
Line 47:                 result = ESRINEA.JSON.Converter.ObjectToJSONString(lstPartners, typeof(List<DBHelper.Entities.Partner>));

Source File: c:\domains\smarteib.com\www\partners.aspx.cs    Line: 45

Stack Trace:


[InvalidOperationException: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.]
   System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper) +1193742
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +320
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +88
   System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +24
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +38
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +507
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +19
   System.Data.OleDb.OleDbConnection.Open() +42
   DBHelper.Utility.ExecuteResultsQuery(String Query) in C:\Documents and Settings\Ayah\My Documents\Visual Studio 2005\Projects\DBHelper\DBHelper\Utility.cs:55
   DBHelper.Partners.PartnersDAL.getAllPartners() in C:\Documents and Settings\Ayah\My Documents\Visual Studio 2005\Projects\DBHelper\DBHelper\DAL\Partner\PartnersDAL.cs:14
   DBHelper.BLL.PartnerBus.GetALLPartners() in C:\Documents and Settings\Ayah\My Documents\Visual Studio 2005\Projects\DBHelper\DBHelper\BLL\PartnerBus.cs:16
   partners.GetALLPartners() in c:\domains\smarteib.com\www\partners.aspx.cs:45
   partners.Page_Load(Object sender, EventArgs e) in c:\domains\smarteib.com\www\partners.aspx.cs:27
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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