Solved

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

Posted on 2011-03-23
7
1,318 Views
Last Modified: 2012-05-11
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
Comment
Question by:n2dweb
  • 4
  • 2
7 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35200929
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
 
LVL 4

Expert Comment

by:coolcurrent4u
ID: 35201888
a perfect example is found here http://www.codeproject.com/KB/reporting-services/
0
 
LVL 1

Author Comment

by:n2dweb
ID: 35211588
I just did a search for reportexecutionservice.dll  and could not find it?
I searched the computer I have SSRS installed.
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 4

Expert Comment

by:coolcurrent4u
ID: 35213915
the link i posted have so many articles on the subject, have you check it out?
0
 
LVL 1

Author Comment

by:n2dweb
ID: 35216368
yes I am having issues resolving connecting to reportexecutionservice.dll  or the web reference using C# Express
0
 
LVL 1

Accepted Solution

by:
n2dweb earned 0 total points
ID: 35331954
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
 
LVL 1

Author Closing Comment

by:n2dweb
ID: 35364648
I found the answer on the web.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question