c# - Error when building on server: Retrieving the COM class factory for component with CLSID -


i'm using visual studio 2013. in program create excel document. works fine, when try build solution on build server , server throws exception:

result:system.runtime.interopservices.comexception (0x80040154): 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)). @ system.runtimetypehandle.createinstance(runtimetype type, boolean publiconly, boolean nocheck, boolean& canbecached, runtimemethodhandleinternal& ctor, boolean& bneedsecuritycheck) @ system.runtimetype.createinstanceslow(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark) @ system.runtimetype.createinstancedefaultctor(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark) @ system.activator.createinstance(type type, boolean nonpublic) @ system.activator.createinstance(type type) @ automatedtest.autostatistic.autoconvert(string pathold, string pathnew, string pathlog, string pathtodocuments) in... 

on line:

 application xlapp = new application(); 

i don't want install visual studio on build server. need install on build server, build compile properly?

p.s. program build on platform x86.

it's excel missing build server, not visual studio.

but running office windows service tfs build unsupported (see kb 257757).


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -