Ask the Expert

How do I create a Word doc object using a Web service?

From a Winforms application, how do I create a Word doc object using a Web service, so that it is created server-side and then served to the client in a browser? This is for a Web-deployed Winforms application that works really well apart from the reporting. Would the SQL Reporting Services be a better option and, if so, how would I go about calling these reports from a Web-deployed Winforms app?

    Requires Free Membership to View

I'd avoid using Word, as you want to do, in a Web service. You're only asking for a lot of trouble as you'll be loading essentially one copy of Word into each connection that requests the report generation. That's going to chew up a huge amount of memory and cause lots of problems in your application.

What I'd suggest you look at instead is Crystal Reports, which comes with the Enterprise Architect version of Visual Studio. It's a scalable, server-based reporting product that will handle pretty much anything you throw at it.

This was first published in May 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: