Deploy app with MS Interop...

  • Thread starter Thread starter Christiano Donke
  • Start date Start date
C

Christiano Donke

i'm writing an app that uses an excel interop to convert the xls file to
html..

while writing it, i had no problem... it problem is coming out when i try do
deploy it...
i've tried merging it with the .dll files, PIA files, installed office (test
environment), but the system only returns that the COM isn't registered...

i've tried merging the gacutil.exe to register, but didn't work...

what can i do???


tks,
christiano.
 
i've merged in the package the Microsoft.Office.Interop.Excel.dll and the
Office.dll files..

didn't work out...

installed the Office 2003 and 2007 redistributable Primary Interop
Assemblies (rPIA)... Nothing yet..http://www.microsoft.com/downloads/details.aspx?FamilyId=3C9A983A-AC1...

i'm wondering if I need to register them somehow on the target machine...

any hint?

tks,
christiano.

Is the required dll included in application's folder or elsewhere?
Maybe that would be a problem, just a guess.

Plus, you can try registering library file using:
regsvr32 <library_name.dll>

from start -> run.

Hope this helps,

Onur Güzel
 
That's odd, I think I just set "Copy Local" to True in Project
Properties>References and it seems to deploy with the app automatically. I'm
using ClickOnce though, and the version of Office on my dev machine is always
the same as on the client workstation.
 
Back
Top