I have a website using asp.net with Excel 2010 Interop 64-bit (Microsoft.Office.Interop.Excel.dll).
I deployed code to the Windows Server 64 bit.
By using command:
xelApp = new Microsoft.Office.Interop.Excel.Application();
I see there is no error on this own server. But from the other computer (same domain), sometimes (not always), I got the error:
System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a.
How could I fix this issue?
By install the Office 2010 64-bit to server 64-bit, I cannot see the Excel in DCOM config.
Please advise.
Thanks.
Check the folowing:
I recommend to replace the Interop Excel with the ClosedXML.
That error code occurs due to security issues like insufficient privelage or due to incorrect username, password.
User contributions licensed under CC BY-SA 3.0