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 102:            Property objProp = new Property();
Line 103:            string strSelect = "Select Description from TrafotechUpdate where id="+id +"";
Line 104:            mycon.Open();
Line 105:            OleDbCommand mycmd = new OleDbCommand(strSelect,mycon );
Line 106:            dr = mycmd.ExecuteReader();

Source File: c:\Inetpub\vhosts\trafotech.net\httpdocs\App_Code\DAL.cs    Line: 104

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) +1828479
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +148
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +100
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +45
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6343166
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6343479
   System.Data.OleDb.OleDbConnection.Open() +47
   Trafotech.DAL.ShowContents(Int32 id) in c:\Inetpub\vhosts\trafotech.net\httpdocs\App_Code\DAL.cs:104
   Client.getDescription(Int32 id) in c:\Inetpub\vhosts\trafotech.net\httpdocs\Client.aspx.cs:15
   Client.Page_Load(Object sender, EventArgs e) in c:\Inetpub\vhosts\trafotech.net\httpdocs\Client.aspx.cs:9
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951