引用@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sourcefile + ";";
服務器端報這個錯誤的時候:The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (未注冊Microsoft.ACE.OLEDB.12.0提供程序)
解決方法:OLEDB不支持64位,服務器端要裝32位的而不要裝64位的 https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255