Solved

ASP.NET Report Viewer Error: Execution 'sveo20ispltbq0iwtgrlliaq' cannot be found

Posted on 2007-11-21
3
1,543 Views
Last Modified: 2013-11-07
Situation:

ASP.NET 2 Website using the ReportViewer control to view a Reporting Services report.

I get an error similar to "Execution 'sveo20ispltbq0iwtgrlliaq' cannot be found" (with the random string changing with each instance of a new error) intermittently when trying to view reports.
0
Comment
Question by:DavidGreenfield
3 Comments
 
LVL 16

Accepted Solution

by:
SQL_SERVER_DBA earned 500 total points
ID: 20329181
Hi,

I am able to resolve my problem. The issue was "When I assign HistoryID to Report Viewer control it was not creating an execution on the server with this HistoryID resulting execution not found error.

The way I resolved it by using ReportExecution2005 web service to load a report based on History ID and then display that report in Report Viwer control.

Here is the code that I used to make it work:

First you need to make web reference to ReportExecution2005 (check this out: http://support.microsoft.com/?kbid=875447)

//***********************************************************

ExecutionInfo execInfo = new ExecutionInfo();

ExecutionHeader execHeader = new ExecutionHeader();

ReportExecutionService re = new ReportExecutionService() ;

re.ExecutionHeaderValue = execHeader;

execInfo = re.LoadReport(reportPath, GetHistorySnapshot(index).HistoryID);

reportViewer.ServerReport.SetExecutionId(execInfo.ExecutionID);

//************************************************************************

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322915&SiteID=1

0
 
LVL 1

Expert Comment

by:Computer101
ID: 21135866
Forced accept.

Computer101
EE Admin
0

Featured Post

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.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

919 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

20 Experts available now in Live!

Get 1:1 Help Now