Solved

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

Posted on 2011-03-23
7
1,264 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 74

Expert Comment

by:käµfm³d 👽
Comment Utility
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
Comment Utility
a perfect example is found here http://www.codeproject.com/KB/reporting-services/
0
 
LVL 1

Author Comment

by:n2dweb
Comment Utility
I just did a search for reportexecutionservice.dll  and could not find it?
I searched the computer I have SSRS installed.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 4

Expert Comment

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

Author Comment

by:n2dweb
Comment Utility
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
Comment Utility
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
Comment Utility
I found the answer on the web.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now