Using C# Express - name space not found for "new ReportExecutionService();"

Need help so I can use "new ReportExecutionService()"
Using C# Express 2008 I have the code below


using System;
using System.IO;
using System.Web.Services.Protocols;

class Sample
{
    static void Main(string[] args)
    {
        ReportExecutionService rs = new ReportExecutionService();
       
Thanks
LVL 1
n2dwebprogrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
käµfm³d 👽Commented:
Assuming this is the one you are using, you need to add a reference to reportexecutionservice.dll and add a "using" line such as:
using Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005;

Open in new window

0
 
coolcurrent4uCommented:
a perfect example is found here http://www.codeproject.com/KB/reporting-services/
0
 
n2dwebprogrammerAuthor Commented:
I just did a search for reportexecutionservice.dll  and could not find it?
I searched the computer I have SSRS installed.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
coolcurrent4uCommented:
the link i posted have so many articles on the subject, have you check it out?
0
 
n2dwebprogrammerAuthor Commented:
yes I am having issues resolving connecting to reportexecutionservice.dll  or the web reference using C# Express
0
 
n2dwebprogrammerAuthor Commented:
I just found the answer.
When you click project --> Add a Service Reference you then have to click Advanced.
Then you have the option of adding a web reference.

I was just adding a Service Reference
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
n2dwebprogrammerAuthor Commented:
I found the answer on the web.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.