• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6798
  • Last Modified:

C# using Reporting Services ReportExecution2005 Type or namespace name not found

Hi all!

Whatever I do, I cannot get hold of the ReportExecutionService class from the ReportExecution2005.asmx.

I connect to it with a "Service referance" and I can see alot of elements are suddenly available, but ReportExecutionService is not one of them.
There is ReportExecutionServiceSoapClient, ReportExecutionServiceSoapChannel and ReportExecutionServiceSoap and much more connected to Reporting services.

When I compile i get the following error:
The type or namespace name 'ReportExecutionService' could not be found (are you missing a using directive or an assembly reference?)

Any hints?

Best regards

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Net;
using System.Web.Services.Protocols;
using RSTest.ReportExecution;
namespace RSTest
    class Program
        static void Main(string[] args)
            ReportExecutionService rs = new ReportExecutionService();

Open in new window

  • 2
1 Solution
jacob-noAuthor Commented:
jacob-noAuthor Commented:
I found the solution!
I had to chose "add as web reference" from the Service Reference setup.
Vasu DevCommented:
Add this as a web reference to solve 'ReportExecutionService' issue http://localhost/ReportServer_SQLEXPRESS/ReportExecution2005.asmx?wsdl
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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