G
Guest
I have a C# program using DAO:
DAO.DBEngine dbEngine = new DAO.DBEngine();
DAO.Workspace workspace = dbEngine.Workspaces[0];
DAO.Database db = workspace.OpenDatabase(excelFileName, false, true, "Excel
8.0")
I works well until we upgrade Windows Server 2003 to 64 bit. I got the
following error:
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80040154): Retrieving the COM class factory for component with CLSID
{00000100-0000-0010-8000-00AA006D2EA4} failed due to the following error:
80040154.
at ExcelTabs.Program.Main(String[] args)
How to force the program run in 32 bit mode?
DAO.DBEngine dbEngine = new DAO.DBEngine();
DAO.Workspace workspace = dbEngine.Workspaces[0];
DAO.Database db = workspace.OpenDatabase(excelFileName, false, true, "Excel
8.0")
I works well until we upgrade Windows Server 2003 to 64 bit. I got the
following error:
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80040154): Retrieving the COM class factory for component with CLSID
{00000100-0000-0010-8000-00AA006D2EA4} failed due to the following error:
80040154.
at ExcelTabs.Program.Main(String[] args)
How to force the program run in 32 bit mode?