Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1478
  • Last Modified:

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
0
n2dweb
Asked:
n2dweb
  • 4
  • 2
1 Solution
 
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
 
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.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now