Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1554
  • 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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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