報錯提示:"the microsoft.jet.oledb.4.0 provider is not registered on the local machine"
錯誤起因:winfrom項目在32位系統里面創建,由於創建解決方案 Platform默認設置為Any Cpu,所以在64位系統下打開解決方案的時候Platform設置默認為為Any Cpu,正常情況下應該在64位系統下,開啟32cpu模式,即Active(*86)。
注意事項:Platform屬性修改后,各個類庫協同都應修改過來,以及Reference重新添加。
相關圖片:

