>>> Yep - don't do it.
>>
[quoted text clipped - 4 lines]
>
> Why on earth do you think that you do...?
>> Why on earth do you think that you do...?
>
> Probably some business requirements dude ;)
I have to disagree with you there... The business requirements no doubt say
"you will produce Word documents from the website" - they most certainly
don't say "you will use server-side Office automation and nothing but
server-side Office automation to produce Word documents from the website".
If they do, then the business analyst should be shot - after being sued...
> I second Aspose, though I've had my share of problems with them as well.
> But that was two years ago, they probably fixed loads of bugs since then.
Never had a problem with it...
> You could also do Word XML and merge the contents with the document using
> XSL. I've seen some people do magic with that. Though it's not my point of
> expertise.
WordXML is not for the faint-hearted but, if you can master it, it's
extremely powerful...
Of course, you could just generate an HTML document and give it a .doc
extension - Word won't care, and the users won't even notice the
difference... :-)

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
rival@newsgroups.nospam - 23 Jul 2007 22:54 GMT
"Of course, you could just generate an HTML document and give it a .doc
extension - Word won't care, and the users won't even notice the
difference... :-)"
The problem with this is that 9 times out of 10, when you've got to create a
Word document on a server it has to be based on an existing Word template.
You need a proper component to load the template and add your data to it.
> >> Why on earth do you think that you do...?
> >
[quoted text clipped - 21 lines]
> extension - Word won't care, and the users won't even notice the
> difference... :-)
Mark Rae [MVP] - 23 Jul 2007 23:02 GMT
> "Of course, you could just generate an HTML document and give it a .doc
> extension - Word won't care, and the users won't even notice the
[quoted text clipped - 4 lines]
> Word document on a server it has to be based on an existing Word template.
> You need a proper component to load the template and add your data to it.
So use Aspose - it's just made for this sort of functionality...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net