I'd like to generate a Word document from a web app and found many articles that support doing so. However, office components are not available on our web server. Our sys admin told us it is not recommended to install Office components on the web server because Word is client software. (We are so sys admin ignorant in our developer shop.) Does anyone know if this is also true with the .NET framework - that we should not install Office components on the web server?
Thanks so much.Yes, it is recommended not to run office products on a dedicated server.
On one of our servers, MS Access was put on it ONLY because a couple databases may need maintainence from time to time.
There are other servers; however, that are dedicated to running office products that the entire company can share so people don't have to load those products on their local machine.
You may want to look into that option, another server running office and utilities, and then connect to that from your IIS server to launch Word.
Zath
Thanks for your reply.
I was referring to creating word documents via C#.NET using a web pageas the interface. My attempts to do so using wordApp = newWord.ApplicationClass(); failed with error:
COM object with CLSID {000209FF-0000-0000-C000-000000000046} is either not valid or not registered
which I understood was related to Word not being available on the Web Server.
I will look at using MIME types.
Thank you again!
a once former virgin poster,
elle_f
And just came across this bit of code that may interest you...
http://www.developerfusion.com/forums/topic-22540
Zath
0 comments:
Post a Comment