asp.net - Excel Generation in C# -


i have error excel generation.

retrieving com class factory component clsid {00024500-0000-0000-c000-000000000046} failed due following error: 80040154 class not registered (exception hresult: 0x80040154 (regdb_e_classnotreg)).

it works fine on local machine.

the error "the class not registered" because com object missing on computer.
pia assemblies allow call office com object model .net.
need install office on server fix.