i have developed an application that uses Microsoft.Office.Interop.Excel it works locally. but on the server i get the error
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).System.Runtime.InteropServices.COMException
(0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
any ideas
what do i need to register on the server for this to work
note excel is not installed on the server is it needed?
Did you ever get a resolution? I, too, am having this same issue. Does Excel need to be installed or were you able to simply register a .dll on the server for this to work?
jonjoe
Member
115 Points
75 Posts
Microsoft.Office.Interop.Excel
Nov 10, 2011 04:37 PM|LINK
i have developed an application that uses Microsoft.Office.Interop.Excel it works locally. but on the server i get the error
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
any ideas
what do i need to register on the server for this to work
note excel is not installed on the server is it needed?
i wouldnt have thought so.
ignatandrei
All-Star
134903 Points
21619 Posts
Moderator
MVP
Re: Microsoft.Office.Interop.Excel
Nov 10, 2011 05:55 PM|LINK
jonjoe
Member
115 Points
75 Posts
Re: Microsoft.Office.Interop.Excel
Nov 11, 2011 11:23 AM|LINK
could you explain in a little more detail exactly what you mean?
Cheers
gls0151
Member
4 Points
5 Posts
Re: Microsoft.Office.Interop.Excel
Feb 13, 2012 03:34 PM|LINK
Did you ever get a resolution? I, too, am having this same issue. Does Excel need to be installed or were you able to simply register a .dll on the server for this to work?
Regards,
Greg