Showing posts with label rsexecutionnotfound. Show all posts
Showing posts with label rsexecutionnotfound. Show all posts

Friday, March 30, 2012

rsExecutionNotFound when using ASP State Server

I'm working on an ASP.NET 2.0 project and we are using Reporting Services 2005, the web application is configured to work with a State Server. Our users are getting the following error randomly:

[ReportServerException: No se encuentra la ejecución 'bla bla bla' (rsExecutionNotFound)]

Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() + 367

Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId) + 117

Microsoft.Reporting.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context() + 206

[TargetInvocationException: Exception has been thrown by the target invocation]

System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringType, ...

...

System.Web.SessionState.SessionStateItemCollection.DeserializeAllItems() + 88

System.Web.SessionState.SessionStateItemCollection.get_Keys() + 9

System.Web.SessionState.HttpSessionStateContainer.get_Keys() + 10

System.Web.SessionState.HttpSessionState.get_Keys() + 10

...

This exception is thrown in a request when we access the session context to get a variable. After some investigation we have found that the report viewer is storing reports in the session context, we supose that when the report execution expires on server this error is thrown and the user must close Internet explorer and reenter the application.

Is there any way to avoid Report viewer storing reports on session context, if not I think that this is a bug because when using a state server this error is not recoverable and the user must close the Internet explorer. This think doesn' like them much ;-)

Any help would be appreciated

thanks in advance

I'm sorry, I'm not currently bringing a solution to your problem, although:

- I did post the issue on MSDN Labs: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=90396e94-e868-4a33-b784-f43dcd5a7393

- There is a solution, although it's a hack: http://groups.google.fr/group/ReportingServices/browse_thread/thread/685274e5aa25310/bae5e060b65863b0?lnk=st&q=rsexecutionnotfound&rnum=3&hl=fr#bae5e060b65863b0

Trace.axd brings nothing useful session-wise.

If you did find a solution, please post it, as I too need one!

|||Microsoft says that this is solved, but I can't find where, may be in Sql Server 2005 SP1?

rsExecutionNotFound when using ASP State Server

I'm working on an ASP.NET 2.0 project and we are using Reporting Services 2005, the web application is configured to work with a State Server. Our users are getting the following error randomly:

[ReportServerException: No se encuentra la ejecución 'bla bla bla' (rsExecutionNotFound)]

Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() + 367

Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId) + 117

Microsoft.Reporting.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context() + 206

[TargetInvocationException: Exception has been thrown by the target invocation]

System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringType, ...

...

System.Web.SessionState.SessionStateItemCollection.DeserializeAllItems() + 88

System.Web.SessionState.SessionStateItemCollection.get_Keys() + 9

System.Web.SessionState.HttpSessionStateContainer.get_Keys() + 10

System.Web.SessionState.HttpSessionState.get_Keys() + 10

...

This exception is thrown in a request when we access the session context to get a variable. After some investigation we have found that the report viewer is storing reports in the session context, we supose that when the report execution expires on server this error is thrown and the user must close Internet explorer and reenter the application.

Is there any way to avoid Report viewer storing reports on session context, if not I think that this is a bug because when using a state server this error is not recoverable and the user must close the Internet explorer. This think doesn' like them much ;-)

Any help would be appreciated

thanks in advance

I'm sorry, I'm not currently bringing a solution to your problem, although:

- I did post the issue on MSDN Labs: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=90396e94-e868-4a33-b784-f43dcd5a7393

- There is a solution, although it's a hack: http://groups.google.fr/group/ReportingServices/browse_thread/thread/685274e5aa25310/bae5e060b65863b0?lnk=st&q=rsexecutionnotfound&rnum=3&hl=fr#bae5e060b65863b0

Trace.axd brings nothing useful session-wise.

If you did find a solution, please post it, as I too need one!

|||Microsoft says that this is solved, but I can't find where, may be in Sql Server 2005 SP1?

rsExecutionNotFound when using ASP State Server

I'm working on an ASP.NET 2.0 project and we are using Reporting Services 2005, the web application is configured to work with a State Server. Our users are getting the following error randomly:

[ReportServerException: No se encuentra la ejecución 'bla bla bla' (rsExecutionNotFound)]

Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() + 367

Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId) + 117

Microsoft.Reporting.WebForms.ServerReport..ctor(SerializationInfo info, StreamingContext context() + 206

[TargetInvocationException: Exception has been thrown by the target invocation]

System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringType, ...

...

System.Web.SessionState.SessionStateItemCollection.DeserializeAllItems() + 88

System.Web.SessionState.SessionStateItemCollection.get_Keys() + 9

System.Web.SessionState.HttpSessionStateContainer.get_Keys() + 10

System.Web.SessionState.HttpSessionState.get_Keys() + 10

...

This exception is thrown in a request when we access the session context to get a variable. After some investigation we have found that the report viewer is storing reports in the session context, we supose that when the report execution expires on server this error is thrown and the user must close Internet explorer and reenter the application.

Is there any way to avoid Report viewer storing reports on session context, if not I think that this is a bug because when using a state server this error is not recoverable and the user must close the Internet explorer. This think doesn' like them much ;-)

Any help would be appreciated

thanks in advance

I'm sorry, I'm not currently bringing a solution to your problem, although:

- I did post the issue on MSDN Labs: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=90396e94-e868-4a33-b784-f43dcd5a7393

- There is a solution, although it's a hack: http://groups.google.fr/group/ReportingServices/browse_thread/thread/685274e5aa25310/bae5e060b65863b0?lnk=st&q=rsexecutionnotfound&rnum=3&hl=fr#bae5e060b65863b0

Trace.axd brings nothing useful session-wise.

If you did find a solution, please post it, as I too need one!

|||Microsoft says that this is solved, but I can't find where, may be in Sql Server 2005 SP1?sql

rsExecutionNotFound error

Hello,

I am developing a report viewer application in ASP.NEt 2.0 and in that I have a page called ReportViewer.aspx page which has a report viewer control. The processing mode is remote and it is a SQL Server 2005. There are a couple of dropdownlists one which defines the names of the different reports and the other the reporting periods. Depending on the selection made by the user, the call is made to the reporting server and reporst are displayed. Initially when the page loads, the reports show up without any problems. But if a user is inactive for a while, and the user tries to the view the report, I get the following error

"Execution 'tmf3wgqtzuasux3trzliwx25' cannot be found (rsExecutionNotFound) "

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.Reporting.WebForms.ReportServerException: Execution 'tmf3wgqtzuasux3trzliwx25' cannot be found (rsExecutionNotFound).

I did some research and came across this post which is the exact error which i am getting.

http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=124525

The above link is not working for some reason but if you click on the link below, it says that the issue has been fixed. But there is no information as to how to fix this. Does anybody have any idea as to what the solution is?This is the exact same error which I am getting and any help to resolve this error would be great.

http://64.233.183.104/search?q=cache:H2UEJj42ypcJ:connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx%3FFeedbackID%3D124525+rsExecutionNotFound+%2B+2005&hl=en&ct=clnk&cd=1&gl=us

There are some posts which advise to add the a guid at the end of the url but if you are using a viewer you cannot add anything else to the .ServerReport.ReportURL property other than the path to the report or else it returns an error.

As per my knowledge, the report veiwer control should be keeping the session alive using keep alive messages. There is also the possibility of IE caching and one can disable it by going to Tools -> Options and disabling the caching. But this is not something which I can tell my customers to do.

Any help would be greatly appreciated.

Regards,

arpan

Arpan,

My team came across this error a while ago, and found that Reporting Services has it's own session that is timing out. In the ReportServer database, there is a table called ConfigurationInfo. In this table there are values for a SessionTimeout and SessionAccessTimeout. I think the default is set to '600'. This value corresponds to the number of seconds that the report session will be open.

Our solution was to bump this number way up, say to a couple of hours or more. The problem with this is then you get a lot of data in the ReportServerTempDB, which may cause headaches. It's not a perfect solution, and this property should be more easily editable.

The other way to set this property is to use some Reporting Service Scripting, .rss files, and run them using the rs.exe utility that was installed with Reporting Services. There is a Good blog about this by John Gallardo (?) I think.

Good Luck,

Mac

blog url: http://blogs.msdn.com/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx

|||

Mac.

Thanks for the quick reply. I shall try it out tomorrow and see if that helps.

Regards.

arpan

rsExecutionNotFound !

I have been frequetly visiting your blogs with a solution for rsExecutionNotFound. I used johngaallard's script to extend the accesstimeout(to 6000 Big Smile ) eventhough that was not the base of the problem.

My Reports run in less than 15 sec (max). I have enabled caching for about 12 hours ( there are nightly updates) using [Cache a temporary copy of the report. Expire copy of report after a number of minutes option])

The reports are rendered using a ReportViewerControl in an ASP.Net2.0 web application.(The report is rendered as PDF and then shown in another IFrame using Adobe plugin).The ASP application session timeout is 100mts.

The problem i am facing is that after sometime, the rsExecutionNotfound starts occuring for some report with a specific set of parameters. No amount of rerunning the report will stop. The same report with different parameters renders fine. The only way to stop this is to set the cache option 'Do not cache temporary copies of this report'.

If i set ''Do not cache temporary copies of this report'' there are no errors. I am doing caching mainly to bring down report rendering from 15 sec to 2-3 secs. I am using PDF format .

I am now thinking of working around by trying to catch the Exception that occurs and trying to re-render the report. If this is the only way, how can i do it.

I had fought fiercely to use SSRS and now I am in a fix Sad
Any help is appreciated.
Thanks,
Saj

You probably want to post this in the reporting services forum. There are many more experts in that area there.

rsExecutionNotFound

Hello:

We are using Reporting Services 2005 as our production reporting portal. Sometimes our business users get similar messages to the following message (intermittently ) when running reports.

Execution 'ahk2v0rhpeaj3e45lkrf2ine' cannot be found (rsExecutionNotFound)

I have researched online and forums but could not find a solution to this problem. I know it has something to do with sessions dying and loss of session id. Once the user reruns the report it works fine. What is the way to resolve this from happening at all? We don't want the users to see this on production. Has Microsoft already fixed this problem?

Thanks.

Here is one 'hack' for the problem. It appears to be related to caching. Another way to fix if you are using a custom app is to specify a unique 'fake' parameter guid. rc:guid=<guid>

http://groups.google.fr/group/ReportingServices/browse_thread/thread/685274e5aa25310/bae5e060b65863b0?lnk=st&q=rsexecutionnotfound&rnum=3&hl=fr#bae5e060b65863b0

You may want to try using SQL Profiler against ReportServerTempDB to determine if it is deleting sessions in the same manner as the url above. See the help file to check rsreportserver.config settings.

http://www.samspublishing.com/articles/article.asp?p=469625&seqNum=6&rl=1

cheers,

Andrew

rsExecutionNotFound

I wrote a Custom Web App using ASP.NET for reports built using SSRS 2005. The web application uses report viewer control to display the reports. The Report Viewer processing mode is set to "Remote". The session timeout for web application is 30 minutes.

Reports autorefresh property is set to 15 minutes. when the web page thats displaying the reports is running continously, I am occassionally seeing "rsExecutionNotFound" error. The error is not going away even if I refresh the page.

Thanks for u'r help.

Dear NR01,

There could be a possibility that the session of reporting services is timing out.

Try this post

HTH,

Suprotim Agarwal

|||

Hi,

I tried the post you mentioned. when I run the reports continously, still I am seeing rsExecutionNotFound error but not as frequent as before.

I set the timeout to 30 min.

rs -i sessionTimeout.rss -s http://localhost/reportserver -v timeout="1800"

I am refreshing the reports every 15min.

Thanks for u'r help.

-NR01

|||

I also did the same and set the timeout=1800.

I still get many of these failures. I didn't notice any changes going from 600 to 1800.

This is a typical error:

w3wp!ui!7!7/23/2007-04:52:49:: Unhandled exception: Microsoft.Reporting.WebForms.ReportServerException: Execution 'c14v5l45yikbbo55d5vk1jj3' cannot be found (rsExecutionNotFound)
at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo()
at Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId, Boolean fullReportLoad)
at Microsoft.Reporting.WebForms.ServerReport.LoadFromUrlQuery(NameValueCollection requestParameters, Boolean fullReportLoad)
at Microsoft.Reporting.WebForms.ReportDataOperation..ctor()
at Microsoft.Reporting.WebForms.HttpHandler.GetHandler(String operationType)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I can't imagine that people are sitting on a page for more than 30 minutes. Could there be another cause?

Neil

|||

I've solved the same issue.

I'm viewing reports with asp.net reportviewer; on production server, my aspx load correctly the report at first time, but any postback returns "rsExecutionNotFound" error.

I realized my aspx code contains hard-coded reportserverurl and reportpath values, which are different for development and production envs. So when I dynamically set up thoses settings in my page, reportviewer kill its client session since I'm changing the report path from one server to another.

So change :

<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Height="600px" Width="996px">

<ServerReport ReportServerUrl="http://DEVSERVER/ReportServer" ReportPath="/MyPath" />

</rsweb:ReportViewer>

To :

<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Height="600px" Width="996px">

<ServerReport />

</rsweb:ReportViewer>

sql

rsExecutionNotFound

I wrote a Custom Web App using ASP.NET for reports built using SSRS 2005. The web application uses report viewer control to display the reports. The Report Viewer processing mode is set to "Remote". The session timeout for web application is 30 minutes.

Reports autorefresh property is set to 15 minutes. when the web page thats displaying the reports is running continously, I am occassionally seeing "rsExecutionNotFound" error. The error is not going away even if I refresh the page.

Thanks for u'r help.

Dear NR01,

There could be a possibility that the session of reporting services is timing out.

Try this post

HTH,

Suprotim Agarwal

|||

Hi,

I tried the post you mentioned. when I run the reports continously, still I am seeing rsExecutionNotFound error but not as frequent as before.

I set the timeout to 30 min.

rs -i sessionTimeout.rss -s http://localhost/reportserver -v timeout="1800"

I am refreshing the reports every 15min.

Thanks for u'r help.

-NR01

|||

I also did the same and set the timeout=1800.

I still get many of these failures. I didn't notice any changes going from 600 to 1800.

This is a typical error:

w3wp!ui!7!7/23/2007-04:52:49:: Unhandled exception: Microsoft.Reporting.WebForms.ReportServerException: Execution 'c14v5l45yikbbo55d5vk1jj3' cannot be found (rsExecutionNotFound)
at Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo()
at Microsoft.Reporting.WebForms.ServerReport.SetExecutionId(String executionId, Boolean fullReportLoad)
at Microsoft.Reporting.WebForms.ServerReport.LoadFromUrlQuery(NameValueCollection requestParameters, Boolean fullReportLoad)
at Microsoft.Reporting.WebForms.ReportDataOperation..ctor()
at Microsoft.Reporting.WebForms.HttpHandler.GetHandler(String operationType)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I can't imagine that people are sitting on a page for more than 30 minutes. Could there be another cause?

Neil

|||

I've solved the same issue.

I'm viewing reports with asp.net reportviewer; on production server, my aspx load correctly the report at first time, but any postback returns "rsExecutionNotFound" error.

I realized my aspx code contains hard-coded reportserverurl and reportpath values, which are different for development and production envs. So when I dynamically set up thoses settings in my page, reportviewer kill its client session since I'm changing the report path from one server to another.

So change :

<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Height="600px" Width="996px">

<ServerReport ReportServerUrl="http://DEVSERVER/ReportServer" ReportPath="/MyPath" />

</rsweb:ReportViewer>

To :

<rsweb:ReportViewer ID="ReportViewer1" runat="server" ProcessingMode="Remote" Height="600px" Width="996px">

<ServerReport />

</rsweb:ReportViewer>

rsExecutionNotFound

I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error:

Reporting Services Error

Execution 'ucv5xtu2x2uvhfjmjkfmfy45' cannot be found (rsExecutionNotFound)

SQL Server Reporting Services

The report contains a chart that RS is rendering. Does something need to be turned on or is the error unrelated to charting? In any event, I'm stumped. Any ideas would be greatly appreciated!

What are you using to view the report? The HTML viewer? What happens if you close IE and try to render it again?|||i have the same error and when i close IE and try to render it again it's work fine|||

I have the same problem when I attempt to run a report with a non-admin user, when the report has no parameters.

When the error appears on screen, I can refresh and the report loads find.

I am using Forms Authentication with my own report list and report parameters screens. I launch a report via URL. If I copy/paste the URL to a (logged in) browser window (ctrl-N from the report parameters screen) then the report runs fine. If I launch the report from my app (window.open(url)) then I get the error mentioned above.

Any ideas?

Thanks

|||

Can you please provide the URL that you are trying to launch?

These "execution not found" errors occur usually because your session has expired due to inactivity. If you are using the viewer controls, then you shouldn't see this happen in normal circumstances because it should automatically cause postbacks at intervals which are quick enough to keep your session alive. If you aren't using the viewer control, but directly rendering from the ReportServer virtual directory and specifying rc:toolbar=false, then you don't get any of the cool "keepalive" functionality because you have opted out of using the viewer control.

|||

Hi John. Thanks for the post.

Here is the URL I put together in my web form and pass to RS (I broke it out onto seperate lines here because it didn't seem to want to paste correctly):

http://[server name]/ReportServer/Pages/ReportViewer.aspx?

/Galactic%20Delivery%20Services/Chapter06/BusinessTypeDistribution

&rs:Format=HTML4.0

&rc:Parameters=true

&rc:Toolbar=true

I build a custom list of reports (ListChildren), each report name is a link to a custom report parameter form (GetReportParameters) with a dropdown list of extentions (HTML, PDF, etc). If the selected report has no parameters, I bypass the parameters form and launch the report in the same browser window. The parameter-less reports are the problem and the problem has been sporadic. Sometimes the report loads sometimes I get the rsExecutionNotFound error. I seem to have gotten around the problem for the most part by launching the report in a new browser window, now I rarely get the rsExecutionNotFound error. However, when I went to get the report URL (above) I got the rsExecutionNotFound error again. I closed the browser windows and tried again. The report ran fine. Session thing?

The thing I don't quite get is that I execute LogonUser and regenerate the cookie from each page (I pass a unique value that is an GUID used to validate the user in our own security database). Does this not refresh the RS session?

To test, I have a HTML form with a dropdown list of usernames (admin, limited, etc). Most of the time, the "admin" user will work directly after the "limited" user fails (meaning, I click the report link and the report fails: I click the report link again with "admin" selected and it works). Specifying rs:Format=PDF works EVERY time, even directly after a failure (meaning, I click the report link and the report fails: I click the report link again with PDF selected and it works). It appears that the error only occurs when I attempt to run an HTML version of the report.

The report list page and the report parameter page live on the RS server.

Again, thanks for your post. My app (which is still in prototype mode) seems to be working fairly well. I would like to be able to trap this (and other) error so the user doesn't get this nasty message. Better yet, I'd like to understand the error and be able to prevent it.

-- WALL

|||

I talked with a couple other folks here on the team, and we think what you are hitting is that the HTML for the report is being cached by IE, which is causing the session to not be appropriately handled.

You can workaround this issue by adding a parameter to the URL which will be ignored by RS, but will "uniqueify" the URL so that you don't run into the caching problems. Try appending rc:UniqueGuid=<newguid> to the url and see if that works around your problem.

-john

|||

Interesting. I'll try your suggestion as soon as I get a moment.

Thank you for the (very quick) response.

-- wall (I happened to log in to this forum as xguy this time)

|||

We are seeing the same problem in our environment. We have tried adding the GUID parameter and it reduced the frequency of the problem, but we are still seeing the reExecutionNotFound error 8-10 times per day.

Suggestions? A post in another forum suggested that this problem is fixed somewhere, but did not give any info on the solution.

Thanks.

|||

How are you accessing the server? SOAP? URL Access? Are you using the viewer control or a custom application? Are you getting this error when rendering the report, or when retrieving images?

If it is a custom application that is not using the viewer control, then you will need to ensure that your session is not timing out by periodically "touching" the session. The viewer controls do this by calling GetExecutionInfo() on the SOAP endpoint.

|||

Thanks for the reply, John. Here is my developer's response (I'm the DBA in charge of the server):
"We are using the ReportViewer control and accessing remote reports on the reporting server, therefore, I believe it is making SOAP calls. They should know. During rendering, we get the Out Of Memory error within the ReportViewer. I never call GetExecutionInfo() from the ReportViewer control, do we have any examples? When should I call the method, before assigning parameters, after, etc..."

Any guidance is welcome. The web server we are running this on is Windows 2003 Standard SP1, dual 2.8GHz Xeon processors with 2GB of RAM. It is running IIS 6.0 and Reporting Services 2005 (the ReportServer databases are on a different server). We are running web apps with both ASP.NET 1.1.4322 and 2.0.50727, obviously in separate application pools.

Thanks,
Kevin

|||

Out of memory is a different error than execution not found.

If you are using the viewer controls then you don't have to call GetExecutionInfo() yourself, the viewer control does this periodically to "ping" the server and keep your session alive all by itself.

Check Tudor's blog for some tips on improving performance:

http://blogs.msdn.com/tudortr/archive/2004/06/28/167969.aspx

The biggest thing you can do to reduce the amount of memory being used is to reduce the # of rows that your data sets are returning.

|||

Sorry for the confusion, John. We are actually seeing two different problems, one of which is the rsExecutionNotFound which doesn't seem to have any pattern, the other is the OutOfMemory exception that we are seeing on large reports.

Regarding the the rsExecutionNotFound error, after we added the GUID report parameter, we saw the frequency of the error decline, but not disappear completely. Do you have any other suggestions to resolve this?

Thanks again,
Kevin

|||

Hi Kevin. I have not put our reporting services apps into production yet (other projects have taken priority) but we have tested quite a bit and launching the reports in a new browser window seems to have made the rsExecutionNotFound error go away (knock on wood).

We use custom report listing forms and custom (selected) report parameter forms. We launch HTML forms in a new browser window and launch PDF (and other formats) in an iframe on the same form -- each method results in a new window opening.

Hope that helps.

Good luck.

|||

What if you get the rsExecutionNotFound error by just using your web browser to access the report? In this situation it was reporting services that generated the url and we have no way of adding anything to it.

Why can the report not be executed again when the expected execution is missing and the end user did not sepecifically request a particular execution?

Additionally, why is there a nasty exception in response to a "inappropriate handling" of a session? When you said "not be appropriately handled" did you mean that IE is allowing the session to time out and it should not be?

rsExecutionNotFound

I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error:

Reporting Services Error

Execution 'ucv5xtu2x2uvhfjmjkfmfy45' cannot be found (rsExecutionNotFound)

SQL Server Reporting Services

The report contains a chart that RS is rendering. Does something need to be turned on or is the error unrelated to charting? In any event, I'm stumped. Any ideas would be greatly appreciated!

What are you using to view the report? The HTML viewer? What happens if you close IE and try to render it again?|||i have the same error and when i close IE and try to render it again it's work fine|||

I have the same problem when I attempt to run a report with a non-admin user, when the report has no parameters.

When the error appears on screen, I can refresh and the report loads find.

I am using Forms Authentication with my own report list and report parameters screens. I launch a report via URL. If I copy/paste the URL to a (logged in) browser window (ctrl-N from the report parameters screen) then the report runs fine. If I launch the report from my app (window.open(url)) then I get the error mentioned above.

Any ideas?

Thanks

|||

Can you please provide the URL that you are trying to launch?

These "execution not found" errors occur usually because your session has expired due to inactivity. If you are using the viewer controls, then you shouldn't see this happen in normal circumstances because it should automatically cause postbacks at intervals which are quick enough to keep your session alive. If you aren't using the viewer control, but directly rendering from the ReportServer virtual directory and specifying rc:toolbar=false, then you don't get any of the cool "keepalive" functionality because you have opted out of using the viewer control.

|||

Hi John. Thanks for the post.

Here is the URL I put together in my web form and pass to RS (I broke it out onto seperate lines here because it didn't seem to want to paste correctly):

http://[server name]/ReportServer/Pages/ReportViewer.aspx?

/Galactic%20Delivery%20Services/Chapter06/BusinessTypeDistribution

&rs:Format=HTML4.0

&rc:Parameters=true

&rc:Toolbar=true

I build a custom list of reports (ListChildren), each report name is a link to a custom report parameter form (GetReportParameters) with a dropdown list of extentions (HTML, PDF, etc). If the selected report has no parameters, I bypass the parameters form and launch the report in the same browser window. The parameter-less reports are the problem and the problem has been sporadic. Sometimes the report loads sometimes I get the rsExecutionNotFound error. I seem to have gotten around the problem for the most part by launching the report in a new browser window, now I rarely get the rsExecutionNotFound error. However, when I went to get the report URL (above) I got the rsExecutionNotFound error again. I closed the browser windows and tried again. The report ran fine. Session thing?

The thing I don't quite get is that I execute LogonUser and regenerate the cookie from each page (I pass a unique value that is an GUID used to validate the user in our own security database). Does this not refresh the RS session?

To test, I have a HTML form with a dropdown list of usernames (admin, limited, etc). Most of the time, the "admin" user will work directly after the "limited" user fails (meaning, I click the report link and the report fails: I click the report link again with "admin" selected and it works). Specifying rs:Format=PDF works EVERY time, even directly after a failure (meaning, I click the report link and the report fails: I click the report link again with PDF selected and it works). It appears that the error only occurs when I attempt to run an HTML version of the report.

The report list page and the report parameter page live on the RS server.

Again, thanks for your post. My app (which is still in prototype mode) seems to be working fairly well. I would like to be able to trap this (and other) error so the user doesn't get this nasty message. Better yet, I'd like to understand the error and be able to prevent it.

-- WALL

|||

I talked with a couple other folks here on the team, and we think what you are hitting is that the HTML for the report is being cached by IE, which is causing the session to not be appropriately handled.

You can workaround this issue by adding a parameter to the URL which will be ignored by RS, but will "uniqueify" the URL so that you don't run into the caching problems. Try appending rc:UniqueGuid=<newguid> to the url and see if that works around your problem.

-john

|||

Interesting. I'll try your suggestion as soon as I get a moment.

Thank you for the (very quick) response.

-- wall (I happened to log in to this forum as xguy this time)

|||

We are seeing the same problem in our environment. We have tried adding the GUID parameter and it reduced the frequency of the problem, but we are still seeing the reExecutionNotFound error 8-10 times per day.

Suggestions? A post in another forum suggested that this problem is fixed somewhere, but did not give any info on the solution.

Thanks.

|||

How are you accessing the server? SOAP? URL Access? Are you using the viewer control or a custom application? Are you getting this error when rendering the report, or when retrieving images?

If it is a custom application that is not using the viewer control, then you will need to ensure that your session is not timing out by periodically "touching" the session. The viewer controls do this by calling GetExecutionInfo() on the SOAP endpoint.

|||

Thanks for the reply, John. Here is my developer's response (I'm the DBA in charge of the server):
"We are using the ReportViewer control and accessing remote reports on the reporting server, therefore, I believe it is making SOAP calls. They should know. During rendering, we get the Out Of Memory error within the ReportViewer. I never call GetExecutionInfo() from the ReportViewer control, do we have any examples? When should I call the method, before assigning parameters, after, etc..."

Any guidance is welcome. The web server we are running this on is Windows 2003 Standard SP1, dual 2.8GHz Xeon processors with 2GB of RAM. It is running IIS 6.0 and Reporting Services 2005 (the ReportServer databases are on a different server). We are running web apps with both ASP.NET 1.1.4322 and 2.0.50727, obviously in separate application pools.

Thanks,
Kevin

|||

Out of memory is a different error than execution not found.

If you are using the viewer controls then you don't have to call GetExecutionInfo() yourself, the viewer control does this periodically to "ping" the server and keep your session alive all by itself.

Check Tudor's blog for some tips on improving performance:

http://blogs.msdn.com/tudortr/archive/2004/06/28/167969.aspx

The biggest thing you can do to reduce the amount of memory being used is to reduce the # of rows that your data sets are returning.

|||

Sorry for the confusion, John. We are actually seeing two different problems, one of which is the rsExecutionNotFound which doesn't seem to have any pattern, the other is the OutOfMemory exception that we are seeing on large reports.

Regarding the the rsExecutionNotFound error, after we added the GUID report parameter, we saw the frequency of the error decline, but not disappear completely. Do you have any other suggestions to resolve this?

Thanks again,
Kevin

|||

Hi Kevin. I have not put our reporting services apps into production yet (other projects have taken priority) but we have tested quite a bit and launching the reports in a new browser window seems to have made the rsExecutionNotFound error go away (knock on wood).

We use custom report listing forms and custom (selected) report parameter forms. We launch HTML forms in a new browser window and launch PDF (and other formats) in an iframe on the same form -- each method results in a new window opening.

Hope that helps.

Good luck.

|||

What if you get the rsExecutionNotFound error by just using your web browser to access the report? In this situation it was reporting services that generated the url and we have no way of adding anything to it.

Why can the report not be executed again when the expected execution is missing and the end user did not sepecifically request a particular execution?

Additionally, why is there a nasty exception in response to a "inappropriate handling" of a session? When you said "not be appropriately handled" did you mean that IE is allowing the session to time out and it should not be?

Wednesday, March 28, 2012

rsExecutionNotFound

I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error:

Reporting Services Error

Execution 'ucv5xtu2x2uvhfjmjkfmfy45' cannot be found (rsExecutionNotFound)

SQL Server Reporting Services

The report contains a chart that RS is rendering. Does something need to be turned on or is the error unrelated to charting? In any event, I'm stumped. Any ideas would be greatly appreciated!

What are you using to view the report? The HTML viewer? What happens if you close IE and try to render it again?|||i have the same error and when i close IE and try to render it again it's work fine|||

I have the same problem when I attempt to run a report with a non-admin user, when the report has no parameters.

When the error appears on screen, I can refresh and the report loads find.

I am using Forms Authentication with my own report list and report parameters screens. I launch a report via URL. If I copy/paste the URL to a (logged in) browser window (ctrl-N from the report parameters screen) then the report runs fine. If I launch the report from my app (window.open(url)) then I get the error mentioned above.

Any ideas?

Thanks

|||

Can you please provide the URL that you are trying to launch?

These "execution not found" errors occur usually because your session has expired due to inactivity. If you are using the viewer controls, then you shouldn't see this happen in normal circumstances because it should automatically cause postbacks at intervals which are quick enough to keep your session alive. If you aren't using the viewer control, but directly rendering from the ReportServer virtual directory and specifying rc:toolbar=false, then you don't get any of the cool "keepalive" functionality because you have opted out of using the viewer control.

|||

Hi John. Thanks for the post.

Here is the URL I put together in my web form and pass to RS (I broke it out onto seperate lines here because it didn't seem to want to paste correctly):

http://[server name]/ReportServer/Pages/ReportViewer.aspx?

/Galactic%20Delivery%20Services/Chapter06/BusinessTypeDistribution

&rs:Format=HTML4.0

&rc:Parameters=true

&rc:Toolbar=true

I build a custom list of reports (ListChildren), each report name is a link to a custom report parameter form (GetReportParameters) with a dropdown list of extentions (HTML, PDF, etc). If the selected report has no parameters, I bypass the parameters form and launch the report in the same browser window. The parameter-less reports are the problem and the problem has been sporadic. Sometimes the report loads sometimes I get the rsExecutionNotFound error. I seem to have gotten around the problem for the most part by launching the report in a new browser window, now I rarely get the rsExecutionNotFound error. However, when I went to get the report URL (above) I got the rsExecutionNotFound error again. I closed the browser windows and tried again. The report ran fine. Session thing?

The thing I don't quite get is that I execute LogonUser and regenerate the cookie from each page (I pass a unique value that is an GUID used to validate the user in our own security database). Does this not refresh the RS session?

To test, I have a HTML form with a dropdown list of usernames (admin, limited, etc). Most of the time, the "admin" user will work directly after the "limited" user fails (meaning, I click the report link and the report fails: I click the report link again with "admin" selected and it works). Specifying rs:Format=PDF works EVERY time, even directly after a failure (meaning, I click the report link and the report fails: I click the report link again with PDF selected and it works). It appears that the error only occurs when I attempt to run an HTML version of the report.

The report list page and the report parameter page live on the RS server.

Again, thanks for your post. My app (which is still in prototype mode) seems to be working fairly well. I would like to be able to trap this (and other) error so the user doesn't get this nasty message. Better yet, I'd like to understand the error and be able to prevent it.

-- WALL

|||

I talked with a couple other folks here on the team, and we think what you are hitting is that the HTML for the report is being cached by IE, which is causing the session to not be appropriately handled.

You can workaround this issue by adding a parameter to the URL which will be ignored by RS, but will "uniqueify" the URL so that you don't run into the caching problems. Try appending rc:UniqueGuid=<newguid> to the url and see if that works around your problem.

-john

|||

Interesting. I'll try your suggestion as soon as I get a moment.

Thank you for the (very quick) response.

-- wall (I happened to log in to this forum as xguy this time)

|||

We are seeing the same problem in our environment. We have tried adding the GUID parameter and it reduced the frequency of the problem, but we are still seeing the reExecutionNotFound error 8-10 times per day.

Suggestions? A post in another forum suggested that this problem is fixed somewhere, but did not give any info on the solution.

Thanks.

|||

How are you accessing the server? SOAP? URL Access? Are you using the viewer control or a custom application? Are you getting this error when rendering the report, or when retrieving images?

If it is a custom application that is not using the viewer control, then you will need to ensure that your session is not timing out by periodically "touching" the session. The viewer controls do this by calling GetExecutionInfo() on the SOAP endpoint.

|||

Thanks for the reply, John. Here is my developer's response (I'm the DBA in charge of the server):
"We are using the ReportViewer control and accessing remote reports on the reporting server, therefore, I believe it is making SOAP calls. They should know. During rendering, we get the Out Of Memory error within the ReportViewer. I never call GetExecutionInfo() from the ReportViewer control, do we have any examples? When should I call the method, before assigning parameters, after, etc..."

Any guidance is welcome. The web server we are running this on is Windows 2003 Standard SP1, dual 2.8GHz Xeon processors with 2GB of RAM. It is running IIS 6.0 and Reporting Services 2005 (the ReportServer databases are on a different server). We are running web apps with both ASP.NET 1.1.4322 and 2.0.50727, obviously in separate application pools.

Thanks,
Kevin

|||

Out of memory is a different error than execution not found.

If you are using the viewer controls then you don't have to call GetExecutionInfo() yourself, the viewer control does this periodically to "ping" the server and keep your session alive all by itself.

Check Tudor's blog for some tips on improving performance:

http://blogs.msdn.com/tudortr/archive/2004/06/28/167969.aspx

The biggest thing you can do to reduce the amount of memory being used is to reduce the # of rows that your data sets are returning.

|||

Sorry for the confusion, John. We are actually seeing two different problems, one of which is the rsExecutionNotFound which doesn't seem to have any pattern, the other is the OutOfMemory exception that we are seeing on large reports.

Regarding the the rsExecutionNotFound error, after we added the GUID report parameter, we saw the frequency of the error decline, but not disappear completely. Do you have any other suggestions to resolve this?

Thanks again,
Kevin

|||

Hi Kevin. I have not put our reporting services apps into production yet (other projects have taken priority) but we have tested quite a bit and launching the reports in a new browser window seems to have made the rsExecutionNotFound error go away (knock on wood).

We use custom report listing forms and custom (selected) report parameter forms. We launch HTML forms in a new browser window and launch PDF (and other formats) in an iframe on the same form -- each method results in a new window opening.

Hope that helps.

Good luck.

|||

What if you get the rsExecutionNotFound error by just using your web browser to access the report? In this situation it was reporting services that generated the url and we have no way of adding anything to it.

Why can the report not be executed again when the expected execution is missing and the end user did not sepecifically request a particular execution?

Additionally, why is there a nasty exception in response to a "inappropriate handling" of a session? When you said "not be appropriately handled" did you mean that IE is allowing the session to time out and it should not be?

rsExecutionNotFound

I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error:

Reporting Services Error

Execution 'ucv5xtu2x2uvhfjmjkfmfy45' cannot be found (rsExecutionNotFound)

SQL Server Reporting Services

The report contains a chart that RS is rendering. Does something need to be turned on or is the error unrelated to charting? In any event, I'm stumped. Any ideas would be greatly appreciated!

What are you using to view the report? The HTML viewer? What happens if you close IE and try to render it again?|||i have the same error and when i close IE and try to render it again it's work fine|||

I have the same problem when I attempt to run a report with a non-admin user, when the report has no parameters.

When the error appears on screen, I can refresh and the report loads find.

I am using Forms Authentication with my own report list and report parameters screens. I launch a report via URL. If I copy/paste the URL to a (logged in) browser window (ctrl-N from the report parameters screen) then the report runs fine. If I launch the report from my app (window.open(url)) then I get the error mentioned above.

Any ideas?

Thanks

|||

Can you please provide the URL that you are trying to launch?

These "execution not found" errors occur usually because your session has expired due to inactivity. If you are using the viewer controls, then you shouldn't see this happen in normal circumstances because it should automatically cause postbacks at intervals which are quick enough to keep your session alive. If you aren't using the viewer control, but directly rendering from the ReportServer virtual directory and specifying rc:toolbar=false, then you don't get any of the cool "keepalive" functionality because you have opted out of using the viewer control.

|||

Hi John. Thanks for the post.

Here is the URL I put together in my web form and pass to RS (I broke it out onto seperate lines here because it didn't seem to want to paste correctly):

http://[server name]/ReportServer/Pages/ReportViewer.aspx?

/Galactic%20Delivery%20Services/Chapter06/BusinessTypeDistribution

&rs:Format=HTML4.0

&rc:Parameters=true

&rc:Toolbar=true

I build a custom list of reports (ListChildren), each report name is a link to a custom report parameter form (GetReportParameters) with a dropdown list of extentions (HTML, PDF, etc). If the selected report has no parameters, I bypass the parameters form and launch the report in the same browser window. The parameter-less reports are the problem and the problem has been sporadic. Sometimes the report loads sometimes I get the rsExecutionNotFound error. I seem to have gotten around the problem for the most part by launching the report in a new browser window, now I rarely get the rsExecutionNotFound error. However, when I went to get the report URL (above) I got the rsExecutionNotFound error again. I closed the browser windows and tried again. The report ran fine. Session thing?

The thing I don't quite get is that I execute LogonUser and regenerate the cookie from each page (I pass a unique value that is an GUID used to validate the user in our own security database). Does this not refresh the RS session?

To test, I have a HTML form with a dropdown list of usernames (admin, limited, etc). Most of the time, the "admin" user will work directly after the "limited" user fails (meaning, I click the report link and the report fails: I click the report link again with "admin" selected and it works). Specifying rs:Format=PDF works EVERY time, even directly after a failure (meaning, I click the report link and the report fails: I click the report link again with PDF selected and it works). It appears that the error only occurs when I attempt to run an HTML version of the report.

The report list page and the report parameter page live on the RS server.

Again, thanks for your post. My app (which is still in prototype mode) seems to be working fairly well. I would like to be able to trap this (and other) error so the user doesn't get this nasty message. Better yet, I'd like to understand the error and be able to prevent it.

-- WALL

|||

I talked with a couple other folks here on the team, and we think what you are hitting is that the HTML for the report is being cached by IE, which is causing the session to not be appropriately handled.

You can workaround this issue by adding a parameter to the URL which will be ignored by RS, but will "uniqueify" the URL so that you don't run into the caching problems. Try appending rc:UniqueGuid=<newguid> to the url and see if that works around your problem.

-john

|||

Interesting. I'll try your suggestion as soon as I get a moment.

Thank you for the (very quick) response.

-- wall (I happened to log in to this forum as xguy this time)

|||

We are seeing the same problem in our environment. We have tried adding the GUID parameter and it reduced the frequency of the problem, but we are still seeing the reExecutionNotFound error 8-10 times per day.

Suggestions? A post in another forum suggested that this problem is fixed somewhere, but did not give any info on the solution.

Thanks.

|||

How are you accessing the server? SOAP? URL Access? Are you using the viewer control or a custom application? Are you getting this error when rendering the report, or when retrieving images?

If it is a custom application that is not using the viewer control, then you will need to ensure that your session is not timing out by periodically "touching" the session. The viewer controls do this by calling GetExecutionInfo() on the SOAP endpoint.

|||

Thanks for the reply, John. Here is my developer's response (I'm the DBA in charge of the server):
"We are using the ReportViewer control and accessing remote reports on the reporting server, therefore, I believe it is making SOAP calls. They should know. During rendering, we get the Out Of Memory error within the ReportViewer. I never call GetExecutionInfo() from the ReportViewer control, do we have any examples? When should I call the method, before assigning parameters, after, etc..."

Any guidance is welcome. The web server we are running this on is Windows 2003 Standard SP1, dual 2.8GHz Xeon processors with 2GB of RAM. It is running IIS 6.0 and Reporting Services 2005 (the ReportServer databases are on a different server). We are running web apps with both ASP.NET 1.1.4322 and 2.0.50727, obviously in separate application pools.

Thanks,
Kevin

|||

Out of memory is a different error than execution not found.

If you are using the viewer controls then you don't have to call GetExecutionInfo() yourself, the viewer control does this periodically to "ping" the server and keep your session alive all by itself.

Check Tudor's blog for some tips on improving performance:

http://blogs.msdn.com/tudortr/archive/2004/06/28/167969.aspx

The biggest thing you can do to reduce the amount of memory being used is to reduce the # of rows that your data sets are returning.

|||

Sorry for the confusion, John. We are actually seeing two different problems, one of which is the rsExecutionNotFound which doesn't seem to have any pattern, the other is the OutOfMemory exception that we are seeing on large reports.

Regarding the the rsExecutionNotFound error, after we added the GUID report parameter, we saw the frequency of the error decline, but not disappear completely. Do you have any other suggestions to resolve this?

Thanks again,
Kevin

|||

Hi Kevin. I have not put our reporting services apps into production yet (other projects have taken priority) but we have tested quite a bit and launching the reports in a new browser window seems to have made the rsExecutionNotFound error go away (knock on wood).

We use custom report listing forms and custom (selected) report parameter forms. We launch HTML forms in a new browser window and launch PDF (and other formats) in an iframe on the same form -- each method results in a new window opening.

Hope that helps.

Good luck.

|||

What if you get the rsExecutionNotFound error by just using your web browser to access the report? In this situation it was reporting services that generated the url and we have no way of adding anything to it.

Why can the report not be executed again when the expected execution is missing and the end user did not sepecifically request a particular execution?

Additionally, why is there a nasty exception in response to a "inappropriate handling" of a session? When you said "not be appropriately handled" did you mean that IE is allowing the session to time out and it should not be?

sql

rsExecutionNotFound

I can preview a report I've written in VS (BIDS) without error. However, when I've deployed it to the report server, I'm unable to execute the report. I receive the following error:

Reporting Services Error

Execution 'ucv5xtu2x2uvhfjmjkfmfy45' cannot be found (rsExecutionNotFound)

SQL Server Reporting Services

The report contains a chart that RS is rendering. Does something need to be turned on or is the error unrelated to charting? In any event, I'm stumped. Any ideas would be greatly appreciated!

What are you using to view the report? The HTML viewer? What happens if you close IE and try to render it again?|||i have the same error and when i close IE and try to render it again it's work fine|||

I have the same problem when I attempt to run a report with a non-admin user, when the report has no parameters.

When the error appears on screen, I can refresh and the report loads find.

I am using Forms Authentication with my own report list and report parameters screens. I launch a report via URL. If I copy/paste the URL to a (logged in) browser window (ctrl-N from the report parameters screen) then the report runs fine. If I launch the report from my app (window.open(url)) then I get the error mentioned above.

Any ideas?

Thanks

|||

Can you please provide the URL that you are trying to launch?

These "execution not found" errors occur usually because your session has expired due to inactivity. If you are using the viewer controls, then you shouldn't see this happen in normal circumstances because it should automatically cause postbacks at intervals which are quick enough to keep your session alive. If you aren't using the viewer control, but directly rendering from the ReportServer virtual directory and specifying rc:toolbar=false, then you don't get any of the cool "keepalive" functionality because you have opted out of using the viewer control.

|||

Hi John. Thanks for the post.

Here is the URL I put together in my web form and pass to RS (I broke it out onto seperate lines here because it didn't seem to want to paste correctly):

http://[server name]/ReportServer/Pages/ReportViewer.aspx?

/Galactic%20Delivery%20Services/Chapter06/BusinessTypeDistribution

&rs:Format=HTML4.0

&rc:Parameters=true

&rc:Toolbar=true

I build a custom list of reports (ListChildren), each report name is a link to a custom report parameter form (GetReportParameters) with a dropdown list of extentions (HTML, PDF, etc). If the selected report has no parameters, I bypass the parameters form and launch the report in the same browser window. The parameter-less reports are the problem and the problem has been sporadic. Sometimes the report loads sometimes I get the rsExecutionNotFound error. I seem to have gotten around the problem for the most part by launching the report in a new browser window, now I rarely get the rsExecutionNotFound error. However, when I went to get the report URL (above) I got the rsExecutionNotFound error again. I closed the browser windows and tried again. The report ran fine. Session thing?

The thing I don't quite get is that I execute LogonUser and regenerate the cookie from each page (I pass a unique value that is an GUID used to validate the user in our own security database). Does this not refresh the RS session?

To test, I have a HTML form with a dropdown list of usernames (admin, limited, etc). Most of the time, the "admin" user will work directly after the "limited" user fails (meaning, I click the report link and the report fails: I click the report link again with "admin" selected and it works). Specifying rs:Format=PDF works EVERY time, even directly after a failure (meaning, I click the report link and the report fails: I click the report link again with PDF selected and it works). It appears that the error only occurs when I attempt to run an HTML version of the report.

The report list page and the report parameter page live on the RS server.

Again, thanks for your post. My app (which is still in prototype mode) seems to be working fairly well. I would like to be able to trap this (and other) error so the user doesn't get this nasty message. Better yet, I'd like to understand the error and be able to prevent it.

-- WALL

|||

I talked with a couple other folks here on the team, and we think what you are hitting is that the HTML for the report is being cached by IE, which is causing the session to not be appropriately handled.

You can workaround this issue by adding a parameter to the URL which will be ignored by RS, but will "uniqueify" the URL so that you don't run into the caching problems. Try appending rc:UniqueGuid=<newguid> to the url and see if that works around your problem.

-john

|||

Interesting. I'll try your suggestion as soon as I get a moment.

Thank you for the (very quick) response.

-- wall (I happened to log in to this forum as xguy this time)

|||

We are seeing the same problem in our environment. We have tried adding the GUID parameter and it reduced the frequency of the problem, but we are still seeing the reExecutionNotFound error 8-10 times per day.

Suggestions? A post in another forum suggested that this problem is fixed somewhere, but did not give any info on the solution.

Thanks.

|||

How are you accessing the server? SOAP? URL Access? Are you using the viewer control or a custom application? Are you getting this error when rendering the report, or when retrieving images?

If it is a custom application that is not using the viewer control, then you will need to ensure that your session is not timing out by periodically "touching" the session. The viewer controls do this by calling GetExecutionInfo() on the SOAP endpoint.

|||

Thanks for the reply, John. Here is my developer's response (I'm the DBA in charge of the server):
"We are using the ReportViewer control and accessing remote reports on the reporting server, therefore, I believe it is making SOAP calls. They should know. During rendering, we get the Out Of Memory error within the ReportViewer. I never call GetExecutionInfo() from the ReportViewer control, do we have any examples? When should I call the method, before assigning parameters, after, etc..."

Any guidance is welcome. The web server we are running this on is Windows 2003 Standard SP1, dual 2.8GHz Xeon processors with 2GB of RAM. It is running IIS 6.0 and Reporting Services 2005 (the ReportServer databases are on a different server). We are running web apps with both ASP.NET 1.1.4322 and 2.0.50727, obviously in separate application pools.

Thanks,
Kevin

|||

Out of memory is a different error than execution not found.

If you are using the viewer controls then you don't have to call GetExecutionInfo() yourself, the viewer control does this periodically to "ping" the server and keep your session alive all by itself.

Check Tudor's blog for some tips on improving performance:

http://blogs.msdn.com/tudortr/archive/2004/06/28/167969.aspx

The biggest thing you can do to reduce the amount of memory being used is to reduce the # of rows that your data sets are returning.

|||

Sorry for the confusion, John. We are actually seeing two different problems, one of which is the rsExecutionNotFound which doesn't seem to have any pattern, the other is the OutOfMemory exception that we are seeing on large reports.

Regarding the the rsExecutionNotFound error, after we added the GUID report parameter, we saw the frequency of the error decline, but not disappear completely. Do you have any other suggestions to resolve this?

Thanks again,
Kevin

|||

Hi Kevin. I have not put our reporting services apps into production yet (other projects have taken priority) but we have tested quite a bit and launching the reports in a new browser window seems to have made the rsExecutionNotFound error go away (knock on wood).

We use custom report listing forms and custom (selected) report parameter forms. We launch HTML forms in a new browser window and launch PDF (and other formats) in an iframe on the same form -- each method results in a new window opening.

Hope that helps.

Good luck.

|||

What if you get the rsExecutionNotFound error by just using your web browser to access the report? In this situation it was reporting services that generated the url and we have no way of adding anything to it.

Why can the report not be executed again when the expected execution is missing and the end user did not sepecifically request a particular execution?

Additionally, why is there a nasty exception in response to a "inappropriate handling" of a session? When you said "not be appropriately handled" did you mean that IE is allowing the session to time out and it should not be?

rsExecutionNotFound

Hi!
Has anyone figured out what causes a "Execution '2ye0gq45qszd0m55wlgy0n55'
cannot be found (rsExecutionNotFound) " error? Our scenario is this:
A relatively new/unused sql server 2005 (so load is not a factor).
A new report (the first one on this server) conisting of a main report and 2
subreports.
The report requires 2 parameters, both selectable from lists acquired from a
database: selection from the first list (a dropdownlist) is supposed to
trigger generating the list of values for the second list (another
dropdownlist). the sql that generates the lists is in-line so there are no
stored procedures, etc to be missing.
The behavior I'm getting is that the first list populates ok, on selecting
any item from the first list the rsExecutionNoFound error immediately occurs;
there are no time delays and the list is not very long so timeouts are
unlikely . Everything works perfectly in the designer. (On a whim I
attempted to run the subreports standalone providing the required parameter
and they both fail with the rsExecutionNotFound error.)
Basically this implementation of RS 2005 is unusable until this is resolved.
Any suggestions' What might we have overlooked?
Thanks!!
GlennYou may want to verify that the datasource of this report is pointing to the
same one you used in your designer. I have had that happen to me. Open both
the main report and subreports in the Report Manager and click on the
datasources property and verify that they are indeed pointing to the correct
data source ( I hope you are using a shared data source! :) ).
=-Chris
"glennl" <glennl@.discussions.microsoft.com> wrote in message
news:FDD94784-BCC5-40C3-B793-7C6E23F34B2C@.microsoft.com...
> Hi!
> Has anyone figured out what causes a "Execution '2ye0gq45qszd0m55wlgy0n55'
> cannot be found (rsExecutionNotFound) " error? Our scenario is this:
> A relatively new/unused sql server 2005 (so load is not a factor).
> A new report (the first one on this server) conisting of a main report and
> 2
> subreports.
> The report requires 2 parameters, both selectable from lists acquired from
> a
> database: selection from the first list (a dropdownlist) is supposed to
> trigger generating the list of values for the second list (another
> dropdownlist). the sql that generates the lists is in-line so there are no
> stored procedures, etc to be missing.
> The behavior I'm getting is that the first list populates ok, on selecting
> any item from the first list the rsExecutionNoFound error immediately
> occurs;
> there are no time delays and the list is not very long so timeouts are
> unlikely . Everything works perfectly in the designer. (On a whim I
> attempted to run the subreports standalone providing the required
> parameter
> and they both fail with the rsExecutionNotFound error.)
> Basically this implementation of RS 2005 is unusable until this is
> resolved.
> Any suggestions' What might we have overlooked?
> Thanks!!
> Glenn

rsExecutionNotFound

We have just upgraded to SQL Server Reporting Service 2005 and our reports
were consistently generating 'rsExecutionNotFound' errors, like the one
shown below. The errors happen when a report was refreshed or a drilldown
'+' was clicked 90 seconds after the report was initially delivered.
We found the value for SessionTimeout was set to 60 instead of the default
value of 600. We had changed the value to 60 while attempting to decrease
the startup time for delivering a report. I'm not really sure how a 60
second setting got translated to a 90 second timeout but it was very
consistent.
When we changed the value to back to 600, the 90 second timeout ceased.
However, we have several users who like to keep the report up all day and
periodically hit 'Refresh' to see any updates. I suspect the current
SessionTimeout setting of 10 minutes will not be satisfactory.
How high can we set the value for SessionTimeout before causing problems
with Reporting Services or IIS?
Thanks,
TomHi Tom,
Welcome to MSDN newsgroup.
From your description, I learned that you're upgrading your SQLServer
Reporting services reports from 2000 to 2005 version. And you found that
since the default session timeout setting is changed to 60 in the report
server application, there will occur 'rsExecutionNotFound' error. Currently
you're wondering whether there is any means to enlarge the session timeout
to a large enough value to avoid such issue, correct?
Based on my understanding, SQL Server reporting service use ASP.NET web
application as its report server application, therefore the session timeout
you mentioned should be ASP.NET web application's session timeout setting.
And this timeout setting controls how long data stored in ASP.NET session
state can be persisted. Generally, we don't recommend that we set the
timeout to a too large value because session state consumes server's memory
resource and will hit server application's performance.
In addition, for the 90 seconds you mentioned, I'm thinking it could be the
ASP.NET http request's execution timeout setting since executionTimeout's
default value is 90 seconds(set in server's machine.config in .net
framework config dir). This timeout controls how long each ASP.NET request
can run on the server. For example, if our web page or web report page will
need to run a long task, we need to enlarge this timeout setting:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht
ml/gngrfhttpruntimesection.asp
<system.web>
<httpRuntime
executionTimeout="45"
/>
Hope this helps.
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
| From: "Tom Bean" <tbean@.newsgroup.nospam>
| Subject: rsExecutionNotFound
| Date: Wed, 25 Jan 2006 14:33:47 -0600
| Lines: 23
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.reportingsvcs:67516
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| We have just upgraded to SQL Server Reporting Service 2005 and our
reports
| were consistently generating 'rsExecutionNotFound' errors, like the one
| shown below. The errors happen when a report was refreshed or a
drilldown
| '+' was clicked 90 seconds after the report was initially delivered.
|
| We found the value for SessionTimeout was set to 60 instead of the
default
| value of 600. We had changed the value to 60 while attempting to
decrease
| the startup time for delivering a report. I'm not really sure how a 60
| second setting got translated to a 90 second timeout but it was very
| consistent.
|
| When we changed the value to back to 600, the 90 second timeout ceased.
| However, we have several users who like to keep the report up all day and
| periodically hit 'Refresh' to see any updates. I suspect the current
| SessionTimeout setting of 10 minutes will not be satisfactory.
|
| How high can we set the value for SessionTimeout before causing problems
| with Reporting Services or IIS?
|
| Thanks,
| Tom
|
|
||||Steven,
We changed 'Idle Timeout', 'Execution Timeout', and anything else in IIS
that could possibly cause the reports to timeout but the reports continued
to throw 'rsExecutionNotFound' after 90 seconds. The only change that
eliminated the error was increasing 'SessionTimeout' in the
ConfigurationInfo table.
Since sending my original message, I have recalled why we had lowered the
'SessionTimeout' setting to 60. We lowered the value to see new results in
a refreshed report sooner and under RS2000 there were no timeout problems.
We are noticing other problems with reports that worked perfectly in RS2000.
These problems appear to be the result of timeouts. Some of the problems we
have encountered are?
1) The 'rsExecutionNotFound' error when trying to refresh a report, as in
the original post.
2) Our users get the message "This report requires a default or
user-defined value for the report parameter 'Id'. To run or subscribe to
this report, you must provide a parameter value.
(rsReportParameterValueNotSet)" when they click a drilldown '+' after a
report has been sitting in the browser for about 5-10 minutes.
3) 'rsInternalError' generated when using the &rc:Toolbar=false with some
reports that contain subreports. This error says "See the error log for
more details" but where is the error log?
What has changed in RS2005 to cause these problems? And, what do I need to
do to resolve them?
Thanks,
Tom
"Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
news:JeK3rYlIGHA.3944@.TK2MSFTNGXA02.phx.gbl...
> Hi Tom,
> Welcome to MSDN newsgroup.
> From your description, I learned that you're upgrading your SQLServer
> Reporting services reports from 2000 to 2005 version. And you found that
> since the default session timeout setting is changed to 60 in the report
> server application, there will occur 'rsExecutionNotFound' error.
> Currently
> you're wondering whether there is any means to enlarge the session timeout
> to a large enough value to avoid such issue, correct?
> Based on my understanding, SQL Server reporting service use ASP.NET web
> application as its report server application, therefore the session
> timeout
> you mentioned should be ASP.NET web application's session timeout setting.
> And this timeout setting controls how long data stored in ASP.NET session
> state can be persisted. Generally, we don't recommend that we set the
> timeout to a too large value because session state consumes server's
> memory
> resource and will hit server application's performance.
> In addition, for the 90 seconds you mentioned, I'm thinking it could be
> the
> ASP.NET http request's execution timeout setting since executionTimeout's
> default value is 90 seconds(set in server's machine.config in .net
> framework config dir). This timeout controls how long each ASP.NET
> request
> can run on the server. For example, if our web page or web report page
> will
> need to run a long task, we need to enlarge this timeout setting:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht
> ml/gngrfhttpruntimesection.asp
> <system.web>
> <httpRuntime
> executionTimeout="45"
> />
> Hope this helps.
> Steven Cheng
> Microsoft Online Support
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
> --
> | From: "Tom Bean" <tbean@.newsgroup.nospam>
> | Subject: rsExecutionNotFound
> | Date: Wed, 25 Jan 2006 14:33:47 -0600
> | Lines: 23
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | X-RFC2646: Format=Flowed; Original
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | Message-ID: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl
> microsoft.public.sqlserver.reportingsvcs:67516
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | We have just upgraded to SQL Server Reporting Service 2005 and our
> reports
> | were consistently generating 'rsExecutionNotFound' errors, like the one
> | shown below. The errors happen when a report was refreshed or a
> drilldown
> | '+' was clicked 90 seconds after the report was initially delivered.
> |
> | We found the value for SessionTimeout was set to 60 instead of the
> default
> | value of 600. We had changed the value to 60 while attempting to
> decrease
> | the startup time for delivering a report. I'm not really sure how a 60
> | second setting got translated to a 90 second timeout but it was very
> | consistent.
> |
> | When we changed the value to back to 600, the 90 second timeout ceased.
> | However, we have several users who like to keep the report up all day
> and
> | periodically hit 'Refresh' to see any updates. I suspect the current
> | SessionTimeout setting of 10 minutes will not be satisfactory.
> |
> | How high can we set the value for SessionTimeout before causing problems
> | with Reporting Services or IIS?
> |
> | Thanks,
> | Tom
> |
> |
> |
>|||Thanks for your response Tom,
Em, as far as I known, there hasn't any particular changes regarding on the
timeout setting you mentioned, such setting is ususally adjusted by some
peformance tuning consideration compared to previous version.
Does the problem specific to machine or just concerned with those
particular reports?
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--
| From: "Tom Bean" <tbean@.newsgroup.nospam>
| References: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
<JeK3rYlIGHA.3944@.TK2MSFTNGXA02.phx.gbl>
| Subject: Re: rsExecutionNotFound
| Date: Thu, 26 Jan 2006 11:20:14 -0600
| Lines: 138
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <urYRNzpIGHA.3936@.TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.sqlserver.reportingsvcs
| NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.reportingsvcs:67581
| X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
|
| Steven,
|
| We changed 'Idle Timeout', 'Execution Timeout', and anything else in IIS
| that could possibly cause the reports to timeout but the reports
continued
| to throw 'rsExecutionNotFound' after 90 seconds. The only change that
| eliminated the error was increasing 'SessionTimeout' in the
| ConfigurationInfo table.
|
| Since sending my original message, I have recalled why we had lowered the
| 'SessionTimeout' setting to 60. We lowered the value to see new results
in
| a refreshed report sooner and under RS2000 there were no timeout problems.
|
| We are noticing other problems with reports that worked perfectly in
RS2000.
| These problems appear to be the result of timeouts. Some of the problems
we
| have encountered are?
|
| 1) The 'rsExecutionNotFound' error when trying to refresh a report, as
in
| the original post.
|
| 2) Our users get the message "This report requires a default or
| user-defined value for the report parameter 'Id'. To run or subscribe to
| this report, you must provide a parameter value.
| (rsReportParameterValueNotSet)" when they click a drilldown '+' after a
| report has been sitting in the browser for about 5-10 minutes.
|
| 3) 'rsInternalError' generated when using the &rc:Toolbar=false with
some
| reports that contain subreports. This error says "See the error log for
| more details" but where is the error log?
|
| What has changed in RS2005 to cause these problems? And, what do I need
to
| do to resolve them?
|
| Thanks,
| Tom
|
| "Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
| news:JeK3rYlIGHA.3944@.TK2MSFTNGXA02.phx.gbl...
| > Hi Tom,
| >
| > Welcome to MSDN newsgroup.
| >
| > From your description, I learned that you're upgrading your SQLServer
| > Reporting services reports from 2000 to 2005 version. And you found that
| > since the default session timeout setting is changed to 60 in the report
| > server application, there will occur 'rsExecutionNotFound' error.
| > Currently
| > you're wondering whether there is any means to enlarge the session
timeout
| > to a large enough value to avoid such issue, correct?
| >
| > Based on my understanding, SQL Server reporting service use ASP.NET web
| > application as its report server application, therefore the session
| > timeout
| > you mentioned should be ASP.NET web application's session timeout
setting.
| > And this timeout setting controls how long data stored in ASP.NET
session
| > state can be persisted. Generally, we don't recommend that we set the
| > timeout to a too large value because session state consumes server's
| > memory
| > resource and will hit server application's performance.
| >
| > In addition, for the 90 seconds you mentioned, I'm thinking it could be
| > the
| > ASP.NET http request's execution timeout setting since
executionTimeout's
| > default value is 90 seconds(set in server's machine.config in .net
| > framework config dir). This timeout controls how long each ASP.NET
| > request
| > can run on the server. For example, if our web page or web report page
| > will
| > need to run a long task, we need to enlarge this timeout setting:
| >
| >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht
| > ml/gngrfhttpruntimesection.asp
| >
| > <system.web>
| > <httpRuntime
| > executionTimeout="45"
| > />
| >
| > Hope this helps.
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| > --
| > | From: "Tom Bean" <tbean@.newsgroup.nospam>
| > | Subject: rsExecutionNotFound
| > | Date: Wed, 25 Jan 2006 14:33:47 -0600
| > | Lines: 23
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
| > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
| > | NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.sqlserver.reportingsvcs:67516
| > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
| > |
| > | We have just upgraded to SQL Server Reporting Service 2005 and our
| > reports
| > | were consistently generating 'rsExecutionNotFound' errors, like the
one
| > | shown below. The errors happen when a report was refreshed or a
| > drilldown
| > | '+' was clicked 90 seconds after the report was initially delivered.
| > |
| > | We found the value for SessionTimeout was set to 60 instead of the
| > default
| > | value of 600. We had changed the value to 60 while attempting to
| > decrease
| > | the startup time for delivering a report. I'm not really sure how a
60
| > | second setting got translated to a 90 second timeout but it was very
| > | consistent.
| > |
| > | When we changed the value to back to 600, the 90 second timeout
ceased.
| > | However, we have several users who like to keep the report up all day
| > and
| > | periodically hit 'Refresh' to see any updates. I suspect the current
| > | SessionTimeout setting of 10 minutes will not be satisfactory.
| > |
| > | How high can we set the value for SessionTimeout before causing
problems
| > | with Reporting Services or IIS?
| > |
| > | Thanks,
| > | Tom
| > |
| > |
| > |
| >
|
|
||||Steven,
The problem outlined in 1) occurred with every report until we increased
'SessionTimeout'. The problem in 2) still occurs with every report. In
RS2000, if the report sat too long, the '+' didn't expand the subreport but
they didn't produce the error message which makes us look bad to our users.
We would prefer the stale reports just quit working rather than exposing an
error message to our users.
After working more with the report that caused problem 3), I discovered the
'rsInternalError' only happened when the report returned an empty dataset.
I have no idea why removing the &rc:Toolbar=false parameter would make the
problem to go away. As I said, the report ran fine in RS2000. It also ran
fine in designer. However, when put into production the error occurred, so
there is a definite disconnect between running reports in designer and in a
browser. Do you know of any changes in the way RS2005 handles empty
datasets?
Another irritation we have noticed is that the field names in RS2005 seem to
be case sensitive which wasn't the case with RS2000. This has caused
problems with parameters in the URL also.
As far as changes to performance tuning settings, we upgraded our
installation of RS2000 to RS2005 with no changes to the settings of IIS.
Any changes made to any settings must have been made by RS2005 but we don't
know what they are. Can you give us any more information?
Thanks,
Tom
"Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
news:Z6Utq%23XJGHA.3764@.TK2MSFTNGXA02.phx.gbl...
> Thanks for your response Tom,
> Em, as far as I known, there hasn't any particular changes regarding on
> the
> timeout setting you mentioned, such setting is ususally adjusted by some
> peformance tuning consideration compared to previous version.
> Does the problem specific to machine or just concerned with those
> particular reports?
> Regards,
> Steven Cheng
> Microsoft Online Support
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
> --
> | From: "Tom Bean" <tbean@.newsgroup.nospam>
> | References: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
> <JeK3rYlIGHA.3944@.TK2MSFTNGXA02.phx.gbl>
> | Subject: Re: rsExecutionNotFound
> | Date: Thu, 26 Jan 2006 11:20:14 -0600
> | Lines: 138
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | X-RFC2646: Format=Flowed; Original
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | Message-ID: <urYRNzpIGHA.3936@.TK2MSFTNGP12.phx.gbl>
> | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl
> microsoft.public.sqlserver.reportingsvcs:67581
> | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> |
> | Steven,
> |
> | We changed 'Idle Timeout', 'Execution Timeout', and anything else in IIS
> | that could possibly cause the reports to timeout but the reports
> continued
> | to throw 'rsExecutionNotFound' after 90 seconds. The only change that
> | eliminated the error was increasing 'SessionTimeout' in the
> | ConfigurationInfo table.
> |
> | Since sending my original message, I have recalled why we had lowered
> the
> | 'SessionTimeout' setting to 60. We lowered the value to see new results
> in
> | a refreshed report sooner and under RS2000 there were no timeout
> problems.
> |
> | We are noticing other problems with reports that worked perfectly in
> RS2000.
> | These problems appear to be the result of timeouts. Some of the
> problems
> we
> | have encountered are?
> |
> | 1) The 'rsExecutionNotFound' error when trying to refresh a report, as
> in
> | the original post.
> |
> | 2) Our users get the message "This report requires a default or
> | user-defined value for the report parameter 'Id'. To run or subscribe to
> | this report, you must provide a parameter value.
> | (rsReportParameterValueNotSet)" when they click a drilldown '+' after a
> | report has been sitting in the browser for about 5-10 minutes.
> |
> | 3) 'rsInternalError' generated when using the &rc:Toolbar=false with
> some
> | reports that contain subreports. This error says "See the error log for
> | more details" but where is the error log?
> |
> | What has changed in RS2005 to cause these problems? And, what do I need
> to
> | do to resolve them?
> |
> | Thanks,
> | Tom
> |
> | "Steven Cheng[MSFT]" <stcheng@.online.microsoft.com> wrote in message
> | news:JeK3rYlIGHA.3944@.TK2MSFTNGXA02.phx.gbl...
> | > Hi Tom,
> | >
> | > Welcome to MSDN newsgroup.
> | >
> | > From your description, I learned that you're upgrading your SQLServer
> | > Reporting services reports from 2000 to 2005 version. And you found
> that
> | > since the default session timeout setting is changed to 60 in the
> report
> | > server application, there will occur 'rsExecutionNotFound' error.
> | > Currently
> | > you're wondering whether there is any means to enlarge the session
> timeout
> | > to a large enough value to avoid such issue, correct?
> | >
> | > Based on my understanding, SQL Server reporting service use ASP.NET
> web
> | > application as its report server application, therefore the session
> | > timeout
> | > you mentioned should be ASP.NET web application's session timeout
> setting.
> | > And this timeout setting controls how long data stored in ASP.NET
> session
> | > state can be persisted. Generally, we don't recommend that we set the
> | > timeout to a too large value because session state consumes server's
> | > memory
> | > resource and will hit server application's performance.
> | >
> | > In addition, for the 90 seconds you mentioned, I'm thinking it could
> be
> | > the
> | > ASP.NET http request's execution timeout setting since
> executionTimeout's
> | > default value is 90 seconds(set in server's machine.config in .net
> | > framework config dir). This timeout controls how long each ASP.NET
> | > request
> | > can run on the server. For example, if our web page or web report page
> | > will
> | > need to run a long task, we need to enlarge this timeout setting:
> | >
> | >
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/ht
> | > ml/gngrfhttpruntimesection.asp
> | >
> | > <system.web>
> | > <httpRuntime
> | > executionTimeout="45"
> | > />
> | >
> | > Hope this helps.
> | >
> | > Steven Cheng
> | > Microsoft Online Support
> | >
> | > Get Secure! www.microsoft.com/security
> | > (This posting is provided "AS IS", with no warranties, and confers no
> | > rights.)
> | >
> | >
> | >
> | > --
> | > | From: "Tom Bean" <tbean@.newsgroup.nospam>
> | > | Subject: rsExecutionNotFound
> | > | Date: Wed, 25 Jan 2006 14:33:47 -0600
> | > | Lines: 23
> | > | X-Priority: 3
> | > | X-MSMail-Priority: Normal
> | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
> | > | X-RFC2646: Format=Flowed; Original
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> | > | Message-ID: <uyp3x6eIGHA.3984@.TK2MSFTNGP14.phx.gbl>
> | > | Newsgroups: microsoft.public.sqlserver.reportingsvcs
> | > | NNTP-Posting-Host: 71.4.140.141.ptr.us.xo.net 71.4.140.141
> | > | Path:
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
> | > | Xref: TK2MSFTNGXA02.phx.gbl
> | > microsoft.public.sqlserver.reportingsvcs:67516
> | > | X-Tomcat-NG: microsoft.public.sqlserver.reportingsvcs
> | > |
> | > | We have just upgraded to SQL Server Reporting Service 2005 and our
> | > reports
> | > | were consistently generating 'rsExecutionNotFound' errors, like the
> one
> | > | shown below. The errors happen when a report was refreshed or a
> | > drilldown
> | > | '+' was clicked 90 seconds after the report was initially
> delivered.
> | > |
> | > | We found the value for SessionTimeout was set to 60 instead of the
> | > default
> | > | value of 600. We had changed the value to 60 while attempting to
> | > decrease
> | > | the startup time for delivering a report. I'm not really sure how a
> 60
> | > | second setting got translated to a 90 second timeout but it was very
> | > | consistent.
> | > |
> | > | When we changed the value to back to 600, the 90 second timeout
> ceased.
> | > | However, we have several users who like to keep the report up all
> day
> | > and
> | > | periodically hit 'Refresh' to see any updates. I suspect the
> current
> | > | SessionTimeout setting of 10 minutes will not be satisfactory.
> | > |
> | > | How high can we set the value for SessionTimeout before causing
> problems
> | > | with Reporting Services or IIS?
> | > |
> | > | Thanks,
> | > | Tom
> | > |
> | > |
> | > |
> | >
> |
> |
> |
>|||Thanks for your further followup Tom,
Since the reports used to work without any problem in Reporting Service
2000 but suffering the problem when upgraded to 2005, I think there may
have some certain issues according to your scenario. So far I haven't heard
any known issue on this, however, I don't think manually enlarge session
timeout is the formal means since there is not document on this also and
session state is a raw setting which more related to ASP.NET rather than
reporting service from SQL Server standpoint. So if this is an urgent
issue for you, I suggest you try contacting PSS for thorough
throubleshooting, it'll be better if you can provide a simplified version
of your report and application to them. Also, you can also submit this to
the MSDN feedback center to report the issue in case that this might be an
hidden issue.
http://lab.msdn.microsoft.com/productfeedback/default.aspx
Thanks & Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)