At the time of filling data into excel it is showing following error message
 
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)).
 
 
It  is working  well in local system  but after hosting it is showing error, please tell me the solution to this.