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

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

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
DavidGreenfield
Asked:
DavidGreenfield
1 Solution
 
SQL_SERVER_DBACommented:
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
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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