Showing posts with label time. Show all posts
Showing posts with label time. Show all posts

Friday, March 30, 2012

rsInvalidDataSourceReference-Pls help

Hello Everybody:
I have installed SQL Reporting Services for the first time using SQL Login account. After creating a Shared Data Source, and creating the report I am trying to deploy the report to the server. In the project properties I have set the TargetServerURL to http://hostweb01/ReportServer
When I try to deploy the project I get a windows pop up asking for User Name and password. I enter the username and password but the window keeps popping up. I therefore load the report from http://hostweb01/Reports
When I try to run the report I get the error.

The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference)
Can anyone guide me what could be wrong and what should I do to correct the problem. I have stuck on this problem for hours.

Thanks,

Kapil

For the first item, when you give it a user name and password, are you giving a Windows account known by IIS? What is the security setting on your /reportserver web site (use IIS Manager)?

If you deploy manually (through Report Manager), you will need to create a new data source item (with the correct connection string) on he server before you upload the report. Afterwards, you can go to the report properties page and link the report to the data source object.

|||

Hi rahil,

u need to point the report to the datasource to solve this issue.

The datasource is shared by different reports and u need to have dependent items pointed to the datasource.

I too struggle a lot over this issue and at last found the solution.

I am giving u step by step solution for this issue.

1. go to Report Manager(http://<servername>/reports/pages/Folder.aspx)

2. Click on the Folder in which u have reports

3. U will be directed into contents tab where u will find Show Details at the right top corner

4. Click on Show Details

5. Check in the particular report and click the edit button corresponding to it

6. Go to the properties tab and click on it

7. U will find a menu on left hand side, click on Data Sources link

8. There u will find radio button selected for A share data source(by default) and a browse button.

9. Click on the browse button u will find the tree structure of the datasource and the reports folder.

10. select the datasource in the datasource folder and select OK.

by this way u will be able to point the report to the datasource.

Regards,

Vamsi Krishna Korasiga

rsInvalidDataSourceReference-Pls help

Hello Everybody:
I have installed SQL Reporting Services for the first time using SQL Login account. After creating a Shared Data Source, and creating the report I am trying to deploy the report to the server. In the project properties I have set the TargetServerURL to http://hostweb01/ReportServer
When I try to deploy the project I get a windows pop up asking for User Name and password. I enter the username and password but the window keeps popping up. I therefore load the report from http://hostweb01/Reports
When I try to run the report I get the error.

The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference)
Can anyone guide me what could be wrong and what should I do to correct the problem. I have stuck on this problem for hours.

Thanks,

Kapil

For the first item, when you give it a user name and password, are you giving a Windows account known by IIS? What is the security setting on your /reportserver web site (use IIS Manager)?

If you deploy manually (through Report Manager), you will need to create a new data source item (with the correct connection string) on he server before you upload the report. Afterwards, you can go to the report properties page and link the report to the data source object.

|||

Hi rahil,

u need to point the report to the datasource to solve this issue.

The datasource is shared by different reports and u need to have dependent items pointed to the datasource.

I too struggle a lot over this issue and at last found the solution.

I am giving u step by step solution for this issue.

1. go to Report Manager(http://<servername>/reports/pages/Folder.aspx)

2. Click on the Folder in which u have reports

3. U will be directed into contents tab where u will find Show Details at the right top corner

4. Click on Show Details

5. Check in the particular report and click the edit button corresponding to it

6. Go to the properties tab and click on it

7. U will find a menu on left hand side, click on Data Sources link

8. There u will find radio button selected for A share data source(by default) and a browse button.

9. Click on the browse button u will find the tree structure of the datasource and the reports folder.

10. select the datasource in the datasource folder and select OK.

by this way u will be able to point the report to the datasource.

Regards,

Vamsi Krishna Korasiga

Wednesday, March 28, 2012

RSExecutionLog_Update.dtsx error!!

Hi,

When I execute the RSExecutionLog_Update.dtsx, I get an error saying "The task "Set Time period" cannot run on this edition of Integration Services. It requires higher level edition". I am using the Proffesional Edition of SQL2005 and the Integration Services Version is 9.00.1399.00. I have configured the target database RSExecutionLog correctly. Wat could be the problem?

TIA

Is this a script task that is specifically generating this error? You can tell by looking in the execution progress to see which task is creating the error.

I am receiving this error on script tasks and I wanted to see if you have found a work-around or a solution to the error.

|||

As far as I know there is no Professional Editio of SQL 2005. We have Express, Workgroup, Standard and Enterprise.

Donald

|||

Donald:

Thanks for responding.

I am encountering this error when I run a script task, Error: The task "ScriptTask" cannot run on this edition of Integration Services. It requires a higher level edition.

We are running SQL Server Enterprise Edition so SSIS should be included. Do you have any thoughts?

|||

Is it possible that you have installed only the tools, but not selected to install SSIS itself?

Donald

RSExecutionLog_Update.dtsx error!!

Hi,

When I execute the RSExecutionLog_Update.dtsx, I get an error saying "The task "Set Time period" cannot run on this edition of Integration Services. It requires higher level edition". I am using the Proffesional Edition of SQL2005 and the Integration Services Version is 9.00.1399.00. I have configured the target database RSExecutionLog correctly. Wat could be the problem?

TIA

Is this a script task that is specifically generating this error? You can tell by looking in the execution progress to see which task is creating the error.

I am receiving this error on script tasks and I wanted to see if you have found a work-around or a solution to the error.

|||

As far as I know there is no Professional Editio of SQL 2005. We have Express, Workgroup, Standard and Enterprise.

Donald

|||

Donald:

Thanks for responding.

I am encountering this error when I run a script task, Error: The task "ScriptTask" cannot run on this edition of Integration Services. It requires a higher level edition.

We are running SQL Server Enterprise Edition so SSIS should be included. Do you have any thoughts?

|||

Is it possible that you have installed only the tools, but not selected to install SSIS itself?

Donald

sql

rsErrorReadingNextDataRow ?

Hello,

I am using an scheduled report...
and directly apply a snapshot...
After a long time (it's a huge report) I got this error: rsErrorReadingNextDataRow !
I am using a datasource with stored credentials to my analysis services 2005 !

Kind regards.

Stack Trace:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD> <script language="JScript" type="text/Javascript" src="/Reports/js/ReportingServices.js"></script>

<TITLE>Report Manager</TITLE>
<link href="/Reports/styles/ReportingServices.css"type="text/css" rel="stylesheet">
<META Name="Generator" CONTENT="Microsoft SQL Server Report Manager 9.00.2047.00">
<META Name="Report Server" CONTENT="http://localhost/ReportServer">
<META Name="HTTP Status" CONTENT="400">
<META Name="ProductLocaleID" CONTENT="">
<META Name="CountryLocaleID" CONTENT="">
<META Name="StackTrace" CONTENT="System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error has occurred during report processing. > Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. > Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. > Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the data set Navision_Analysis. > Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: File system error: The record ID is incorrect. Physical file: . Logical file: .
at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.SequentialReadXmlValue(Int32 ordinal)
at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.GetRowXmlValues(Object[] xmlValues)
at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.InternalRead()
at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.Read()
at Microsoft.ReportingServices.DataExtensions.AdoMdDataReader.Read()
at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
End of inner exception stack trace
at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.GetNextDetailRow()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassGetNextDetailRow()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPass()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean&amp; closeConnWhenFinish)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
End of inner exception stack trace
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.AbortHelper.ThrowAbortException(Int32 reportUniqueName)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.CheckAndThrowIfAborted()
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.Merge.Process(ParameterInfoCollection parameters, Boolean mergeTran)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, ProcessingContext context)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, Boolean snapshotProcessing, Boolean processWithCachedData, GetReportChunk getChunkCallback, ErrorContext errorContext, DateTime executionTime, CreateReportChunk cacheDataCallback, ProcessingContext&amp; context)
at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateSnapshot(DateTime executionTimeStamp, GetReportChunk getChunkCallback, ProcessingContext pc)
at Microsoft.ReportingServices.Library.CreateSnapshotExecutor.CallProcessing(Boolean unattended, Boolean permanent)
at Microsoft.ReportingServices.Library.CreateSnapshotExecutor.CreateSnapshot(Boolean unattended, Boolean permanent)
at Microsoft.ReportingServices.Library.RSService.InternalUpdateSnapshot(String reportPath)
at Microsoft.ReportingServices.Library.UpdateExecutionSnapshotCancelableStep.Execute()
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
End of inner exception stack trace
at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at Microsoft.ReportingServices.Library.RSService.CancelableUpdateSnapshot(String reportPath, JobType type)
at Microsoft.ReportingServices.Library.RSService.UpdateSnapshot(Guid batchId, String reportPath, JobType type)
at Microsoft.ReportingServices.WebServer.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
End of inner exception stack trace
at Microsoft.ReportingServices.WebServer.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
at Microsoft.SqlServer.ReportingServices2005.RSConnection.UpdateReportExecutionSnapshot(String Report)
at Microsoft.ReportingServices.UI.ReportExecutionOptionsControl.SaveStateToServer()
at Microsoft.ReportingServices.UI.ReportExecutionOptionsControl.ApplyChanges()
at Microsoft.ReportingServices.UI.ExecutionProperties.ApplyChanges()
at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
at Microsoft.ReportingServices.UI.ScriptButton.OnClick(EventArgs e)
at Microsoft.ReportingServices.UI.ScriptButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)">
</HEAD>
<BODY style="margin:0px;" class="msrs-normal" onload=""><form name="ui_form" method="POST" action="Error.aspx" id="ui_form" enctype="multipart/form-data">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUENTM4MQ9kFgICAQ9kFgICAw9kFgJmD2QWAmYPZBYCZg9kFgRmDxYCHgdWaXNpYmxlaGQCAQ9kFgJmD2QWAmYPZBYCZg9kFgJmD2QWAgICD2QWAgICD2QWAmYPZBYCZg8WAh8AaGRkDX9poy1X20358cQWXj5DJqJca60=" />
</div>
<span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0" height="100%">
<tr id="ui_sharedArea">
<td valign="top"><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle" width="76px" nowrap="nowrap"><font size="0"><br></font><img src="/Reports/images/blank.gif" height="1" width="12" border="0" /><img src="/Reports/images/48error.jpg" height="48" width="48" alt="Error" /><img src="/Reports/images/blank.gif" height="1" width="12" border="0" /><font size="0"><br></font><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
<td valign="middle"><div class="msrs-uppertitle">SQL Server Reporting Services</div><div class="msrs-normal"></div><div class="msrs-lowertitle">Error</div></td>
<td valign="top" width="0" align="right"><font size="0"><br></font><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /><div><span></span><img src="/Reports/images/blank.gif" height="1" width="5" border="0" /></div></td>
</tr>
</table>
</td>
</tr>
<tr id="ui_tabStrip">
<td valign="top"><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" colspan="3" class="msrs-sectionline"><img src="/Reports/images/blank.gif" height="4" width="1" border="0" /></td>
</tr>
<tr>
<td valign="top" colspan="3" class="msrs-thinPageBorder"><img src="/Reports/images/blank.gif" height="4" width="1" border="0" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" height="100%"><table width="100%" class="msrs-contentFrame" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td valign="top" width="10"><img src="/Reports/images/blank.gif" height="0" width="10" /></td>
<td valign="top" height="100%"><span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
</tr>
<tr>
<td valign="top" class="msrs-normal"><span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" colspan="2" class="msrs-normal">An error has occurred during report processing. (rsProcessingAborted) <a href="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsProcessingAborted&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00" target="_blank">Get Online Help</a><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="25"><img src="/Reports/images/blank.gif" height="0" width="25" /></td>
<td valign="top" colspan="2" class="msrs-normal">Cannot read the next data row for the data set Navision_Analysis. (rsErrorReadingNextDataRow) <a href="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorReadingNextDataRow&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00" target="_blank">Get Online Help</a></td>
</tr>
<tr>
<td valign="top" width="25"><img src="/Reports/images/blank.gif" height="0" width="25" /></td>
<td valign="top" colspan="2" class="msrs-normal">File system error: The record ID is incorrect. Physical file: . Logical file: .</td>
</tr>
</table>
</td>
</tr>
</table>
</span></td>
</tr>
<tr>
<td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
</tr>
<tr>
<td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
</tr>
<tr>
<td valign="top"><a href="/Reports/Pages/Folder.aspx">Home</a></td>
</tr>
</table>
</span></td>
<td valign="top" width="10"><img src="/Reports/images/blank.gif" height="0" width="10" /></td>
</tr>
</table>
</td>
</tr>
</table>
</span></form></BODY></HTML>

hello,

I have a similar problem, in scheduled report and also in running the report within VS2005.

the error message is:

cannot read the next data row for the data set xxx
File system error: The record ID is incorrect. Physical file: .Logical file: .

found any solution on this ?

|||

I have done exactly the same way as John as specified in the link below.

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

this made my report run longer time, but with

  • An error has occurred during report processing.

  • Cannot read the next data row for the data set xxxxx.

  • Invalid attempt to NextResult when reader is closed.

  • Please explain and suggest me a solution.
  • rsErrorReadingNextDataRow ?

    Hello,

    I am using an scheduled report...
    and directly apply a snapshot...
    After a long time (it's a huge report) I got this error: rsErrorReadingNextDataRow !
    I am using a datasource with stored credentials to my analysis services 2005 !

    Kind regards.

    Stack Trace:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD> <script language="JScript" type="text/Javascript" src="/Reports/js/ReportingServices.js"></script>

    <TITLE>Report Manager</TITLE>
    <link href="/Reports/styles/ReportingServices.css"type="text/css" rel="stylesheet">
    <META Name="Generator" CONTENT="Microsoft SQL Server Report Manager 9.00.2047.00">
    <META Name="Report Server" CONTENT="http://localhost/ReportServer">
    <META Name="HTTP Status" CONTENT="400">
    <META Name="ProductLocaleID" CONTENT="">
    <META Name="CountryLocaleID" CONTENT="">
    <META Name="StackTrace" CONTENT="System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: An error has occurred during report processing. > Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has occurred during report processing. > Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. > Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the data set Navision_Analysis. > Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: File system error: The record ID is incorrect. Physical file: . Logical file: .
    at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.SequentialReadXmlValue(Int32 ordinal)
    at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.GetRowXmlValues(Object[] xmlValues)
    at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.InternalRead()
    at Microsoft.AnalysisServices.AdomdClient.AdomdDataReader.Read()
    at Microsoft.ReportingServices.DataExtensions.AdoMdDataReader.Read()
    at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
    End of inner exception stack trace
    at Microsoft.ReportingServices.DataExtensions.MappingDataReader.GetNextRow()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.GetNextDetailRow()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.FirstPassGetNextDetailRow()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPass()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.FirstPassProcess(Boolean&amp; closeConnWhenFinish)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeReportDataSetNode.Process()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RuntimeDataSetNode.ProcessConcurrent(Object threadSet)
    End of inner exception stack trace
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.AbortHelper.ThrowAbortException(Int32 reportUniqueName)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessingContext.CheckAndThrowIfAborted()
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.Merge.Process(ParameterInfoCollection parameters, Boolean mergeTran)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, ProcessingContext context)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.ProcessReport(Report report, ProcessingContext pc, Boolean snapshotProcessing, Boolean processWithCachedData, GetReportChunk getChunkCallback, ErrorContext errorContext, DateTime executionTime, CreateReportChunk cacheDataCallback, ProcessingContext&amp; context)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.CreateSnapshot(DateTime executionTimeStamp, GetReportChunk getChunkCallback, ProcessingContext pc)
    at Microsoft.ReportingServices.Library.CreateSnapshotExecutor.CallProcessing(Boolean unattended, Boolean permanent)
    at Microsoft.ReportingServices.Library.CreateSnapshotExecutor.CreateSnapshot(Boolean unattended, Boolean permanent)
    at Microsoft.ReportingServices.Library.RSService.InternalUpdateSnapshot(String reportPath)
    at Microsoft.ReportingServices.Library.UpdateExecutionSnapshotCancelableStep.Execute()
    at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
    End of inner exception stack trace
    at Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
    at Microsoft.ReportingServices.Library.RSService.CancelableUpdateSnapshot(String reportPath, JobType type)
    at Microsoft.ReportingServices.Library.RSService.UpdateSnapshot(Guid batchId, String reportPath, JobType type)
    at Microsoft.ReportingServices.WebServer.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
    End of inner exception stack trace
    at Microsoft.ReportingServices.WebServer.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.UpdateReportExecutionSnapshot(String Report)
    at Microsoft.SqlServer.ReportingServices2005.RSConnection.UpdateReportExecutionSnapshot(String Report)
    at Microsoft.ReportingServices.UI.ReportExecutionOptionsControl.SaveStateToServer()
    at Microsoft.ReportingServices.UI.ReportExecutionOptionsControl.ApplyChanges()
    at Microsoft.ReportingServices.UI.ExecutionProperties.ApplyChanges()
    at Microsoft.ReportingServices.UI.BaseApplyPage.ApplyBtn_Click(Object sender, EventArgs e)
    at Microsoft.ReportingServices.UI.ScriptButton.OnClick(EventArgs e)
    at Microsoft.ReportingServices.UI.ScriptButton.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)">
    </HEAD>
    <BODY style="margin:0px;" class="msrs-normal" onload=""><form name="ui_form" method="POST" action="Error.aspx" id="ui_form" enctype="multipart/form-data">
    <div>
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUENTM4MQ9kFgICAQ9kFgICAw9kFgJmD2QWAmYPZBYCZg9kFgRmDxYCHgdWaXNpYmxlaGQCAQ9kFgJmD2QWAmYPZBYCZg9kFgJmD2QWAgICD2QWAgICD2QWAmYPZBYCZg8WAh8AaGRkDX9poy1X20358cQWXj5DJqJca60=" />
    </div>
    <span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0" height="100%">
    <tr id="ui_sharedArea">
    <td valign="top"><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="middle" width="76px" nowrap="nowrap"><font size="0"><br></font><img src="/Reports/images/blank.gif" height="1" width="12" border="0" /><img src="/Reports/images/48error.jpg" height="48" width="48" alt="Error" /><img src="/Reports/images/blank.gif" height="1" width="12" border="0" /><font size="0"><br></font><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
    <td valign="middle"><div class="msrs-uppertitle">SQL Server Reporting Services</div><div class="msrs-normal"></div><div class="msrs-lowertitle">Error</div></td>
    <td valign="top" width="0" align="right"><font size="0"><br></font><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /><div><span></span><img src="/Reports/images/blank.gif" height="1" width="5" border="0" /></div></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr id="ui_tabStrip">
    <td valign="top"><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top" colspan="3" class="msrs-sectionline"><img src="/Reports/images/blank.gif" height="4" width="1" border="0" /></td>
    </tr>
    <tr>
    <td valign="top" colspan="3" class="msrs-thinPageBorder"><img src="/Reports/images/blank.gif" height="4" width="1" border="0" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" height="100%"><table width="100%" class="msrs-contentFrame" cellpadding="0" cellspacing="0" height="100%">
    <tr>
    <td valign="top" width="10"><img src="/Reports/images/blank.gif" height="0" width="10" /></td>
    <td valign="top" height="100%"><span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
    </tr>
    <tr>
    <td valign="top" class="msrs-normal"><span><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top" colspan="2" class="msrs-normal">An error has occurred during report processing. (rsProcessingAborted) <a href="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsProcessingAborted&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00" target="_blank">Get Online Help</a><table width="100%" class="msrs-normal" cellpadding="0" cellspacing="0">
    <tr>
    <td valign="top" width="25"><img src="/Reports/images/blank.gif" height="0" width="25" /></td>
    <td valign="top" colspan="2" class="msrs-normal">Cannot read the next data row for the data set Navision_Analysis. (rsErrorReadingNextDataRow) <a href="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsErrorReadingNextDataRow&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.2047.00" target="_blank">Get Online Help</a></td>
    </tr>
    <tr>
    <td valign="top" width="25"><img src="/Reports/images/blank.gif" height="0" width="25" /></td>
    <td valign="top" colspan="2" class="msrs-normal">File system error: The record ID is incorrect. Physical file: . Logical file: .</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </span></td>
    </tr>
    <tr>
    <td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
    </tr>
    <tr>
    <td valign="top"><img src="/Reports/images/blank.gif" height="8" width="1" border="0" /></td>
    </tr>
    <tr>
    <td valign="top"><a href="/Reports/Pages/Folder.aspx">Home</a></td>
    </tr>
    </table>
    </span></td>
    <td valign="top" width="10"><img src="/Reports/images/blank.gif" height="0" width="10" /></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </span></form></BODY></HTML>

    hello,

    I have a similar problem, in scheduled report and also in running the report within VS2005.

    the error message is:

    cannot read the next data row for the data set xxx
    File system error: The record ID is incorrect. Physical file: .Logical file: .

    found any solution on this ?

    |||

    I have done exactly the same way as John as specified in the link below.

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

    this made my report run longer time, but with

  • An error has occurred during report processing.
  • Cannot read the next data row for the data set xxxxx.
  • Invalid attempt to NextResult when reader is closed.
  • Please explain and suggest me a solution.
  • Friday, March 23, 2012

    RS2k5 Crashes exporting to Excel

    We've got a clinet that has no issues exporting reports to excel about 95%
    of the time. However, about once a month, they get the error page "For more
    information abou this error navigate to the report server on the local
    server machine, or enable remote errors."
    In the app event logs, there is the following error: Report Server
    (MSSQLSERVER) cannot connect to the report server database.
    I'm not finding anything useful in the groups. Thanks for any help.Hi Jack,
    One good place to look is in the actual SRS error logs. This can usually be
    found at <SRS Install Directory>\Reporting Services\LogFiles. Check the
    ReportServer logs for the day of the error. Often times, the stack trace of
    the error is there and can help you diagnose the root cause of the issue.
    Brian
    --
    Brian Knight
    Quaere SQL Server Blog
    http://dba.typepad.com
    "Jack" wrote:
    > We've got a clinet that has no issues exporting reports to excel about 95%
    > of the time. However, about once a month, they get the error page "For more
    > information abou this error navigate to the report server on the local
    > server machine, or enable remote errors."
    > In the app event logs, there is the following error: Report Server
    > (MSSQLSERVER) cannot connect to the report server database.
    > I'm not finding anything useful in the groups. Thanks for any help.
    >
    >

    Wednesday, March 21, 2012

    RS2005 Drop-down list

    This there a way to increase the time it takes when users select items from
    the drop-down list.
    Please note that the drop-down list is setup to extract data items from
    backend database (from query). (also, using multi-value selections)When I run the report in Visual Studio, it quick and runs as expected.
    However, when the report is deployed and ran, its seems to be slow.
    Thanks!
    "Terry" wrote:
    > This there a way to increase the time it takes when users select items from
    > the drop-down list.
    > Please note that the drop-down list is setup to extract data items from
    > backend database (from query). (also, using multi-value selections)
    >|||Hi everybody,
    i'm just started using the Reporting services...
    I want to display all the staff name in a dropdown list or combo box.
    and based on the staff name the report is displayed...
    can any one help me..
    Thankx in advance
    ren
    From http://www.developmentnow.com/g/115_2005_10_0_0_626054/RS2005-Drop-down-list.ht
    Posted via DevelopmentNow.com Group
    http://www.developmentnow.com|||Many ways you can do this.
    1. Write your own custom code so that depending on the user you can display
    reports.
    2. If you are storing all your staff name in a table you can query the table
    for the dropdown and once it is selected, the name is passed to a stored
    procedure and the stored procedure runs the query depending on the staff.
    e.g. some staff should not see somethings etc...
    Let me know where you store your staff names..
    Amarnath, MCTS.
    "Renuka" wrote:
    > Hi everybody,
    > i'm just started using the Reporting services...
    > I want to display all the staff name in a dropdown list or combo box.
    > and based on the staff name the report is displayed...
    > can any one help me..
    > Thankx in advance
    > renu
    > From http://www.developmentnow.com/g/115_2005_10_0_0_626054/RS2005-Drop-down-list.htm
    > Posted via DevelopmentNow.com Groups
    > http://www.developmentnow.com
    >

    RS2005 and 401 - Unauthorized.

    After a long time, I finally got my asp.net application to authenticate
    with RS 2005..
    I have a server with Windows 2003 Server and SQL 2005/RS 2005. I created
    a user in the domain just for ReportViewer, and granted access in RS 2005.
    In my project, I implemented IReportServerCredentials like this:
    public bool GetFormsCredentials(out Cookie authCookie, out string
    userName, out string password, out string authority)
    {
    authCookie = null;
    userName = null;
    password = null;
    authority = null;
    return false;
    }
    public WindowsIdentity ImpersonationUser
    {
    get
    {
    return null;
    }
    }
    public ICredentials NetworkCredentials
    {
    get
    {
    return new NetworkCredential(_user, _pass, _domain);
    }
    }
    It works perfectly running the ASP.NET application in my computer,
    winXP/IIS 5.1, but when I deploy the exact same site in the win2003
    server (the same from RS), I get this error:
    The request failed with HTTP status 401: Unauthorized.
    I checked the EventViewer, and when running from my computer, I get this:
    Successful Network Logon:
    User Name: USER
    Domain: DOMAIN
    but when running from the server, I get this:
    Logon attempt using explicit credentials:
    Logged on user:
    User Name: NETWORK SERVICE
    Domain: NT AUTHORITY
    Logon ID: (0x0,0x3E4)
    Logon GUID: -
    User whose credentials were used:
    Target User Name: MYUSER
    Target Domain: DOMAIN
    Target Logon GUID: -
    And nothing more.
    I tried the help, it didn't help much.
    Anyone know what is the problem here?
    Thanks in advance.I just enabled auditing failure events, and I get this from windows 2003
    server:
    Logon Failure:
    Reason: An error occurred during logon
    User Name: USER
    Domain: DOMAIN
    Logon Type: 3
    Logon Process: Ðùë
    Authentication Package: NTLM
    Workstation Name: SERVER
    Status code: 0xC000006D
    Substatus code: 0x0
    I have no idea what is happening. The username and password are right,
    since they work in my computer and is a domain user, and the web server
    is a domain computer...
    help please!
    Natan Vivo wrote:
    > After a long time, I finally got my asp.net application to authenticate
    > with RS 2005..
    > I have a server with Windows 2003 Server and SQL 2005/RS 2005. I created
    > a user in the domain just for ReportViewer, and granted access in RS 2005.
    > In my project, I implemented IReportServerCredentials like this:
    > public bool GetFormsCredentials(out Cookie authCookie, out string
    > userName, out string password, out string authority)
    > {
    > authCookie = null;
    > userName = null;
    > password = null;
    > authority = null;
    > return false;
    > }
    > public WindowsIdentity ImpersonationUser
    > {
    > get
    > {
    > return null;
    > }
    > }
    > public ICredentials NetworkCredentials
    > {
    > get
    > {
    > return new NetworkCredential(_user, _pass, _domain);
    > }
    > }
    > It works perfectly running the ASP.NET application in my computer,
    > winXP/IIS 5.1, but when I deploy the exact same site in the win2003
    > server (the same from RS), I get this error:
    > The request failed with HTTP status 401: Unauthorized.
    > I checked the EventViewer, and when running from my computer, I get this:
    > Successful Network Logon:
    > User Name: USER
    > Domain: DOMAIN
    > but when running from the server, I get this:
    > Logon attempt using explicit credentials:
    > Logged on user:
    > User Name: NETWORK SERVICE
    > Domain: NT AUTHORITY
    > Logon ID: (0x0,0x3E4)
    > Logon GUID: -
    > User whose credentials were used:
    > Target User Name: MYUSER
    > Target Domain: DOMAIN
    > Target Logon GUID: -
    >
    > And nothing more.
    > I tried the help, it didn't help much.
    > Anyone know what is the problem here?
    > Thanks in advance.|||Hi,
    try Changing the your web application app pool identity to run under local
    system, it may work. but this is not a correct solution. I have the same
    problem, and i am waiting for the solution too
    --
    Regards
    Raja Annamalai
    "Natan Vivo" wrote:
    > I just enabled auditing failure events, and I get this from windows 2003
    > server:
    > Logon Failure:
    > Reason: An error occurred during logon
    > User Name: USER
    > Domain: DOMAIN
    > Logon Type: 3
    > Logon Process: �ùë
    > Authentication Package: NTLM
    > Workstation Name: SERVER
    > Status code: 0xC000006D
    > Substatus code: 0x0
    > I have no idea what is happening. The username and password are right,
    > since they work in my computer and is a domain user, and the web server
    > is a domain computer...
    > help please!
    > Natan Vivo wrote:
    > > After a long time, I finally got my asp.net application to authenticate
    > > with RS 2005..
    > >
    > > I have a server with Windows 2003 Server and SQL 2005/RS 2005. I created
    > > a user in the domain just for ReportViewer, and granted access in RS 2005.
    > >
    > > In my project, I implemented IReportServerCredentials like this:
    > >
    > > public bool GetFormsCredentials(out Cookie authCookie, out string
    > > userName, out string password, out string authority)
    > > {
    > > authCookie = null;
    > > userName = null;
    > > password = null;
    > > authority = null;
    > >
    > > return false;
    > > }
    > >
    > > public WindowsIdentity ImpersonationUser
    > > {
    > > get
    > > {
    > > return null;
    > > }
    > > }
    > >
    > > public ICredentials NetworkCredentials
    > > {
    > > get
    > > {
    > > return new NetworkCredential(_user, _pass, _domain);
    > > }
    > > }
    > >
    > > It works perfectly running the ASP.NET application in my computer,
    > > winXP/IIS 5.1, but when I deploy the exact same site in the win2003
    > > server (the same from RS), I get this error:
    > >
    > > The request failed with HTTP status 401: Unauthorized.
    > >
    > > I checked the EventViewer, and when running from my computer, I get this:
    > >
    > > Successful Network Logon:
    > > User Name: USER
    > > Domain: DOMAIN
    > >
    > > but when running from the server, I get this:
    > >
    > > Logon attempt using explicit credentials:
    > > Logged on user:
    > > User Name: NETWORK SERVICE
    > > Domain: NT AUTHORITY
    > > Logon ID: (0x0,0x3E4)
    > > Logon GUID: -
    > > User whose credentials were used:
    > > Target User Name: MYUSER
    > > Target Domain: DOMAIN
    > > Target Logon GUID: -
    > >
    > >
    > > And nothing more.
    > >
    > > I tried the help, it didn't help much.
    > >
    > > Anyone know what is the problem here?
    > >
    > > Thanks in advance.
    >

    RS2005 - Response Time

    When running a report in VS, the report run fast but when running the same
    report via the browser (<servername>\reportserver), the report runs slow.
    How can I increase the response time in running the report via the browser?
    Thank you.One thing to remember, in VS it caches the data (look in your directory and
    you will see a .data file). So sometimes this can give you an erroneous idea
    of the time required.
    Also, if it is the first time that RS has run in awhile you will get a big
    delay. So run any report to make sure RS is up and active and then run your
    report you are concerned about.
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Terry" <Terry@.discussions.microsoft.com> wrote in message
    news:BB36DBF2-4F3C-4BF7-8850-6CCC9639FE7C@.microsoft.com...
    > When running a report in VS, the report run fast but when running the same
    > report via the browser (<servername>\reportserver), the report runs slow.
    > How can I increase the response time in running the report via the
    > browser?
    > Thank you.|||Do you know what 'awhile' is? Is it possible to run a schedule report
    just to keep RS 'alive'?
    "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in
    news:uRucKBj3FHA.3708@.TK2MSFTNGP10.phx.gbl:
    > One thing to remember, in VS it caches the data (look in your
    > directory and you will see a .data file). So sometimes this can give
    > you an erroneous idea of the time required.
    > Also, if it is the first time that RS has run in awhile you will get a
    > big delay. So run any report to make sure RS is up and active and then
    > run your report you are concerned about.
    >|||I have a simple report I keep open on my desktop that autoexecutes every 5
    minutes. You could also try Chris' suggestion posted below:
    >>>>>>>>>>
    If you are running Windows 2003 server for your IIS reportserver, then this
    is a simple issue - I'll explain what happens:
    The report service engine, once it is idle for more than the default 20
    minutes, the worker process is shutdown.
    This is controlled by IIS.
    Open up the Internet Information Services (IIS) Manager
    Expand the server node then the application pools.
    On my IIS machine, I created an application pool dedicated to the
    reportserver & reportmanager virtual webs.
    But anyways, for the application pool that the reportserver is pointing to
    if you left everything to their defaults will be the DefaultAppPool.
    Right click the default app pool and select properties.
    There are two things that are checked by default - On the recycling tab
    there is a checkbox for recycling worker processes - it is currently set to
    1740 minutes (29 hours). Leave it.
    The other one is on the performance tab - which is the one you are
    interested in changing...
    See the "Idle Timeout" section and increase the number of minutes to be 8
    hours a typical working day - 8*60 = 480 minutes.
    Next, to be sure the "morning person" that runs the first report doesn't get
    the delay, set up a schedule for either a dummy or adhoc report to fire off
    like at 6am so that the report component worker processes get loaded.
    I hope this helps you.
    There is no need to have a report fire off every minute to keep things
    alive - it is just that the report service was "unloaded" and needed to load
    back up.
    =-Chris
    >>>>>>>>>>
    Bruce Loehle-Conger
    MVP SQL Server Reporting Services
    "Asher_N" <compguy666@.hotmail.com> wrote in message
    news:Xns97009891877C1compguy666hotmailcom@.207.46.248.16...
    > Do you know what 'awhile' is? Is it possible to run a schedule report
    > just to keep RS 'alive'?
    > "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in
    > news:uRucKBj3FHA.3708@.TK2MSFTNGP10.phx.gbl:
    >> One thing to remember, in VS it caches the data (look in your
    >> directory and you will see a .data file). So sometimes this can give
    >> you an erroneous idea of the time required.
    >> Also, if it is the first time that RS has run in awhile you will get a
    >> big delay. So run any report to make sure RS is up and active and then
    >> run your report you are concerned about.
    >>
    >|||"Bruce L-C [MVP]" <brucelc@.newsgroup.nospam> wrote in
    news:#wuXBil3FHA.3292@.tk2msftngp13.phx.gbl:
    > I have a simple report I keep open on my desktop that autoexecutes
    > every 5 minutes. You could also try Chris' suggestion posted below:
    >>>>>>>>>>
    > If you are running Windows 2003 server for your IIS reportserver, then
    > this
    > is a simple issue - I'll explain what happens:
    > The report service engine, once it is idle for more than the default
    > 20
    > minutes, the worker process is shutdown.
    > This is controlled by IIS.
    > Open up the Internet Information Services (IIS) Manager
    > Expand the server node then the application pools.
    > On my IIS machine, I created an application pool dedicated to the
    > reportserver & reportmanager virtual webs.
    > But anyways, for the application pool that the reportserver is
    > pointing to
    > if you left everything to their defaults will be the DefaultAppPool.
    > Right click the default app pool and select properties.
    > There are two things that are checked by default - On the recycling
    > tab
    > there is a checkbox for recycling worker processes - it is currently
    > set to
    > 1740 minutes (29 hours). Leave it.
    > The other one is on the performance tab - which is the one you are
    > interested in changing...
    > See the "Idle Timeout" section and increase the number of minutes to
    > be 8
    > hours a typical working day - 8*60 = 480 minutes.
    > Next, to be sure the "morning person" that runs the first report
    > doesn't get
    > the delay, set up a schedule for either a dummy or adhoc report to
    > fire off
    > like at 6am so that the report component worker processes get loaded.
    > I hope this helps you.
    > There is no need to have a report fire off every minute to keep things
    > alive - it is just that the report service was "unloaded" and needed
    > to load
    > back up.
    > =-Chris
    >>>>>>>>>>
    >
    Thanks

    Tuesday, March 20, 2012

    RS-2000 Report Manager time out(?)

    I have a query that takes about 2 minutes to complete, but Report Manager displays the Web Page Cannot be Found message at precisely 1 minute after submitting. I'm assuming that this is a time limit that is set somewhere. Is there a setting I can change, either in IIS or in Reporting Services, to extend this time limit? I have looked and whatever I have changed doesn't seem to make any difference?

    Thanks,

    Al

    There are settings on both individual reports and on the server as a whole.

    You can get to the system wide settings by going to 'Site Settings' in Report Manager.

    Individual reports can be changed by going to the report properties, then 'Execution' within Report Manager.

    Regards

    Paul

    rs.render (programmagically the fastest way to printer HELP)

    I have written a c# app that renders in real time the RS Reports in an
    'EMF' memory stream straight to the printer.
    Would it be faster to stream them to a file and then send to the
    printer? Streaming straight to the printer is VERY slow!
    Thanks,
    TrintI would be interested in your solution, and whether you found a faster way. I
    need to be able to stream reports directly to a user's default printer and
    need to find an effective way to do that. Can you help?
    --
    Thanks,
    CGW
    "trint" wrote:
    > I have written a c# app that renders in real time the RS Reports in an
    > 'EMF' memory stream straight to the printer.
    > Would it be faster to stream them to a file and then send to the
    > printer? Streaming straight to the printer is VERY slow!
    > Thanks,
    > Trint
    >

    Monday, March 12, 2012

    rs utility compiled script ?

    Hi,
    the rs utility is good, but the script is compiled at every usage.
    does it possible to compile a script 1 time and keep the compiled version?
    for the moment I bypass this problem by creating my own program.
    any idea?
    thanks.
    Jerome.Hello Jerome,
    The rs utility does instantiate a few objects for you and calls methods on
    the RS SOAP interface. But yes each time you run it, it gets compiled first
    into .NET IL before being executed.
    If you write your own .NET program that calls methods on the RS SOAP
    interface then you'd have to instatiate some of the objects yourself - like
    the Report Service. Its not difficult to convert RS Script to a VB.NET
    program that you can compile into a .NET assembly.
    Chapter 9¾ of our book : "Hitchhiker's Guide to SQL Server 2000 Reporting
    Services" covers this content.
    Peter Blackburn
    Windows Server Systems - SQL Server MVP
    Hitchhiker's Guide to SQL Server Reporting Services
    http://www.sqlreportingservices.net
    "Jéjé" <willgart@.BBBhotmailAAA.com> wrote in message
    news:u58MWZmyEHA.2624@.TK2MSFTNGP11.phx.gbl...
    > Hi,
    > the rs utility is good, but the script is compiled at every usage.
    > does it possible to compile a script 1 time and keep the compiled version?
    > for the moment I bypass this problem by creating my own program.
    > any idea?
    > thanks.
    > Jerome.
    >|||On Sun, 14 Nov 2004 21:49:50 -0000, "Peter Blackburn
    \(www.sqlreportingservices.net\)"
    <http://www.sqlreportingservices.net> wrote:
    >Chapter 9¾ of our book : "Hitchhiker's Guide to SQL Server 2000 Reporting
    >Services" covers this content.
    Hi Peter,
    I just love the idea of chapter 9¾. :)
    Andrew Watt
    MVP - InfoPath|||Hello Andrew - you'll probably love our Voldemort Basic.NET quips in that
    chapter too!
    Peter
    "Andrew Watt [MVP - InfoPath]" <SVGDeveloper@.aol.com> wrote in message
    news:1e0hp05asje86dml2ppb5q6mrfkgq596pd@.4ax.com...
    > On Sun, 14 Nov 2004 21:49:50 -0000, "Peter Blackburn
    > \(www.sqlreportingservices.net\)"
    > <http://www.sqlreportingservices.net> wrote:
    >>Chapter 9¾ of our book : "Hitchhiker's Guide to SQL Server 2000 Reporting
    >>Services" covers this content.
    > Hi Peter,
    > I just love the idea of chapter 9¾. :)
    > Andrew Watt
    > MVP - InfoPath

    RS Subscriptions not running

    Hi, I'm having some problems with email subscriptions.
    I've set up the subscription and schedule time but the schedule just doesn't
    seem to run. It's reporting no errors, there's nothing in the log and the
    subscription just looks like a new subscription that's never run.
    Can anyone out there help, it would be appreaciated.
    Many thanksCan you check to see if the corresponding SQL Agent job is firing and if
    there are any issues? Also make sure that the ReportServer service is
    running.
    --
    -Daniel
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    news:7D7C4C13-C9B6-4B15-9D6C-00DE601D15D9@.microsoft.com...
    > Hi, I'm having some problems with email subscriptions.
    > I've set up the subscription and schedule time but the schedule just
    > doesn't
    > seem to run. It's reporting no errors, there's nothing in the log and the
    > subscription just looks like a new subscription that's never run.
    > Can anyone out there help, it would be appreaciated.
    > Many thanks|||I've checked the job and it is running correctly, the job is being inserted
    into the Event table but it just doesn't move from there.|||You should check to see if the reportserver windows service is running. If
    it is, check in the ReportServerService_<timestamp>.log file to see if there
    are any errors indicating why the events are not being processed.
    --
    -Daniel
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    > I've checked the job and it is running correctly, the job is being
    > inserted
    > into the Event table but it just doesn't move from there.|||Sandra,
    Did you ever find a solution? We're having the same issue.
    "Daniel Reib [MSFT]" wrote:
    > You should check to see if the reportserver windows service is running. If
    > it is, check in the ReportServerService_<timestamp>.log file to see if there
    > are any errors indicating why the events are not being processed.
    > --
    > -Daniel
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    > "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    > news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    > > I've checked the job and it is running correctly, the job is being
    > > inserted
    > > into the Event table but it just doesn't move from there.
    >
    >|||The problem was in the implementation. We just used the wrong timezone for
    the execution date. Therefore the schedule was always created one hour before
    the intended time. After changing the timezone in the code it worked!
    "daw" wrote:
    > Sandra,
    > Did you ever find a solution? We're having the same issue.
    > "Daniel Reib [MSFT]" wrote:
    > > You should check to see if the reportserver windows service is running. If
    > > it is, check in the ReportServerService_<timestamp>.log file to see if there
    > > are any errors indicating why the events are not being processed.
    > >
    > > --
    > > -Daniel
    > > This posting is provided "AS IS" with no warranties, and confers no rights.
    > >
    > >
    > > "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    > > news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    > > > I've checked the job and it is running correctly, the job is being
    > > > inserted
    > > > into the Event table but it just doesn't move from there.
    > >
    > >
    > >|||We have the same problem, but not related to time zone settings.
    Before the subscriptions are running several month without problem.
    SQL Agent is started, smtp server available. I can start the jobs direct in
    SQL Agent jobs. The job is marked as successfull. No log entries where ever
    possible. RS just don't start to create the report and send it. On the test
    server it still works, everything is exact the same on the testsystem.
    Before this occured the database log file was full. And we thought that
    couses the problem. After fix this, the beheavoiour is still the same.
    Has anybody a clues!
    "Sandra Geisler" wrote:
    > The problem was in the implementation. We just used the wrong timezone for
    > the execution date. Therefore the schedule was always created one hour before
    > the intended time. After changing the timezone in the code it worked!
    > "daw" wrote:
    > > Sandra,
    > > Did you ever find a solution? We're having the same issue.
    > >
    > > "Daniel Reib [MSFT]" wrote:
    > >
    > > > You should check to see if the reportserver windows service is running. If
    > > > it is, check in the ReportServerService_<timestamp>.log file to see if there
    > > > are any errors indicating why the events are not being processed.
    > > >
    > > > --
    > > > -Daniel
    > > > This posting is provided "AS IS" with no warranties, and confers no rights.
    > > >
    > > >
    > > > "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    > > > news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    > > > > I've checked the job and it is running correctly, the job is being
    > > > > inserted
    > > > > into the Event table but it just doesn't move from there.
    > > >
    > > >
    > > >|||Hello,
    did I understand correctly, that the email subscription has the correct
    start date and time, but does not start though?
    "Dev Main" <DevMain@.discussions.microsoft.com> schrieb im Newsbeitrag
    news:2892A909-D1A8-4FE4-B572-49B2FD36E457@.microsoft.com...
    > We have the same problem, but not related to time zone settings.
    > Before the subscriptions are running several month without problem.
    > SQL Agent is started, smtp server available. I can start the jobs direct
    > in
    > SQL Agent jobs. The job is marked as successfull. No log entries where
    > ever
    > possible. RS just don't start to create the report and send it. On the
    > test
    > server it still works, everything is exact the same on the testsystem.
    > Before this occured the database log file was full. And we thought that
    > couses the problem. After fix this, the beheavoiour is still the same.
    > Has anybody a clues!
    > "Sandra Geisler" wrote:
    >> The problem was in the implementation. We just used the wrong timezone
    >> for
    >> the execution date. Therefore the schedule was always created one hour
    >> before
    >> the intended time. After changing the timezone in the code it worked!
    >> "daw" wrote:
    >> > Sandra,
    >> > Did you ever find a solution? We're having the same issue.
    >> >
    >> > "Daniel Reib [MSFT]" wrote:
    >> >
    >> > > You should check to see if the reportserver windows service is
    >> > > running. If
    >> > > it is, check in the ReportServerService_<timestamp>.log file to see
    >> > > if there
    >> > > are any errors indicating why the events are not being processed.
    >> > >
    >> > > --
    >> > > -Daniel
    >> > > This posting is provided "AS IS" with no warranties, and confers no
    >> > > rights.
    >> > >
    >> > >
    >> > > "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    >> > > news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    >> > > > I've checked the job and it is running correctly, the job is being
    >> > > > inserted
    >> > > > into the Event table but it just doesn't move from there.
    >> > >
    >> > >
    >> > >|||Yes! Date and time are absolut correct. I veryfied this after reading your
    post.
    There are no log entries. Not in Event Viewer, not in log files from
    reporting services.
    "Sandra Geisler" wrote:
    > Hello,
    > did I understand correctly, that the email subscription has the correct
    > start date and time, but does not start though?
    >
    > "Dev Main" <DevMain@.discussions.microsoft.com> schrieb im Newsbeitrag
    > news:2892A909-D1A8-4FE4-B572-49B2FD36E457@.microsoft.com...
    > > We have the same problem, but not related to time zone settings.
    > >
    > > Before the subscriptions are running several month without problem.
    > >
    > > SQL Agent is started, smtp server available. I can start the jobs direct
    > > in
    > > SQL Agent jobs. The job is marked as successfull. No log entries where
    > > ever
    > > possible. RS just don't start to create the report and send it. On the
    > > test
    > > server it still works, everything is exact the same on the testsystem.
    > >
    > > Before this occured the database log file was full. And we thought that
    > > couses the problem. After fix this, the beheavoiour is still the same.
    > >
    > > Has anybody a clues!
    > >
    > > "Sandra Geisler" wrote:
    > >
    > >> The problem was in the implementation. We just used the wrong timezone
    > >> for
    > >> the execution date. Therefore the schedule was always created one hour
    > >> before
    > >> the intended time. After changing the timezone in the code it worked!
    > >>
    > >> "daw" wrote:
    > >>
    > >> > Sandra,
    > >> > Did you ever find a solution? We're having the same issue.
    > >> >
    > >> > "Daniel Reib [MSFT]" wrote:
    > >> >
    > >> > > You should check to see if the reportserver windows service is
    > >> > > running. If
    > >> > > it is, check in the ReportServerService_<timestamp>.log file to see
    > >> > > if there
    > >> > > are any errors indicating why the events are not being processed.
    > >> > >
    > >> > > --
    > >> > > -Daniel
    > >> > > This posting is provided "AS IS" with no warranties, and confers no
    > >> > > rights.
    > >> > >
    > >> > >
    > >> > > "Sandra" <Sandra@.discussions.microsoft.com> wrote in message
    > >> > > news:EF8BDA76-B94E-493C-9FD7-378A6B3F4D24@.microsoft.com...
    > >> > > > I've checked the job and it is running correctly, the job is being
    > >> > > > inserted
    > >> > > > into the Event table but it just doesn't move from there.
    > >> > >
    > >> > >
    > >> > >
    >
    >

    RS SP2 / Oracle 10g Error Is Back

    Yesterday RS kept bombing out from time to time with an Oracle error. Each
    time we would do an iisreset and the issue would correct itself.
    I reinstalled RS with SP2 last night. Today things ran smooth for about 5
    hours, then the issue reappeared.
    Of particular interest from the RS log file:
    "The timeout period elapsed prior to obtaining a connection from the pool.
    This may have occurred because all pooled connections were in use and max
    pool size was reached."
    Here's the context of the error in the log file:
    w3wp!library!ae0!11/10/2005-13:49:06:: i INFO: Initializing
    EnableExecutionLogging to 'True' as specified in Server system properties.
    w3wp!webserver!ae0!11/10/2005-13:49:06:: e ERROR: Reporting Services error
    Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error has
    occurred during report processing. -->
    Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An
    error has occurred during report processing. -->
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    Cannot create a connection to data source 'dbReports'. -->
    System.InvalidOperationException: Timeout expired. The timeout period
    elapsed prior to obtaining a connection from the pool. This may have
    occurred because all pooled connections were in use and max pool size was
    reached.
    w3wp!runningjobs!1254!11/10/2005-13:49:48:: i INFO: Adding: 1 running jobs
    to the database
    w3wp!library!ae0!11/10/2005-13:54:36:: i INFO: Call to RenderFirst( '[folder
    / report name was here]')
    w3wp!processing!ae0!11/10/2005-13:55:06:: e ERROR: Throwing
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    Cannot create a connection to data source 'dbReports'., ;
    Info:
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    Cannot create a connection to data source 'dbReports'. -->
    System.InvalidOperationException: Timeout expired. The timeout period
    elapsed prior to obtaining a connection from the pool. This may have
    occurred because all pooled connections were in use and max pool size was
    reached.
    at
    System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
    encryptedConnectionString, OracleConnectionString options, OracleConnection
    owningObject, Boolean& isInTransaction)
    at
    System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString
    parsedConnectionString, Object transact)
    at System.Data.OracleClient.OracleConnection.Open()
    at Microsoft.ReportingServices.DataExtensions.ConnectionExtension.Open()
    at Microsoft.ReportingServices.ReportProcessing.s.a(DataSource A_0, ab
    A_1)
    Is anyone running RS with Oracle 10g? If so, have you seen anything like
    this?
    Thanks in advance.More info from the 10g install -
    This document provides information that supplements the Oracle Data Provider
    for .NET (ODP.NET) documentation.
    =======================DOCUMENTATION ADDENDUMS
    =======================
    1. Connection Pool Management Methods (New Feature)
    Two new connection pool management methods have been introduced in
    ODP.NET
    10.2.0.1.0. ODP.NET applications can explicitly clear connections in a
    connection pool through the ClearPool() or ClearAllPools() static method
    on the OracleConnection object.
    I'm guessing that Reporting Services doesn't know about this and the pools
    are filling up. Just an FYI in case anyone hits this in the future.
    For the moment, I've attempted installing the 9i client on the box hoping
    that Reporting Services will resort to the 9i drivers. I'll let you know if
    I see any difference.
    "Jack" <anonymous@.microsoft.com> wrote in message
    news:uh2QmHk5FHA.2040@.TK2MSFTNGP14.phx.gbl...
    > Yesterday RS kept bombing out from time to time with an Oracle error.
    > Each time we would do an iisreset and the issue would correct itself.
    > I reinstalled RS with SP2 last night. Today things ran smooth for about 5
    > hours, then the issue reappeared.
    > Of particular interest from the RS log file:
    > "The timeout period elapsed prior to obtaining a connection from the pool.
    > This may have occurred because all pooled connections were in use and max
    > pool size was reached."
    > Here's the context of the error in the log file:
    > w3wp!library!ae0!11/10/2005-13:49:06:: i INFO: Initializing
    > EnableExecutionLogging to 'True' as specified in Server system
    > properties.
    > w3wp!webserver!ae0!11/10/2005-13:49:06:: e ERROR: Reporting Services error
    > Microsoft.ReportingServices.Diagnostics.Utilities.RSException: An error
    > has occurred during report processing. -->
    > Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException:
    > An error has occurred during report processing. -->
    > Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    > Cannot create a connection to data source 'dbReports'. -->
    > System.InvalidOperationException: Timeout expired. The timeout period
    > elapsed prior to obtaining a connection from the pool. This may have
    > occurred because all pooled connections were in use and max pool size was
    > reached.
    > w3wp!runningjobs!1254!11/10/2005-13:49:48:: i INFO: Adding: 1 running jobs
    > to the database
    > w3wp!library!ae0!11/10/2005-13:54:36:: i INFO: Call to RenderFirst(
    > '[folder / report name was here]')
    > w3wp!processing!ae0!11/10/2005-13:55:06:: e ERROR: Throwing
    > Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    > Cannot create a connection to data source 'dbReports'., ;
    > Info:
    > Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    > Cannot create a connection to data source 'dbReports'. -->
    > System.InvalidOperationException: Timeout expired. The timeout period
    > elapsed prior to obtaining a connection from the pool. This may have
    > occurred because all pooled connections were in use and max pool size was
    > reached.
    > at
    > System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
    > encryptedConnectionString, OracleConnectionString options,
    > OracleConnection owningObject, Boolean& isInTransaction)
    > at
    > System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString
    > parsedConnectionString, Object transact)
    > at System.Data.OracleClient.OracleConnection.Open()
    > at Microsoft.ReportingServices.DataExtensions.ConnectionExtension.Open()
    > at Microsoft.ReportingServices.ReportProcessing.s.a(DataSource A_0, ab
    > A_1)
    > Is anyone running RS with Oracle 10g? If so, have you seen anything like
    > this?
    > Thanks in advance.
    >

    Wednesday, March 7, 2012

    RS from VBScript/ASP web-app

    I have been playing a round with RepServices for some time, creating some
    nice, dynamic reports.
    Now our pointy-haired boss would like for me to incorporate a few of these
    reports into an old internet application, which was developed using VBS/ASP.
    This would be a temporary solution, the application will be rewritten using
    .NET sometime next fall.
    Which options are open to me if I want to satisfy our boss now?
    And - how about security?
    Do anybody out there have any experience with a scenario like this?You have two options:
    1. Generate your reports on the server side of your ASP app using the SOAP
    Tookit. You will loose the report toolbar and interactive features.
    2. Use URL addressability with custom security extension.
    --
    Hope this helps.
    ---
    Teo Lachev, MVP [SQL Server], MCSD, MCT
    Author: "Microsoft Reporting Services in Action"
    Publisher website: http://www.manning.com/lachev
    Buy it from Amazon.com: http://shrinkster.com/eq
    Home page and blog: http://www.prologika.com/
    ---
    "Leif" <leif.audun.hagen@.officeteam.no> wrote in message
    news:eP14QR9yEHA.1296@.TK2MSFTNGP10.phx.gbl...
    > I have been playing a round with RepServices for some time, creating some
    > nice, dynamic reports.
    > Now our pointy-haired boss would like for me to incorporate a few of these
    > reports into an old internet application, which was developed using
    VBS/ASP.
    > This would be a temporary solution, the application will be rewritten
    using
    > .NET sometime next fall.
    > Which options are open to me if I want to satisfy our boss now?
    > And - how about security?
    > Do anybody out there have any experience with a scenario like this?
    >|||Thanks, Teo. I guess it will please you to know that I have ordered your
    book. Unfortunately I have not received it yet.
    The reason for asking about classic ASP/VBS is that all examples I have seen
    to date are written using .NET, which I unfortunately know practically
    nothing about.(Time to wake up and smell the coffee...)
    I would like to present the user with a list of reports available to the
    user group he is mapped to. This relationship I could probably store in DB.
    When he has chosen report, I would like to call RS to get a parameter list
    in order to display only the relevant parameter fields. In addition I would
    like to give the user a few rendering options.
    Upon completion, I would like to display the report in an IFRAME or a new
    window. (other suggestions)
    Could I use a combination of your suggestions to achieve my goal?
    SOAP and classic ASP - is it cumbersome, compared to ASP.NET?
    "Teo Lachev [MVP]" <teo.lachev@.nospam.prologika.com> skrev i melding
    news:Ok6nQ2EzEHA.2012@.TK2MSFTNGP15.phx.gbl...
    > You have two options:
    > 1. Generate your reports on the server side of your ASP app using the SOAP
    > Tookit. You will loose the report toolbar and interactive features.
    > 2. Use URL addressability with custom security extension.
    > --
    > Hope this helps.
    > ---
    > Teo Lachev, MVP [SQL Server], MCSD, MCT
    > Author: "Microsoft Reporting Services in Action"
    > Publisher website: http://www.manning.com/lachev
    > Buy it from Amazon.com: http://shrinkster.com/eq
    > Home page and blog: http://www.prologika.com/
    > ---
    >|||Leif,
    Thanks for ordering my book.
    The requirements you describe can be implemented with either approach.
    What you need to decide on is how important are the report interactive
    features (drilldown, document maps, toggled visibility) and report toolbar
    for you. If there are a must, you have no other choice but to use URL
    addressability with custom security (that is at least before RS 2005 comes
    along). The added bonus of using URL addressability is that you can handle
    the role-membership checks in your custom extension. This approach decouples
    your application design from RS security since the only thing you have to
    change on the application side is calling the LogonUser SOAP API.
    If report interactivity is something you can live without, you can consider
    SOAP access using the SOAP toolkit. It is not much difficult to implement
    than with ASP.NET. In this case, your application has to handle user
    authentication and authorization, filter and display reports. Another
    advantage (or disadvantage depending on your perspective :-) of this
    approach is that you don't have to exit your lethargic state yet since you
    don't have learn .NET.
    --
    Hope this helps.
    ---
    Teo Lachev, MVP [SQL Server], MCSD, MCT
    Author: "Microsoft Reporting Services in Action"
    Publisher website: http://www.manning.com/lachev
    Buy it from Amazon.com: http://shrinkster.com/eq
    Home page and blog: http://www.prologika.com/
    ---
    "Leif" <leif.audun.hagen@.officeteam.no> wrote in message
    news:u$yO0tWzEHA.924@.TK2MSFTNGP10.phx.gbl...
    > Thanks, Teo. I guess it will please you to know that I have ordered your
    > book. Unfortunately I have not received it yet.
    > The reason for asking about classic ASP/VBS is that all examples I have
    seen
    > to date are written using .NET, which I unfortunately know practically
    > nothing about.(Time to wake up and smell the coffee...)
    > I would like to present the user with a list of reports available to the
    > user group he is mapped to. This relationship I could probably store in
    DB.
    > When he has chosen report, I would like to call RS to get a parameter list
    > in order to display only the relevant parameter fields. In addition I
    would
    > like to give the user a few rendering options.
    > Upon completion, I would like to display the report in an IFRAME or a new
    > window. (other suggestions)
    > Could I use a combination of your suggestions to achieve my goal?
    > SOAP and classic ASP - is it cumbersome, compared to ASP.NET?
    > "Teo Lachev [MVP]" <teo.lachev@.nospam.prologika.com> skrev i melding
    > news:Ok6nQ2EzEHA.2012@.TK2MSFTNGP15.phx.gbl...
    > > You have two options:
    > >
    > > 1. Generate your reports on the server side of your ASP app using the
    SOAP
    > > Tookit. You will loose the report toolbar and interactive features.
    > > 2. Use URL addressability with custom security extension.
    > >
    > > --
    > > Hope this helps.
    > >
    > > ---
    > > Teo Lachev, MVP [SQL Server], MCSD, MCT
    > > Author: "Microsoft Reporting Services in Action"
    > > Publisher website: http://www.manning.com/lachev
    > > Buy it from Amazon.com: http://shrinkster.com/eq
    > > Home page and blog: http://www.prologika.com/
    > > ---
    > >
    >

    Saturday, February 25, 2012

    rs drops first column in data set

    I started having this problem some time ago when trying to build a report using a stored procedure. Existing reports work fine, it is only new reports that result in this error:

    The data set ‘WeeklyManagement’ contains a definition for the field ‘BrewNumber’. This field is missing from the returned result set from the data source.

    I get this error when I try to preview the report. The missing field is always the first column in the dataset. I have tried everything I can think of, including repeating the column, rewriting the sproc, rewriting the report, everything. I cannot find any reason why this should be happening. Can anyone help? BTW, when I create the dataset and run the sproc, all fields are returned fine. When I examine the xml, all the fields are there, correctly defined.

    Help, please! TIA. D. Lewis

    Can you publish the sproc? Print statements did this to us in the past.|||

    Hmmm. Very interesting. Following is the sproc, which I altered to comment out the 'Print' statements (yes, I did have some in there for debugging purposes). I also as an experiment repeated the first column to see if it would work, and RS began dropping that new column; error message as below:
    Build complete -- 0 errors, 0 warnings

    The data set ‘WeeklyManagement’ contains a definition for the field ‘B’. This field is missing from the returned result set from the data source.

    Preview complete -- 0 errors, 1 warnings
    The sproc is a bit messy, and uses a temp table, but for completeness' sake here it is:

    use snb01
    go

    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_NULLS ON
    GO
    Alter PROCEDURE spBrewhouseOverview
    AS
    Declare @.BeginDate smalldatetime
    Declare @.EndDate smalldatetime
    Set @.BeginDate = DATEADD(dd,-45,Getdate())--'9/1/05'
    set @.EndDate = Getdate()--'9/15/05'

    --Print convert(varchar,@.begindate)
    --Print convert(varchar,@.enddate)

    --spBrewhouseOverview '8/2/05','8/3/05'
    --5/20/03
    --Have to convert the dates to char then to date again
    --to strip out the time portion that crystall passes
    --also added one day to the end time to
    --allow for the fact that the end day would be midnight
    --at the beginning of the ending day, which would otherwise
    --effectively eliminate all brews on that day from showing up.
    BEGIN
    CREATE TABLE [#tblOverview] (
    [ID] [int] IDENTITY (1, 1) NOT NULL ,
    [ProBrewID] [int] NULL,
    [BrewNumber] [int] NULL ,
    [Kettle] [char] (12) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
    [StartTimeInKettle] [smalldatetime] NULL ,
    [StartTimeBoil] [smalldatetime] NULL ,
    [EndTimeBoil] [smalldatetime] NULL ,
    [Hop1Time] [smalldatetime] NULL ,
    [Hop2Time] [smalldatetime] NULL ,
    [MossTime] [smalldatetime] NULL ,
    [Hop3Time] [smalldatetime] NULL ,
    [Hop4Time] [smalldatetime] NULL ,
    /*[StartTimeMash] [smalldatetime] NULL ,
    [SaccReqTime] [smalldatetime] NULL ,
    [SaccTime] [smalldatetime] NULL ,
    [MashOutTime] [smalldatetime] NULL ,
    [StartTimeInLauter] [smalldatetime] NULL ,
    [StartTimeVorlauf] [smalldatetime] NULL ,
    [StartTimeLauter] [smalldatetime] NULL ,
    [EndTimeLauter] [smalldatetime] NULL ,
    [GravityVorlauf] [int] NULL ,
    [GravityFirstRunnings] [int] NULL ,
    [GravityLastRunnings] [int] NULL ,
    [GravityLauter] [int] NULL ,
    [HazeFirstRunnings] [int] NULL ,
    [HazeLauterVorlauf] [int] NULL ,
    [HazeLauterLauter] [int] NULL ,*/
    [StartTimeRest] [smalldatetime] NULL ,
    [StartTimeWhirlWaterVor] [smalldatetime] NULL,
    /*[MashHour] [int] NULL,
    [LauterHour] [int] NULL,
    [KettleHour] [int] NULL,
    [WhirlpoolHour] [int] NULL,
    [BrewerMash] [Varchar] (20) NULL,
    [BrewerLauter] [Varchar] (20) NULL,*/
    [BrewerKettle] [Varchar] (20) NULL,
    [BrewerWhirlpool] [Varchar] (20) NULL,
    CONSTRAINT [PK_tblOverview] PRIMARY KEY CLUSTERED
    (
    [ID]
    ) ON [PRIMARY]
    ) ON [PRIMARY]
    END

    SET NOCOUNT ON
    INSERT #tblOverview
    (Probrewid
    , Brewnumber
    , Kettle
    , StarttimeInKettle
    , StartTimeBoil
    , EndTimeBoil
    , Hop1Time
    , Hop2Time
    , MossTime
    , Hop3Time
    , Hop4Time/*
    , StartTimeMash
    , SaccReqTime
    , SaccTime
    , MashOutTime
    , StartTimeInLauter
    , StartTimeVorlauf
    , StartTimeLauter
    , EndTimeLauter
    , GravityVorlauf
    , GravityFirstRunnings
    , GravityLastRunnings
    , GravityLauter
    , HazeFirstRunnings
    , HazeLauterVorlauf
    , HazeLauterLauter*/
    , StartTimeRest
    , StartTimeWhirlWaterVor)
    (
    Select a.probrewid
    , a.Brewnumber
    , a.Kettle
    , a.StarttimeInKettle
    , a.StartTimeBoil
    , a.EndTimeBoil
    , a.Hop1Time
    , a.Hop2Time
    , a.MossTime
    , a.Hop3Time
    , a.Hop4Time
    /*, b.StartTimeMash
    , b.SaccReqTime
    , b.SaccTime
    , b.MashOutTime
    , c.StartTimeInLauter
    , c.StartTimeVorlauf
    , c.StartTimeLauter
    , c.EndTimeLauter
    , c.GravityVorlauf
    , c.GravityFirstRunnings
    , c.GravityLastRunnings
    , c.GravityLauter
    , c.HazeFirstRunnings
    , c.HazeLauterVorlauf
    , c.HazeLauterLauter*/
    , d.StartTimeRest
    , d.StartTimeWhirlWaterVor
    FROM Proleit.dbo.tblRptKettleAll a
    INNER JOIN Proleit.dbo.tblRptMashingAll b on a.Probrewid=b.probrewid
    INNER JOIN Proleit.dbo.tblRptLauterAll c on a.Probrewid=c.Probrewid
    INNER JOIN Proleit.dbo.tblRptWhirlpoolAll d on a.Probrewid=d.probrewid
    WHERE a.StartTimeBoil>=CONVERT(datetime,(CONVERT(varchar,@.BeginDate,112)))
    AND a.StartTimeBoil<= DATEADD(day,1,CONVERT(datetime,(CONVERT(varchar,@.EndDate,112))))
    )

    --Comment out for troubleshooting
    --declare a cursor for the table, loop through
    --and update each brewer


    DECLARE CurC CURSOR FOR SELECT Probrewid,MossTime,StartTimeRest
    FROM #tblOverview
    DECLARE @.Probrewid int
    DECLARE @.TimeMoss datetime
    DECLARE @.TimeWhirl datetime
    OPEN CurC

    FETCH NEXT FROM CurC INTO @.probrewid,@.TimeMoss,@.TimeWhirl
    BEGIN
    WHILE @.@.FETCH_STATUS=0
    BEGIN

    --Print convert(varchar,@.probrewid) + ' is probrewid'
    --Print convert(varchar,@.TimeMoss) + ' is @.TimeMoss'
    --Exec spBrewhouseOverviewSacc @.probrewid,@.timeSacc
    --Exec spBrewhouseOverviewVorlauf @.probrewid,@.timeVorlauf
    Exec Proleit.dbo.spBrewhouseOverviewKettle @.probrewid,@.timeMoss
    Exec Proleit.dbo.spBrewhouseOverviewWhirlpool @.probrewid,@.timeWhirl

    FETCH NEXT FROM CurC INTO @.probrewid,@.TimeMoss,@.TimeWhirl
    END
    END
    CLOSE CurC
    DEALLOCATE CurC

    SET NOCOUNT ON
    UPDATE #tblOverview
    SET BrewerKettle='None Recorded'
    WHERE BrewerKettle is null

    UPDATE #tblOverview
    SET BrewerWhirlpool='None Recorded'
    WHERE BrewerWhirlpool is null


    SELECT
    a.BrewNumber as B
    , a.BrewNumber
    , a.Kettle
    , Convert(datetime,Convert(varchar,a.StartTimeInKettle,110)) as BrewDate
    , DATEDIFF(n,MossTime,Hop3Time) as Minutes
    , BrewerKettle as Brewer
    , 'Hop3Time' as Type
    FROM #tblOverview a
    WHERE DATEDIFF(n,MossTime,Hop3Time)<10
    OR DATEDIFF(n,MossTime,Hop3Time)>13

    UNION ALL

    SELECT
    a.BrewNumber as B
    , a.BrewNumber
    , a.Kettle
    , Convert(datetime,Convert(varchar,a.StartTimeInKettle,110)) as BrewDate
    , DATEDIFF(n,Hop3Time,Hop4Time) as Minutes
    , BrewerKettle as Brewer
    , 'Hop4Time' as Type
    FROM #tblOverview a
    WHERE DATEDIFF(n,Hop3Time,Hop4Time)<10
    OR DATEDIFF(n,Hop3Time,Hop4Time) > 13

    UNION ALL

    SELECT
    a.BrewNumber as B
    , a.BrewNumber
    , a.Kettle
    , Convert(datetime,Convert(varchar,a.StartTimeInKettle,110)) as BrewDate
    , DATEDIFF(n,StartTimeRest,StartTimeWhirlWaterVor) as Minutes
    , BrewerWhirlpool
    , 'WhirlpoolTime' as Type
    FROM #tblOverview a
    WHERE DATEDIFF(n,StartTimeRest,StartTimeWhirlWaterVor)>21

    Drop Table #tblOverview

    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO

    |||If you're not working with a whole lot of data, an @.Table variable instead of a temp table may be more efficient and you won't need the drop table statement at the end.
    Try adding to your UNION ALL statements with a select statement at the top that sets a default value.... eg. SELECT 0 as B, 0 as BrewNumber, 0 as Kettle, 0 as BrewDate, etc.... to see if it is a problem with the naming of the fields and the first result set not returning a value.
    Maybe dump that above dummy SELECT statement in various places within the stored procedure, so that you can find out where it is breaking. (not returning the right result set)
    It could have something to do with the 2 execs you have going there... It would be interesting to see the SQL messages pane.|||I will set to work on those suggestions, thanks.

    Just to clarify, the result set returned in Query Analyzer is fine, with no errors and no messages. When I refresh the dataset from within visual studio while designing the report, I also get the entire set with no issues. It is only when I try to preview the report that the thing bonks -- i.e., the first column is dropped and VS tells me that it is not defined.

    Also, I went back and examined the two 'exec ....' statements, and they are simple update statements, with no 'Print....' or anything else. Very innocuous, actually. I placed them in separate sprocs because they are reused elsewhere and are long.

    RS can't handle the load -- How can I lower concurrent requests?

    I'm running a report schedule with 400 reports on it. RS is trying to run the
    reports 8 at a time (according to the Performance Counter), and can't handle
    the load. It writes out four or so, then hangs for an hour, occasionally
    writing a successful report or failing a request with a "rendering error" or
    a "write failure".
    Last month we had a much smaller volume of data. This month it's not working
    properly.
    How do I set the number of concurrent requests that RS tries to run?You can set the MaxQueueThreads element in the RSReportServer.config file.
    0 is the default and means RS will attempt to figure out the amount to load.
    Any other number is the max number that RS will process at one time.
    --
    -Daniel
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "AJ Cohen" <AJCohen@.nospam.nospam> wrote in message
    news:95AFC3C0-A3D9-44B5-BEF3-C600E9864DA3@.microsoft.com...
    > I'm running a report schedule with 400 reports on it. RS is trying to run
    > the
    > reports 8 at a time (according to the Performance Counter), and can't
    > handle
    > the load. It writes out four or so, then hangs for an hour, occasionally
    > writing a successful report or failing a request with a "rendering error"
    > or
    > a "write failure".
    > Last month we had a much smaller volume of data. This month it's not
    > working
    > properly.
    > How do I set the number of concurrent requests that RS tries to run?
    >

    RS asking for credentials

    We have SP2 installed.
    Our app uses the new viewer control.
    Right now every time the app asks for a report the RS is asking to login
    credentials.
    Prior to today sometimes it would and sometimes it wouldn't.
    We're on an intranet so anyone in the domain can run/view a report.
    It seems like I've changed or missed some setting so RS doesn't as for
    credentials.
    Can someone point me in the rightr direction.
    Thanks
    Kyle!Sorry...meant SP1.
    "Kyle Jedrusiak" <kjedrusiak@.princetoninformation.com> wrote in message
    news:OPwU8qDbFHA.464@.TK2MSFTNGP15.phx.gbl...
    > We have SP2 installed.
    > Our app uses the new viewer control.
    > Right now every time the app asks for a report the RS is asking to login
    > credentials.
    > Prior to today sometimes it would and sometimes it wouldn't.
    > We're on an intranet so anyone in the domain can run/view a report.
    > It seems like I've changed or missed some setting so RS doesn't as for
    > credentials.
    > Can someone point me in the rightr direction.
    > Thanks
    > Kyle!
    >