Solved

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

Posted on 2008-06-13
3
5,872 Views
Last Modified: 2016-09-08
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
Jacob

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

0
Comment
Question by:jacob-no
  • 2
3 Comments
 

Author Comment

by:jacob-no
ID: 21777450
0
 

Accepted Solution

by:
jacob-no earned 0 total points
ID: 21777670
I found the solution!
I had to chose "add as web reference" from the Service Reference setup.
0
 

Expert Comment

by:Vasu Dev
ID: 41789565
Add this as a web reference to solve 'ReportExecutionService' issue http://localhost/ReportServer_SQLEXPRESS/ReportExecution2005.asmx?wsdl
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

12 Experts available now in Live!

Get 1:1 Help Now