[英]How to solve Microsoft Access 2007 Exceptions?
我在C#.Net
Access 2007 Database
中的connectionString
中遇到困難。 當我加載MainForm
,發生以下異常。 請看。
System.InvalidOperationException: The 'Microsoft.ACE.OLEDB.12.0′ provider is not registered on the local machine.
例外后,我的MainForm
關閉。
我認為我的PC需要訪問驅動程序才能打開該程序。
我也是該程序的開發人員。
我在app.config
寫了以下connectionString
<add name="Constr2" connectionString="Provider=Microsoft.ACE.ODBC.12.0;Data Source=|DataDirectory|\InMyMind.accdb;Persist Security Info=True" providerName="System.Data.Odbc"/>
如果我需要司機,該怎么辦?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.