SQL JOB Failing Unable to complete login process due to delay in prelogin response

  • From where is the package called?

    If the SSIS package is called from a SQL Agent job you will need a proxy account to access the SSIS subsystem.

    The article below explains what to do.

    http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/%5B/url%5D

    __________________
    MS-SQL / SSIS / SSRS junkie
    Visit my blog at dba60k.net

  • Thanks for reply but in error message it don't indicate its a proxy issue, it says below error.

    OLE DB" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "[highlight=#ffff11]Login timeout expired[/highlight]". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "[highlight=#ffff11]Unable to complete login process due to delay in prelogin response[/highlight]". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "[highlight=#ffff11]TCP Provider: Timeout error [258[/highlight]]. ". End Error Error: 2014-01-26 20:45:18.71 Code: 0xC020801C

  • It could also be a firewall issue. Check the list below.

    http://technet.microsoft.com/en-us/library/ms190181%28v=sql.105%29.aspx

    Also check the native client version. Depending on the SSIS version you might need version 10.1 instead of 10.0.

    __________________
    MS-SQL / SSIS / SSRS junkie
    Visit my blog at dba60k.net

  • You might want to look at this and try increasing the values.

  • Thanks Guys ,

    I have increased time out session from 600 to 2000 and SSIS package is running on 10.1 version. I haven't found the Root Cause of this issue. Some one did say restarting Server might as they did every time this happened on there server but I don't see that as a solution.

    Any Ideas ??

  • Sporadic issues can be very difficult to pin down.

    And depending on physical and virtual machines in the mix, troubleshooting can be challenging.

    We used SCOM, so I had the luxury of being able to get some pretty good reports from a number of machines after the fact.

    Lacking that, you might want to try capturing some of the basics on the 2 machines for a few minutes around the run time.

    You also might want to mention this to whoever is Domain Admin.

    More as a 'I'm having this problem...do you have any ideas on how to troubleshoot it?'

    Most domain admins are glad to be able to prove authentication is working fine.

    And may have some ideas on what they think you should check.

  • Thanks for reply ,

    We are going to set up a network trace tonight. Other thing I was thinking we have Transaction replication that is on 24 hours and SQL might be fighting for resources.

    so tomorrow we are going to turn off replication and see if that helps. Microsoft don't have a clue what could be root cause of this problem.

  • Place I used to work at just had similar issue when they moved to new server.

    Sounded like network traffic was the issue.

  • Funny .... We are running network trace from yesterday and problem has not occurred.

    Wonder WHY??? But right now its point to wards Networks.

    will keep you posted.

  • Hi, we are encountering the same issue currently. Error message is exactly the same and the error happens sporadically. I am wondering what was next after the network trace. Any update is highly appreciated.

  • Has this issue been resolved?  I am experiencing the same issue.  Did it turn out to be a network issue?

  • Have PowerShell script that repeatedly invokes SQLCMD. Of the hundreds of invocations, a random handful will fail with this error on every invocation of the script. The script is run on the host system connecting to a SQL 2016 SP2 instance running on Windows 2016 as a VM (VMWare Workstation). So network issues would not seem to be a factor (all on same physical "box"). Same script run against SQL 2016 SP2 instance on host OS (Windows 10) never has issues.

    The VM and host system are not overloaded, no contention for memory, CPU, or disk (SSD). VM configured with 8 processors (2 with 4 cores each), 32 GB RAM. Host has 128 GB RAM with 48 logical processors (2 sockets, 24 cores).


    Have Fun!
    Ronzo

  • I would eliminate network just yet. Script is running under some account, which might not be a local account.

Viewing 13 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic. Login to reply