1
我使用一個excel閱讀器來讀取Excel的內容,的「Microsoft.ACE.OLEDB.12.0」供應商未在Windows Server
string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=" + filePath + ";Extended Properties=Excel 12.0;";
System.Data.OleDb.OleDbConnection ExcelConnection
= new System.Data.OleDb.OleDbConnection(connectionString);
我在工作的註冊本地機器上的錯誤在Windows 7終極x64安裝VS2010。 當我用VS運行時,它在我的本地機器上正常工作。當我在服務器上傳網站時,出現以下錯誤。我應該在這裏做什麼,我可以訪問服務器。由於
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. Error
:我要在我的服務器
10秒更快;-)。很好,你提到了架構。 – CodeZombie