Showing posts with label generating. Show all posts
Showing posts with label generating. Show all posts

Wednesday, March 28, 2012

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.)

Monday, March 12, 2012

RS Subscription Failures

RS Subscriptions are generating the following errors for some (not all)
subscriptions:
Failure sending mail: The Report Server has encountered a configuration
error; more details in the log files
The only difference I can see between our working subscriptions and the non
working subscriptions are the owners of the subscriptions.
A log file I was able to find with a failed email reference is as follows.
ReportingServicesService!dbpolling!25f4!4/18/2005-02:00:13::
NotificationPolling processing 1 more items. 2 Total items in internal
queue.
ReportingServicesService!library!27e4!04/18/2005-02:00:14:: i INFO: Call to
RenderFirst( '/Production Systems' )
ReportingServicesService!library!27e4!04/18/2005-02:00:15:: e ERROR:
Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The Report Server has encountered a configuration error; more details in the
log files, AuthzInitializeContextFromSid: Win32 error: 5; possible reason -
service account doesn't have rights to check domain user SIDs.;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The Report Server has encountered a configuration error; more details in the
log files
ReportingServicesService!library!27e4!04/18/2005-02:00:15:: i INFO:
Initializing EnableExecutionLogging to 'True' as specified in Server system
properties.
ReportingServicesService!emailextension!27e4!04/18/2005-02:00:15:: Error
sending email.
Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Report
Server has encountered a configuration error; more details in the log
files -->
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The Report Server has encountered a configuration error; more details in the
log files
at
Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntPtr
userSid)
at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String
userName)
at
Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(String
userName, IntPtr userToken)
at
Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(String
userName, IntPtr userToken, Byte[] secDesc, ReportOperation
requiredOperation)
at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType
catItemType, Byte[] secDesc, ReportOperation rptOper)
at
Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionFromCatalog(CatalogItemContext
reportContext, String historyID, Boolean forRendering, Guid& reportID,
Int32& executionOption, String& savedParametersXml, ReportSnapshot&
compiledDefinition, ReportSnapshot& snapshotData, Guid& linkID, DateTime&
historyDate)
at
Microsoft.ReportingServices.Library.RSService._GetReportParameters(String
report, String historyID, Boolean forRendering, NameValueCollection values,
DatasourceCredentialsCollection credentials)
at
Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(CatalogItemContext
reportContext, ClientRequest session, Warning[]& warnings,
ParameterInfoCollection& effectiveParameters)
at
Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext
reportContext, ClientRequest session, Warning[]& warnings,
ParameterInfoCollection& effectiveParameters, String[]&
secondaryStreamNames)
at
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
at
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RSService
rs, CatalogItemContext reportContext, ClientRequest session, JobTypeEnum
type, Warning[]& warnings, ParameterInfoCollection& effectiveParameters,
String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.ReportImpl.Render(String
renderFormat, String deviceInfo)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.ConstructMessageBody(IMessage
message, Notification notification, SubscriptionData data)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.CreateMessage(Notification
notification)
at
Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification
notification)
ReportingServicesService!notification!27e4!04/18/2005-02:00:15::
Notification 75812118-974c-4618-98b1-5327eb230d09 completed. Success:
False, Status: Failure sending mail: The Report Server has encountered a
configuration error; more details in the log files, DeliveryExtension:
Report Server Email, Report: Production Systems, Attempt 0
ReportingServicesService!dbpolling!27e4!04/18/2005-02:00:15::
NotificationPolling finished processing item
75812118-974c-4618-98b1-5327eb230d09
ReportingServicesService!library!1ef8!04/18/2005-02:00:23:: i INFO:
Initializing SessionTimeout to '600' second(s) as specified in Server system
properties.
ReportingServicesService!library!1ef8!04/18/2005-02:00:23:: i INFO:
Initializing EnableExecutionLogging to 'True' as specified in Server system
properties.
ReportingServicesService!emailextension!1ef8!04/18/2005-02:00:26:: Email
successfully sent to "someone@.x.com" <someone@.x.com>
ReportingServicesService!notification!1ef8!04/18/2005-02:00:26::
Notification 7f32758e-2511-4a4d-8ac2-f91c31691db7 completed. Success: True,
Status: Mail sent to someone@.x.com, DeliveryExtension: Report Server Email,
Report: Production Systems, Attempt 0
ReportingServicesService!dbpolling!1ef8!04/18/2005-02:00:26::
NotificationPolling finished processing item
7f32758e-2511-4a4d-8ac2-f91c31691db7
Any help would be greatly appreciated. Thanks!
BrentHi Brent,
Welcome to use MSDN Managed Newsgroup!
From your descriptions, I understood your Reporting Services' subscription
is not able to send email as you expected. If I have misunderstood your
concern, please feel free to point it out.
According to the error message, I think there might be something wrong with
your configuration file. Please compare rsreportserver.config file in your
working subscriptions machine and non working subscriptions machine. You
may also post the file here and let's check the parameter
You could refer the MSDN Online or RS BooksOnline for detailed information
Configuring a Report Server for E-Mail Delivery
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsadmin/htm
/arp_configserver_v1_4bzl.asp
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.|||This is one RS Server. Subscriptions that I subscribe to work perfectly, and
have been working perfectly. Subscriptions that other users subscribe to are
failing on the same server. I've reviewed the BOL, but this appears to be
configured properly. Below is the .config file:
<Configuration>
<Dsn>removed encrypted for this post</Dsn>
<ConnectionType>Default</ConnectionType>
<LogonUser>removed encrypted for this post</LogonUser>
<LogonDomain>removed encrypted for this post</LogonDomain>
<LogonCred>removed encrypted for this post</LogonCred>
<InstanceId>MSSQL.1</InstanceId>
<InstallationID>{6435f6bb-db14-43d3-b565-ccd72a245bd3}</InstallationID>
<Add Key="SecureConnectionLevel" Value="0"/>
<Add Key="InstanceName" Value="MSSQLSERVER"/>
<Add Key="ProcessRecycleOptions" Value="0"/>
<Add Key="CleanupCycleMinutes" Value="10"/>
<Add Key="SQLCommandTimeoutSeconds" Value="60"/>
<Add Key="MaxActiveReqForOneUser" Value="20"/>
<Add Key="DatabaseQueryTimeout" Value="120"/>
<Add Key="RunningRequestsScavengerCycle" Value="60"/>
<Add Key="RunningRequestsDbCycle" Value="60"/>
<Add Key="RunningRequestsAge" Value="30"/>
<Add Key="MaxScheduleWait" Value="5"/>
<Add Key="DisplayErrorLink" Value="true"/>
<Service>
<IsSchedulingService>True</IsSchedulingService>
<IsNotificationService>True</IsNotificationService>
<IsEventService>True</IsEventService>
<PollingInterval>10</PollingInterval>
<MemoryLimit>60</MemoryLimit>
<RecycleTime>720</RecycleTime>
<MaximumMemoryLimit>80</MaximumMemoryLimit>
<MaxAppDomainUnloadTime>30</MaxAppDomainUnloadTime>
<MaxQueueThreads>0</MaxQueueThreads>
<UrlRoot>http://SDBMSP-CTC01/ReportServer</UrlRoot>
<UnattendedExecutionAccount>
<UserName></UserName>
<Password></Password>
<Domain></Domain>
</UnattendedExecutionAccount>
<PolicyLevel>rssrvpolicy.config</PolicyLevel>
</Service>
<Extensions>
<Delivery>
<Extension Name="Report Server FileShare"
Type="Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider,ReportingServicesFileShareDeliveryProvider">
<MaxRetries>3</MaxRetries>
<SecondsBeforeRetry>900</SecondsBeforeRetry>
<Configuration>
<FileShareConfiguration>
<ExcludedRenderFormats>
<RenderingExtension>HTMLOWC</RenderingExtension>
<RenderingExtension>NULL</RenderingExtension>
</ExcludedRenderFormats>
</FileShareConfiguration>
</Configuration>
</Extension>
<Extension Name="Report Server Email"
Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
<MaxRetries>3</MaxRetries>
<SecondsBeforeRetry>900</SecondsBeforeRetry>
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer>smarthost.fnfinc.com</SMTPServer>
<SMTPServerPort></SMTPServerPort>
<SMTPAccountName></SMTPAccountName>
<SMTPConnectionTimeout></SMTPConnectionTimeout>
<SMTPServerPickupDirectory></SMTPServerPickupDirectory>
<SMTPUseSSL></SMTPUseSSL>
<SendUsing></SendUsing>
<SMTPAuthenticate></SMTPAuthenticate>
<From>brent@.nospam.nospam</From>
<EmbeddedRenderFormats>
<RenderingExtension>MHTML</RenderingExtension>
</EmbeddedRenderFormats>
<PrivilegedUserRenderFormats></PrivilegedUserRenderFormats>
<ExcludedRenderFormats>
<RenderingExtension>HTMLOWC</RenderingExtension>
<RenderingExtension>NULL</RenderingExtension>
</ExcludedRenderFormats>
<SendEmailToUserAlias>True</SendEmailToUserAlias>
<DefaultHostName></DefaultHostName>
<PermittedHosts></PermittedHosts>
</RSEmailDPConfiguration>
</Configuration>
</Extension>
<Extension Name="NULL"
Type="Microsoft.ReportingServices.NullDeliveryProvider.NullProvider,ReportingServicesNullDeliveryProvider"/>
</Delivery>
<Render>
<Extension Name="XML"
Type="Microsoft.ReportingServices.Rendering.XmlDataRenderer.XmlDataReport,Microsoft.ReportingServices.XmlRendering"/>
<Extension Name="NULL"
Type="Microsoft.ReportingServices.Rendering.NullRenderer.NullReport,Microsoft.ReportingServices.NullRendering" Visible="false"/>
<Extension Name="CSV"
Type="Microsoft.ReportingServices.Rendering.CsvRenderer.CsvReport,Microsoft.ReportingServices.CsvRendering"/>
<Extension Name="IMAGE"
Type="Microsoft.ReportingServices.Rendering.ImageRenderer.ImageReport,Microsoft.ReportingServices.ImageRendering"/>
<Extension Name="PDF"
Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PdfReport,Microsoft.ReportingServices.ImageRendering"/>
<Extension Name="HTML4.0"
Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false"/>
<Extension Name="HTML3.2"
Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html32RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false"/>
<Extension Name="MHTML"
Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering"/>
<Extension Name="EXCEL"
Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"/>
<Extension Name="HTMLOWC"
Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.HtmlOWCRenderingExtension,Microsoft.ReportingServices.HtmlRendering">
<Configuration>
<OWCConfiguration>
<OWCDownloadLocation
language="de">http://office.microsoft.com/germany/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="en">http://office.microsoft.com/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="ja">http://office.microsoft.com/japan/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="zh-chs">http://office.microsoft.com/china/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="zh-cht">http://office.microsoft.com/china/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="es">http://office.microsoft.com/spain/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="ko">http://office.microsoft.com/korea/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="fr">http://office.microsoft.com/france/downloads/2002/owc10.aspx</OWCDownloadLocation>
<OWCDownloadLocation
language="it">http://office.microsoft.com/italy/downloads/2002/owc10.aspx</OWCDownloadLocation>
</OWCConfiguration>
</Configuration>
</Extension>
</Render>
<Data>
<Extension Name="SQL"
Type="Microsoft.ReportingServices.DataExtensions.SqlConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
<Extension Name="OLEDB"
Type="Microsoft.ReportingServices.DataExtensions.OleDbConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
<Extension Name="ORACLE"
Type="Microsoft.ReportingServices.DataExtensions.OracleClientConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
<Extension Name="ODBC"
Type="Microsoft.ReportingServices.DataExtensions.OdbcConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/>
</Data>
<Security>
<Extension Name="Windows"
Type="Microsoft.ReportingServices.Authorization.WindowsAuthorization,
Microsoft.ReportingServices.Authorization"/>
</Security>
<Authentication>
<Extension Name="Windows"
Type="Microsoft.ReportingServices.Authentication.WindowsAuthentication,
Microsoft.ReportingServices.Authorization"/>
</Authentication>
<EventProcessing>
<Extension Name="SnapShot Extension"
Type="Microsoft.ReportingServices.Library.HistorySnapShotCreatedHandler,ReportingServicesLibrary">
<Event>
<Type>ReportHistorySnapshotCreated</Type>
</Event>
</Extension>
<Extension Name="Timed Subscription Extension"
Type="Microsoft.ReportingServices.Library.TimedSubscriptionHandler,ReportingServicesLibrary">
<Event>
<Type>TimedSubscription</Type>
</Event>
</Extension>
<Extension Name="Cache Update Extension"
Type="Microsoft.ReportingServices.Library.ReportExecutionSnapshotUpdateEventHandler,ReportingServicesLibrary">
<Event>
<Type>SnapshotUpdated</Type>
</Event>
</Extension>
</EventProcessing>
</Extensions>
</Configuration>
"Michael Cheng [MSFT]" wrote:
> Hi Brent,
> Welcome to use MSDN Managed Newsgroup!
> From your descriptions, I understood your Reporting Services' subscription
> is not able to send email as you expected. If I have misunderstood your
> concern, please feel free to point it out.
> According to the error message, I think there might be something wrong with
> your configuration file. Please compare rsreportserver.config file in your
> working subscriptions machine and non working subscriptions machine. You
> may also post the file here and let's check the parameter
> You could refer the MSDN Online or RS BooksOnline for detailed information
> Configuring a Report Server for E-Mail Delivery
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rsadmin/htm
> /arp_configserver_v1_4bzl.asp
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are always here to be of
> assistance!
>
> Sincerely yours,
> Michael Cheng
> Microsoft Online Partner Support
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>|||Hi Brent,
Thanks for your prompt update and sorry for my lateness!
I looked into your Reporting Services log and found the following entry
--
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception:
The Report Server has encountered a configuration error; more details in
the
log files, AuthzInitializeContextFromSid: Win32 error: 5; possible reason -
service account doesn't have rights to check domain user SIDs.;
--
Based on my knowledge, when your Reporting Services is running under
Windows Server 2003 and your Reporting Services and SQL Server are both
running under domain user account, you should apply the hotfix in the
following KB
"The specified domain either does not exist or could not be contacted"
error message in Windows Server 2003
http://support.microsoft.com/kb/834859
You may also apply Windows Server 2003 Service Pack 1, within which, I
believe this hotfix had been included
http://www.microsoft.com/downloads/details.aspx?FamilyID=22cfc239-337c-4d81-
8354-72593b1c1f43&DisplayLang=en
NOTE that it will be a FREE/REFUND case if you only asking for hotfix.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are always here to be of
assistance!
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.