201205311034x64 IIS7 Enable 32-bit Applications
發現在Server 2008 x64平台的Website,無法執行excel匯出相關功能,經debug發現原因為
「The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.」
經了解原因為Microsoft Jet 不支援 64 位元的版本
Solution:
歷經半天的研究及Google,最後確定解法為要設定 IIS7 的應用程式集區才能讓網站正常載入32-bit only的組件並正常執行~
將Enable 32-bit Applications 改為True(default false)
回應