Errors to run some custom reports after migration

Claudio Santini 0 Reputation points
2023-11-21T16:42:52.0966667+00:00
Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown.

-------------------------------
Microsoft.ConfigurationManagement.ManagementProvider.SmsException
Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown.


Stack Trace:
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.GetParameters()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.LoadParameters(IReport report, Collection`1 navigationParameters, IResultObject resultObject)
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerPresenter.Worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

-------------------------------

System.Web.Services.Protocols.SoapException
Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown.


Stack Trace:
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.GetParameters()
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ParameterPresenter.LoadParameters(IReport report, Collection`1 navigationParameters, IResultObject resultObject)
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerPresenter.Worker_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

-------------------------------


Microsoft.Reporting.WinForms.ReportServerException
Exception of type 'Microsoft.ReportingServices.ReportProcessing.ReportProcessingException' was thrown. (rsProcessingError)


Stack Trace:
   at Microsoft.Reporting.WinForms.ServerReportSoapProxy.OnSoapException(SoapException e)
   at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
   at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
   at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
   at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
   at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)


In the ReportingServices log Im receiving this error:

webserver!ReportServer_0-1!36f4!11/16/2023-16:39:40:: i INFO: RS.Server.ReportViewerOnError {"path":"reportViewerControlOnError","exceptionType":"Microsoft.Reporting.WebForms.ReportServerException"}

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,037 questions
Microsoft Configuration Manager
{count} votes

2 answers

Sort by: Most helpful
  1. Alog bil 0 Reputation points
    2023-11-21T16:48:17.46+00:00

    If Running into errors while attempting to run custom reports after a migration can be a common challenge, and it often requires careful troubleshooting. Here are some potential reasons for encountering errors and steps to address them:

    Data Source Issues:

    • Cause: The data source used in the custom reports may be pointing to a location or database that is different from the post-migration environment.
    • Solution: Verify and update the data source connection strings in your reports to match the new environment.

    Database Schema Changes:

    • Cause: If there were changes in the database schema during migration, custom reports that rely on specific tables or fields may fail.
    • Solution: Review the database schema in the new environment and modify the reports accordingly to align with any changes.

    Permissions and Security:

    • Cause: Insufficient permissions for the account running the reports may lead to errors.
    • Solution: Ensure that the account has the necessary permissions to access the data source, execute queries, and view the required data.

    Report Definition Issues:

    • Cause: The custom reports might contain errors in the report definition (RDLC or RDL).
    • Solution: Review the report definition for any syntax errors or issues. Use tools like Visual Studio or Report Builder to validate and correct the report structure.

    Parameter Mismatch:

    • Cause: If the reports use parameters, the parameters' names or values may not align with the new environment.
    • Solution: Check and update parameters in the reports to match the data available in the new environment.

    Data Migration Completeness:

    • Cause: Incomplete or inaccurate data migration may result in missing or incorrect information for the reports.
    • Solution: Verify the completeness and accuracy of the data migration. If necessary, rerun the migration process.

    Report Server Configuration:

    • Cause: Configuration issues with the report server, such as incorrect settings or services not running, can lead to errors.
    • Solution: Validate the configuration of the reporting services and ensure that they are properly set up in the new environment.

    Version Compatibility:

    • Cause: If there are differences in the versions of reporting tools or services between the old and new environments, it can cause compatibility issues.
    • Solution: Update the reporting tools, services, and report definitions to versions compatible with the new environment.

    Network and Firewall Settings:

    • Cause: Network issues or firewall restrictions might prevent the reports from accessing the necessary resources.
    • Solution: Confirm that network connectivity is established, and check firewall settings to allow the required communication.

    Logs and Error Messages:

    • Solution: Review error messages and logs generated during report execution. They often provide specific details about the nature of the error, helping to pinpoint the issue more precisely.

    By systematically addressing these potential causes, you can troubleshoot and resolve errors encountered when running custom reports after a migration. If the issue persists, reaching out to your IT support or the team responsible for the migration for further assistance is advisable.

    0 comments No comments

  2. Garth Jones 1,666 Reputation points MVP
    2023-11-22T13:27:22.0933333+00:00

    First and foremost, You need to run the report from the SSRS/PBRS website first, If it doesn't run there then it will never run within the console.

    Next you will likely need to enable remote errors to see the real error. Base on what it says you will take you next steps.

    https://askgarth.com/blog/how-to-enable-remote-errors/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.