COM objects-asp.net
-
Hi guys, Am using com objects in my project to create a word document that only has a simple table and a pie chart. I create all this via asp.net. But when i make my site live, it looks my clients cannot start COM objects on the server side...everything runs well on my local machine. Is there something(a tool or .dll) i can use to create word documents? rather than fighting with com objects? or is there something that i need to know about com objects when clients make request to the server to create a word document? I have tried google and most of the articles want me to use com objects to create a simple word document Please help me :doh:
-
Hi guys, Am using com objects in my project to create a word document that only has a simple table and a pie chart. I create all this via asp.net. But when i make my site live, it looks my clients cannot start COM objects on the server side...everything runs well on my local machine. Is there something(a tool or .dll) i can use to create word documents? rather than fighting with com objects? or is there something that i need to know about com objects when clients make request to the server to create a word document? I have tried google and most of the articles want me to use com objects to create a simple word document Please help me :doh:
You won't be able to use a COM object on a live web server for this purpose unless Word is also installed there (and I strongly suspect it isn't - for licencing reasons if nothing else...) You really need to use a third-party component - try Googling for ".net Word component" - but don't expect to find anything that is any good without having to pay (quite a lot) for it.
-
You won't be able to use a COM object on a live web server for this purpose unless Word is also installed there (and I strongly suspect it isn't - for licencing reasons if nothing else...) You really need to use a third-party component - try Googling for ".net Word component" - but don't expect to find anything that is any good without having to pay (quite a lot) for it.
Thanks man, I have the whole office package installed on my server....either way iam not looking forward to working with com objects to create word docs.... Thanks for your help:thumbsup:
-
Hi guys, Am using com objects in my project to create a word document that only has a simple table and a pie chart. I create all this via asp.net. But when i make my site live, it looks my clients cannot start COM objects on the server side...everything runs well on my local machine. Is there something(a tool or .dll) i can use to create word documents? rather than fighting with com objects? or is there something that i need to know about com objects when clients make request to the server to create a word document? I have tried google and most of the articles want me to use com objects to create a simple word document Please help me :doh:
You can use OpenXML SDK to create word document on the fly on server side, there is no need to install MS office in server.