SSIS Connection Manager - retry connection after failed attempt - ssis

I am wondering if there is a property from the connection manager or a straight forward way to retry the connection in case of timeout.
I am experiencing a random connection error when trying to connect to a webservice. I've checked that if I program a set of consecutive jobs to execute the package the connection works the 90% of the times, and I have not found a pattern neither the error message helps.
Thanks in advance!

Related

Need help fixing project level connection in SSIS

I have a project level connection set in SSIS. The packages will successfully complete in VS but if I run the jobs in SSMS it throws an error saying the connection cannot be found "Description: The connection "{714C118B-0638-4D33-92EB-0ECF7EBAFB4A}" is not found. This error is thrown by Connections collection when the specific connection element is not found."
Any idea how to resolve this?

SSIS ODBC Source Previews Data But Fails When Executing Package

This is really odd to me. I am using an ODBC connection as a data source in SSIS. I am able to preview data, but when I attempt to execute the package (still within Visual Studio for development), I get an error on the initial data source.
The error I am receiving is:
There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server.
The AcquireConnection method call to the connection manager xxx failed with error code 0xC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
ODBC Source failed validation and returned error code 0x80004005.
Clearly I have the right username, password, and ODBC connection to some degree, because I am able to see the data. However I am failing on establishing the connection when I attempt to run the package, so I must be doing something wrong. Any idea what it might be?
It ended up being that the drivers associated with the ODBC connection (gsk8ssl.dll) installed on the machine needed to be added to the path variables on both my local and on the server. This was for connecting to a DB2 database.

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.

How to solve MySQLDAC HTTP Tunnel connection

I want to connect to MySQL database using HTTP Tunnel (because port for remoting database is closed). I used mysqlDAC vcl for Delphi, when I was in design mode, i used GridView to display its data successfully.
But the problem when i compile the project, I always get this error :
Project WP.exe raised exception class HttpException with message 'Error on data reading from the connection:
A blocking operation was interrupted by a call to WSACancelBlockingCall.
Socket Error Code: 10004($2714)'. Process stopped. Use Step or Run to continue.
Can somebody help me to solve this problem? I think my connection setup is correct, because I can display the data on DBGrid when I set connection is true.

A transport-level error has occurred when receiving results from the server in sql server 2008

I have fired below Select Statement and I got this error. Any one help me.
select top 100
MenuID, MenuGroup, MenuName, ObjectName, ObjectTitle
from tblMenuMaster
where
ApplicationID = 3
and recStatus = 'A'
Error Message.
A transport-level error has occurred when receiving results from the
server. (provider: TCP Provider, error: 0 - The semaphore timeout
period has expired.)
Already apply Non Clustered Index on tblMenuMaster (MenuGroup,MenuName,ObjectName,ObjectTitle).
Its one of the random error which comes on SQL Server. If you reboot your machine and then try to execute the query, mostly it will not come.
You can check this MSDN blogs to get the details however.
Removing Connections
The connection pooler removes a connection from the pool after it has
been idle for a long time, or if the pooler detects that the
connection with the server has been severed.
Note that a severed connection can be detected only after attempting
to communicate with the server. If a connection is found that is no
longer connected to the server, it is marked as invalid.
Invalid connections are removed from the connection pool only when
they are closed or reclaimed.
If a connection exists to a server that has disappeared, this
connection can be drawn from the pool even if the connection pooler
has not detected the severed connection and marked it as invalid.
This is the case because the overhead of checking that the connection
is still valid would eliminate the benefits of having a pooler by
causing another round trip to the server to occur.
When this occurs, the first attempt to use the connection will detect
that the connection has been severed, and an exception is thrown.
I think the sever connection must be terminated due to which the error occurs. You need to reconnect the server and again fire the query.
However if this occurs on a frequent basis you need to get in touch with your DBA.