Deploy app with MS Interop...

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.
 
K

kimiraikkonen

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
 
S

SurturZ

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top