Running long report problem in Report server - reporting-services

i am trying to run few reports(MS Reporting server) that can be big if i set time period ALL, but also those report are getting error code 800708CA in RS log if i just set small amount of data.
Error code is:
ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.ClosingRegisteredStreamException:
,
Microsoft.ReportingServices.Diagnostics.Utilities.ClosingRegisteredStreamException:
An error occurred closing a registered stream. --->
Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeClientDisconnectionException:
A client has disconnected from the Report Server Web service
application domain ReportServer_SSRS_0-3-131959013894837810. No
corrective action is required. An error code has been submitted to
ASP.NET to release the connection. The error code is 800708CA. --->
System.Runtime.InteropServices.COMException: This network connection
does not exist. (Exception from HRESULT: 0x800708CA)
What can i do to solve this error. Time out in RS is set to 1800 s, that is enough. Running the same report in MS SQL Studio in done in coupled of seconds.

Related

Problem with SSRS. Can't generate ssrs report

When generating a report locally, it generates an error:
An error has occurred during report processing. (rsProcessingAborted)
Failed to execute shared dataset 'Dummy'. (rsDataSetExecutionError)
Failed to execute shared dataset 'TableDate'. (rsDataSetExecutionError)
Cannot create a connection to data source 'Data source for shared dataset'. (rsErrorOpeningConnection)
A network or instance-specific error occurred while establishing a connection to SQL Server. Server not found or unavailable. Make sure the instance name is correct and that remote connections are allowed on SQL Server. (provider: Named Pipes Provider, error: 40 - Failed to open connection to SQL Server)
everything works fine on the server, locally, when creating a report, the report is being loaded, after which I get this error, maybe someone has some advice. I am new to SSRS
Network path not found

Random errors in SSRS Log "The report server cannot open a connection to the report server database."

My SSRS runs snapshot in the morning. I noticed some of the reports are not snapshoting once in a while.
I found following error which is random daily for the difrerent report.
The report server cannot open a connection to the report server database.
library!WindowsService_28!1d168!02/23/2018-05:47:42:: e ERROR: Throwing Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: , Microsoft.ReportingServices.Library.ReportServerDatabaseUnavailableException: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. ---> System.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=0; handshake=11; [Login] initialization=0; authentication=0; [Post-Login] complete=16573; ---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---
Thank you,
Kalpesh
Possible reasons could be a network disconnection, blocking due to a firewall or antivirus or possible overload of the database server. What time does it occur? What processes are active at that time? Does the task manager at the database server show any performance flags? Does it happen everyday? Since when are you facing this issue? Was there a software update in the interim? More information will be required to troubleshoot.

Excecuting SSIS package deployed in Integration Service Catalog

I have edited my entire question, first my question was how to execute the SSIS Package, but now I have got the solution to execute it via SQL Server Agent job but when I am trying to execute the SQL Server Agent job, I am getting error , when I viewed in history then following message is shown
Job failed. Job was evoked by the user. Last step to run was step 1.
please note the table where I am inserting the data into database via SSIS package in SQL Express, is it SQL Express creating problem.
---------Updated Error Message-------------
The following error message is seen when I expand log file of SQL Server Agent job,
Executed as user: NT Service\SQLAgent$SQL_Server_Evalu. Microsoft(R) SQL Server Execute Package utility Version 11.0.2100.60 for 64 bit copyright (C) Microsoft Corporation. All right reserved started: 16:11:39 Package Execution on IS Server failed. Execution ID:4, Execution Status:4.
Below is the screen shot how I execute the SQL Server Agent job,
------------Updated error message------------
Below is the screen shot of the error message that are given while execution of the deployed package.
Errors are as follows:
1) Data Flow Task Error: There were errors during task validation.
2) Data Flow Task Error: OLE DB Destination failed validation and return error code 0XC020801C.
3) Data Flow Task Error: One more component failed.
4) Data Flow Task Error: SSIS Error Code
DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER
The AcquireConnection method call to the connection manager "RESHMAJADHAV\SQLEXPRESS.Adventureworks2012" failed with error code 0XC0202009.
5) Package Error: SSIS Error Code DTS_E_OLEDBERROR. An OLEDB error has occured. Error Code: 0X80004005. An OLE DB record is available. source: "Microsoft SQL Server Native Client 11.0" Hresult: 0X80004005 Description:"Login failed for user 'NTSERVICE\SQLAgGENT$SQL_SERVER_EVALU'.". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0X80004005 Description:"Cannot open Database" AdventureWorks2012"
requested by login. The login failed"
Is it because of the connection string
"Data Source=RESHMAJADHAV\SQLEXPRESS;Initial Catalog=AdventureWorks2012;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;"
That I have defined in environmental variables in Integration Service Catalog I am unable to open the database..?
Any help will be greatly apprecaiated...
Data Source=RESHMAJADHAV\SQLEXPRESS;User ID=XXXXXXX;Password=XXXXXXXXX;Initial Catalog=AdventureWorks2012;Provider=SQLOLEDB;
for the destination connection. I think job is not getting the end user name and password.
It might help. I f not can you please post the exact error message. I am no able to see anything form the picture..
Thanks

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding

while runnig the ssis package i'm calling sp in the ADO.net source,but getting this error
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.I have set the command timeout to 0(infinite time),but still getting the error.The sp is working fine in sql server and taking approx 31 seconds for executing it,but in ssis its throwing error..please help me on this.Thanks in advance.
Check out this bug report - there is a sp in the SSISDB database in SQL Server 2012 causing packages to time out before they start running. I had error message "Failed to execute IS server package because of error 0x80131904" and "Description: The operation failed because the execution timed out" when calling multiple (more than 10) packages from my scheduling tool via DTExec. Please vote for the issue on the connect site so that MS can release an official fix.
Today, I was experiencing the same error while using the ADO Net Source, my sp works fine on the SSMS, but fails in the package, while In the package, it errors our with a long laundry list of errors, but basically it is timing out.
Solution is Right click on the ADO Net Source - Show Advanced Editor - Component Properties - Custom Properties - CommandTimeout - Increase the time here
I had the same problem in SSAS.
The way I sorted this out was extending the client and server time out settings.
you can see more details in the link below:
routine to backup ssas databases fails with: The XML for Analysis request timed out before it was completed

missing dataset in Reporting Services Report after Moving TFS

We recently moved our Team Foundation Server (TFS) to a new server, and I am now trying to setup the reports once more. When I run the reports I get this error:
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'dsIteration'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
Or
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'dsPlatform'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
I created a new Team Project, and when I ran the reports from that project I got the same errors.
Where can I find these datasets or is there a way form me to redeploy all the report information to the new report server?
The cube on your SSAS server is not correctly running. There is a good blog post by Grant how to deal with it
Another Error as like as above:
An error has occurred during report processing. (rsProcessingAborted) Query execution failed for dataset 'dsPlatform'. (rsErrorExecutingCommand) For more information about this error navigate to the report server on the local server machine, or enable remote errors