Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-03-23
7
Medium Priority
?
1,432 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

824 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