top of page
Search
inlobeattni1976

Microsoft Sql Server Error 258: What It Means and How to Resolve It



ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)


Interesting thing is, when >telnet XX.XXX.XXX.XXX 1433 is run, it takes about 10-12 seconds to fail (Could not open connection to the host, on port 1433: Connect failed), but I can see the 2 packets coming to the router itself. Same with the login using SQL Manager - packets come to the router, but either server machine refuses (doesn't resolve?) the connection, or it doesn't even get to the machine.




Microsoft Sql Server Error 258



The message as such is the standard message when the instance cannot be reached. However, error 258 is unusual in this context. And it is not an SQL Server error, it's an OS error; NET HELPMSG 258 saysThe wait operation timed out.


My first thought is to check is connectivity, make sure he is on a network that can actually reach the SQL server. At the risk of sounding like a network guy, can he ping the server? Can he at least make an RDP connection to the point of being prompted for credentials? (Successful logon is a moot point as long as he is prompted).


Oddly, I see this happening more often than I'd expect. I did notice that a PING to the server name came back with the IPv6 address rather than the IPv4 address. I don't expect that would be the case with everyone, but I have the Windows 2016 Business Essentials setup as my domain controller and it may have been upgraded from previous versions. I am still getting accustomed to differences.


The SQL Browser is running meaning the first one should have worked since it is all within the domain. In the calling application D:\Program Files\Microsoft SQL Server\MSSQL14.HALLORAN\MSSQL\Binn\sqlservr.exe is a firewall exception and in the destination server, the port is open in the inbound rules.


Different than what the others have here - my database engine service is running on a group Managed Service Account that has domain and SPN capability across three servers running SQL Server Enterprise or Developer - whichever is preferred. The SPN's will need to be checked. Possibly that is also the issue. One of the SPN requirements is to create the SPN only from the server itself (and I keep saying server but these instances are actually running on Windows 10 v1809 machines).


I recently encountered an issue with a customer connecting to Microsoft Dynamics SL via Terminal Services. The administrative user on the server could login to Dynamics SL but the non-admin users received an error message SQL Server Error 258: Unable to complete login due to timeout.


A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) (Microsoft SQL Server, Error: 258)


I have tried to connect using SSMS v18.8 and Azure Data Studio on both got the same result against this Azure SQL database, in another hand I can connect to other Azure SQL database without any problem, it's just this Azure SQL Database which cause the error


The options I have selected on SMSS are the followings, I have played with options Encrypt connection and Trust server certificate enabling and disabled, respectly, I have also try to specify the Connect to database with all possible combinations.


Thanks for reverting back. There could be multiple reasons behind this like if the server is stopping, or the firewall is not configured properly or mostly could be the connectivity issue with this specific server.


  • Please login to add favorites.Dismiss this notice","authentication_redirect":"","dev_mode":"","logged_in":"","user_id":"0","authentication_redirect_url":"https:\/\/www.sqlservercentral.com\/wp-login.php"};/* ]]> *//* */ const sites = ['www.red-gate.com','www.sqlservercentral.com','documentation.red-gate.com','sqlmonitormetrics.red-gate.com'];window.dataLayer = window.dataLayer [];function gtag()dataLayer.push(arguments);gtag('js', new Date());gtag('config', 'UA-90206-6');gtag('config', 'G-QQKLT0M52F');gtag('config', 'UA-90206-169', 'linker': 'domains': sites );/* *//* */.avatar_overlays pbackground:rgba(0,0,0,);color:.wpuap_tooltip:hover .wpuap_tooltip_contentdisplay:inline;position:absolute;color:;border:1px solid;background:.avatar_container [class^=icon-],.avatar_container [class*=" icon-"]color:!important#ci-modal,.ci_controlsbackground-color:!important ArticlesEditorialsStairwaysForumsForums homeActive threadsLatest topicsMost popularLeaderboardScriptsQotDBooksBlogs Register

  • Login

  • Write for us Menu ArticlesEditorialsStairwaysForumsForums homeActive threadsLatest topicsMost popularLeaderboardScriptsQotDBooksBlogs Write for us Register

  • Login

  • Home

  • Forums

  • SQL Server 2008

  • SQL Server 2008 Administration

  • TCP Provider: Timeout error [258] and Unable to complete login process due to delay in login response

Post reply TCP Provider: Timeout error [258] and Unable to complete login process due to delay in login response pxt_ce


ource: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Login timeout expired". Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Unable to complete login process due to delay in login response". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "TCP Provider: Timeout error [258]. ". End Error


Assume that you use SQL Server 2017 and you have many SQL Server Integration Services (SSIS) packages, you may notice that SSIS or Power BI reports fail sporadically with the following connection timeout errors:


This fix introduces two new columns, error_code and op_history in sys.dm_os_buffer_descriptors DMV. Error_code column represents the error information during latest attempt to populate the buffer in question. Op_history column represents operational history of the buffer in bit format (4 bit per operation, 16 operations total, last 4 bits represent the latest operation and shift left as time progresses).


Note This fix does not resolve any specific errors that you see while populating the buffer pages. It only exposes information about error codes and operations on buffers so that additional troubleshooting can be performed with the new information.


The timeout and performance issues are generic in nature and can have many underlying root causes. In this particular case, there are many errors and retries which are observed while trying to read data pages from data files and populating the memory Buffers (memory representation of data pages). The root cause for buffer population errors are not identified clearly as the underlying error codes while trying to populate the buffers that are not exposed.


  • Hi SS,\\n\\nThanks for your answers. However, the timeout error that I am encountering is not related to a login error.\\n\\nThanks,\\nNeil\",\"author\":\"username\":\"neil.bryan\",\"displayName\":\"Neil Bryan Padilla\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"s.sriram\",\"displayName\":\"S Sriram\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":11159629,\"creationDate\":1409074092000,\"activeRevisionId\":11670501,\"lastActivity\":1409074094000,\"parentId\":11156166,\"originalParentId\":11155642,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"moderatorComment\":false,\"liked\":false}]},\"11159877\":\"rootParentId\":11159877,\"commentsCount\":1,\"comments\":[\"body\":\"Hi Arun,\\n\\nThe job processes an average of 260000 records per run. In each target table where the error is observed, the row count processed varies between 3000 - 170000.\\n\\nIn addition, I have observed that the issue occurs at a consistent time. This is also usually observed during the start week and end week of the month.\\n\\nRegards,\\nNeil\",\"author\":\"username\":\"neil.bryan\",\"displayName\":\"Neil Bryan Padilla\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":11162660,\"creationDate\":1409152050000,\"activeRevisionId\":11673053,\"lastActivity\":1409152051000,\"parentId\":11159877,\"originalParentId\":11155642,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"moderatorComment\":false,\"liked\":false]}"); const simplifiedQuestionView = JSON.parse("true"); (function() window.pageContext = mergeDeep(pageContext, question: id: 11155642, plug: "sql-server-timeout-error", votes: 0, questionTitle: "SQL Server Timeout Error", isClosed: false, isLocked: false, isRedirected: false, redirectedFromTitle: "", redirectedFromId: "", closedStatusData: JSON.parse(""), userVoted: false, relations: JSON.parse("\"canClose\":false,\"canUnredirect\":false,\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"canReopen\":false,\"type\":\"question\",\"canVoteUpOrCancel\":false,\"canViewRevisions\":true,\"canUnlock\":false,\"reported\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canCancelReport\":false,\"canComment\":true,\"isCurrentUserAuthor\":false,\"canViewReports\":false"), isQuestionAccepted: true , childToViewInfo: id: "" , comments: JSON.parse("\"11156166\":\"rootParentId\":11156166,\"commentsCount\":1,\"comments\":[\"body\":\"Hi SS,\\n\\nThanks for your answers. However, the timeout error that I am encountering is not related to a login error.\\n\\nThanks,\\nNeil\",\"author\":\"username\":\"neil.bryan\",\"displayName\":\"Neil Bryan Padilla\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"s.sriram\",\"displayName\":\"S Sriram\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":11159629,\"creationDate\":1409074092000,\"activeRevisionId\":11670501,\"lastActivity\":1409074094000,\"parentId\":11156166,\"originalParentId\":11155642,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"moderatorComment\":false,\"liked\":false],\"11159877\":\"rootParentId\":11159877,\"commentsCount\":1,\"comments\":[\"body\":\"Hi Arun,\\n\\nThe job processes an average of 260000 records per run. In each target table where the error is observed, the row count processed varies between 3000 - 170000.\\n\\nIn addition, I have observed that the issue occurs at a consistent time. This is also usually observed during the start week and end week of the month.\\n\\nRegards,\\nNeil\",\"author\":\"username\":\"neil.bryan\",\"displayName\":\"Neil Bryan Padilla\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"parentAuthor\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":11162660,\"creationDate\":1409152050000,\"activeRevisionId\":11673053,\"lastActivity\":1409152051000,\"parentId\":11159877,\"originalParentId\":11155642,\"likeCount\":0,\"visibility\":\"full\",\"depth\":0,\"attachments\":[],\"canVoteUpOrCancel\":false,\"relations\":\"canReport\":false,\"visibility\":\"full\",\"canEdit\":false,\"canUseDelete\":false,\"isLiked\":false,\"type\":\"comment\",\"canVoteUpOrCancel\":false,\"canConvertToAnswer\":false,\"canBeModerated\":false,\"canViewRevisions\":false,\"showInReply\":false,\"reported\":false,\"canCancelReport\":false,\"canDelete\":false,\"canVoteDownOrCancel\":false,\"canComment\":false,\"canViewReports\":false,\"isCurrentUserAuthor\":false,\"moderatorComment\":false,\"liked\":false]"), answerPager: answersCount: 3, page: 1, pageSize: 10, pageCount: 1, sort: "votes" , answers: JSON.parse("[\"body\":\"Hi,\\n\\nI think SQL Server timeout issue is related to Non-Availability of the Host / Cluster.\\n\\nBelow are answers for your Questions......\\n\\n1. Where can I find the ODBC Configuration in BODS?\\n This Information is available in ODBC.INI file on your Job Server (/usr/sap/SID/dataservices/DataDirect/odbc\\n2. Where can I find/modify the timeout values?\\n You will be able to get tie out value from QueryTimeOut Parameter in odbc.ini file\\n3. Is this error related with the timeout configuration?\\n I am not sure, this could be related to incorrect parameters in the connection string (Check HostName, UserID and Password)4. What are the possible causes of this issue?\\n Can you try to login using SQL Server Management console and see how it goes..this will help you troubleshoot and will help you narrow down on the exact issue\",\"author\":\"username\":\"vamshi.palepu\",\"displayName\":\"Vamshi Palepu\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":11165958,\"posted\":1409242416000,\"votes\":1,\"isAccepted\":true,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"score\":1,\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"accepted\":true,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[],\"body\":\"Hi Neil \\n\\n 1. For you time out issue kindly refer the SAP KBA\\n 1671058 - ERROR: ODBC call for data source failed\\n\\n2.\\n\\n 1. Where can I find the ODBC Configuration in BODS?\\n \\n\\n Check this SAP Note 1248222 - ODBC DBSL profile parameters and connect options \\n\\n\\nBR\\nSS\",\"author\":\"username\":\"s.sriram\",\"displayName\":\"S Sriram\",\"groupIcons\":[],\"suspended\":false,\"isCurrentUser\":false,\"id\":11156166,\"posted\":1408987681000,\"votes\":0,\"isAccepted\":false,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[],\"body\":\"Hi,Whats the volume of data you handle?Arun\",\"author\":\"username\":\"former.member\",\"displayName\":\"Former Member\",\"groupIcons\":[],\"suspended\":true,\"isCurrentUser\":false,\"id\":11159877,\"posted\":1409084475000,\"votes\":0,\"isAccepted\":false,\"isLocked\":false,\"userVoted\":\"\",\"relations\":\"canCancelAccept\":false,\"canUnlock\":false,\"canUseDelete\":false,\"canVoteDownOrCancel\":false,\"canLock\":false,\"canAccept\":false,\"type\":\"answer\",\"canVoteUpOrCancel\":false,\"isCurrentUserAuthor\":false,\"attachments\":[]]"), answerForm: formAction: "/answers/11155642/post.json", textareaName: "body", textareaErrors: "", isAttachmentsEnabled: true, answerEditorialGuideline: title: "Before answering", content: "You should only submit an answer when you are proposing a solution to the poster\'s problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that your answer complies with our Rules of Engagement.", links: [ title: "Rules of Engagement", href: " -of-engagement.html", ] , answerMinBodyLength: '10', answerMaxBodyLength: '20000' , currentUser: sapInternalId: '', permissions: canVoteUpOrCancel: false, canVoteDownOrCancel: false, canModerate: false, , isVotedUp: false, isVotedDown: false , alerts: alertModeratorMinLength : "It should be given a proper explanation about why the content is inappropriate.", alertModeratorMinLengthValue : "10", alreadyReportedMessage : "You already have an active moderator alert for this content." , url: profileApiBaseUrl: ' -api.services.sap.com', followUnfollowQuestion: '/sap/nodeSubscription.json', isFollowingQuestion: '/sap/isFollowingNode.json', vote: voteUp: '/commands/0/voteup.json', voteDown: '/commands/0/votedown.json', cancelVote: '/commands/0/cancelvote.json' , rss: answers: '/feed/11155642/answers.rss', answersAndComments: '/feed/11155642/comments-and-answers.rss' , authorizeUploadContext: type: 'answer' , atMention: userSearchServiceUrl: ' ', currentUserName: '', useNewUSSCORS: true, atMentionDelayMs: 100, showMentionInRedactor: true , attachmentSettings: commentMaxAttachments: '2', answerMaxAttachments: '10', commentMaxAttachmentSizeBytes: '1048576', answerMaxAttachmentSizeBytes: '1048576', commentAttachmentsSizeBytesTotal: '2097152', answerAttachmentsSizeBytesTotal: '10485760' , editor: editorClipboardUploadEnabled: true ) )(); Home

  • Community

  • Ask a Question

  • Write a Blog Post

Login / Sign-up Search Questions and Answers 0 Neil Bryan Padilla Aug 25, 2014 at 02:29 PM SQL Server Timeout Error 1150 Views Follow RSS Feed Hi Guys, 2ff7e9595c


1 view0 comments

Recent Posts

See All

Comments


bottom of page