资讯王 发表于 2012-10-12 18:50:36

The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine

错误The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine
教学-因为Microsoft.Jet.OLEDB.4.0不支持64bits.

请参考下图:
http://3.bp.blogspot.com/-gjy0ucge84Q/UHf0pVpbE7I/AAAAAAAACI0/slujuxUW2wQ/s1600/The+'Microsoft.Jet.OLEDB.4.0'+provider+is+not+registered+on+the+local+machine.jpg


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:




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:






   System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper) +1757474
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1770220
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +100
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +61
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +948
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +6711619
   System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +26
   System.Data.OleDb.OleDbConnection.Open() +48
   WebAssetTracking.ImportAssetMaster.GetSheetName_DT(String strConn) +115
   WebAssetTracking.ImportAssetMaster.btnNext_Click(Object sender, EventArgs e) +483
   Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument) +312
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
页: [1]
查看完整版本: The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine