Server Error in '/' Application.

The 'microsoft.jet.oledb.4.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.jet.oledb.4.0' provider is not registered on the local machine.

Source Error:


Line 17: 	    using (OleDbConnection vt=new baglanti().baglan())
Line 18: 	    {
Line 19: 	        vt.Open();
Line 20:             OleDbCommand cmd=new OleDbCommand("SELECT * FROM sayac",vt);
Line 21: 	        OleDbDataReader dr = cmd.ExecuteReader();

Source File: c:\inetpub\vhosts\imhmac.com.tr\ar.imhmac.com.tr\App_Code\Islemler.cs    Line: 19

Stack Trace:


[InvalidOperationException: The 'microsoft.jet.oledb.4.0' provider is not registered on the local machine.]
   System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper) +263
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +515
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +104
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +57
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +1186
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +315
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +23
   System.Data.OleDb.OleDbConnection.Open() +53
   Islemler.Oku() in c:\inetpub\vhosts\imhmac.com.tr\ar.imhmac.com.tr\App_Code\Islemler.cs:19
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in c:\inetpub\vhosts\imhmac.com.tr\ar.imhmac.com.tr\Global.asax:50
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +375
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1257
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +703
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


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