Solved

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

Posted on 2011-03-23
7
1,291 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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