Tuesday, 4 December 2007

System.Runtime.InteropServices.COMException (0x8001010A): Creating an instance of the COM component with CLSID {00020820-0000-0000-C000-000000000046}

System.Runtime.InteropServices.COMException (0x8001010A): Creating an instance of the COM component with CLSID {00020820-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8001010a.

I got this error when working on an Excel Automation Process. Excel throws this error message which is not very useful at all. The same code was working on other servers but on 1 particular server I kept getting this error.

Solutions:

Reboot the server! To be more precise I killed the Process EXCEL in task manager and the application started working again. The error code 8001010a usually means that the application is busy so had a look on the task manager.

1 comment:

cleyventh said...

System.Runtime.InteropServices.COMException: Creating an instance of the COM component with CLSID {00020820-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8001010a

regarding this error, i did what you suggest to end all running EXCEL application (on task manager) on the server, but still the error appear. any other way to avoid this error. thanks - cleyventh.debelen@phl.fujixerox.com