Last post Oct 13, 2009 06:30 PM by ldcroberts
Jan 05, 2007 07:53 AM|NNM|LINK
I am almost ready to put my next app on the web... Word reports are a big part of it...
But the current webhost does not have/want to install word/office files on server.(GAC...)
Is it possible to just include a Microsoft.Office.Interop.Word.dll in my BIN folder?
If so, where can I find that file? (link anyone? I do not want O2003PIA.exe installation, JUST THE DLL !? can't find it anywhere)
Jan 05, 2007 09:17 AM|Freakyuno|LINK
I'm not sure - A moderator could probably answer you better; as they may have information they can directly access but here's my guess.
The dll is licensed with the product - you're allowed to use the dll with the product, or for "extensibility" with the product (in this case office). I would seriously doubt you are allowed to redistribute that dll to your web application - on a host that
doesnt have that product installed. If word reports are a big part of your application, then you are basically saying that the "System Requirments" include needing word installed, so you have the dll in the GAC.
Of course this is just a guess, but my feeling is - you may need another solution, you obviously dont want anywhere you host it, to have to install word just to run you're web application...maybe you do.
As you mentioned...you're other option is to install the Microsoft Primary Interop Assemblies - which are available for download for this reason.
You can find information about it at that link.
Mar 19, 2009 04:52 AM|SalmanAA|LINK
Did you find solution for that.
I am facing the same problem, and I do not know if I am allowed to distribute the dll with my application.
Mar 20, 2009 07:59 AM|NNM|LINK
I have no idea if you can or not...
In my case, I just made a vb class that doesn't require any server side dll files.
Two, actually: one for office2003+ (write in wordml) or old versions (write in html)..
Downside: client (user) has to have office on his computer.
Apr 02, 2009 04:34 PM|ashgupta1001|LINK
open a new test project.
In your solution explorer right click on the project name > click on Add Reference > .Net Tab > Select "Microsoft.Office.Interop.Word" (version 11 for 2003) and say ok
Apr 03, 2009 03:40 AM|NNM|LINK
But is it (legally) allowed?
It gives your application the power to generate MS word documents.. Does it need it's own license, or..?!
Oct 13, 2009 06:30 PM|ldcroberts|LINK
It only gives your application the power to talk to an existing MS Word installation to generate documents. You need to have a licensed copy of MS Word installed on any computer you want this to work for.