<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SDE Lost DBMS Connection in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742804#M5059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For whatever reason on my last post it was suppose to say at the top:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon more digging I found that this error occurred first, then the lost connection error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="line-height: 107%; font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Failure&lt;/SPAN&gt; to access the DBMS server [08S01:[Microsoft][SQL Server Native Client&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; line-height: 107%; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;STRONG style="font-family: 'Arial',sans-serif;"&gt;11.0]TCP Provider: An existing connection was forcibly closed by the remote&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: 'Arial',sans-serif;"&gt;host. ] [File Name]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 14:02:10 GMT</pubDate>
    <dc:creator>DaleShearer</dc:creator>
    <dc:date>2015-08-21T14:02:10Z</dc:date>
    <item>
      <title>SDE Lost DBMS Connection</title>
      <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742802#M5057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two VB.net applications done in Visual Studio 2012.&amp;nbsp; Within these applications are similar search routines that are done on a sql server.&amp;nbsp; These applications are used daily by multiple users and have been for years.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within the past 3 months there have been 3 SDE_E_SE_LOST_DBMS_CONNECTION errors on different machines running the apps.&amp;nbsp; 2 errors were on one application, 1 error on the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in tracking this down this is the info on error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Error: Exception from HRESULT: 0x80050199&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Error Number: -2147155559&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;This translate to -409&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Which is saying the same thing: SDE_E_SE_LOST_DBMS_CONNECTION - &lt;/SPAN&gt;The application can no longer connect to the underlying DBMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last time this occurred the user had let the application sit for about an hour and it threw the error when they went to do a new search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On all the errors the user restarted the applications and they worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a programmer/developer and I know how servers and things work but I do not deal with them.&amp;nbsp; On approaching the powers that be on the servers I am told the problem is in the code, the end, as such I have no access to server logs, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here I am with a random error that points to a lost dbms connection.&amp;nbsp; If it is something in the code I am open to any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is:&amp;nbsp; is there any way I can track/log any type of connection error from the client side, or do I need to better understand the error that is occurring?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Arial',sans-serif;"&gt;Thank you for your time.&amp;nbsp; Dale,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 14:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742802#M5057</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2015-08-20T14:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost DBMS Connection</title>
      <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742803#M5058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Failure&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt; to access the DBMS server [08S01:[Microsoft][SQL Server Native Client&lt;BR /&gt;11.0]TCP Provider: An existing connection was forcibly closed by the remote&lt;BR /&gt;host. ] [File Name]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;The sequence of events was the user selected a checkbox to display a layer on the map which threw the above error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Next they tried to perform a search routine which threw the SDE_E_SE_LOST_DBMS_CONNECTION error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;They then shut down the application and restarted it and it ran without error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Thank you for your time.&amp;nbsp; Dale,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 13:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742803#M5058</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2015-08-21T13:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost DBMS Connection</title>
      <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742804#M5059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For whatever reason on my last post it was suppose to say at the top:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon more digging I found that this error occurred first, then the lost connection error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;SPAN style="line-height: 107%; font-family: 'Arial',sans-serif; font-size: 10pt;"&gt;Failure&lt;/SPAN&gt; to access the DBMS server [08S01:[Microsoft][SQL Server Native Client&lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; line-height: 107%; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;STRONG style="font-family: 'Arial',sans-serif;"&gt;11.0]TCP Provider: An existing connection was forcibly closed by the remote&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-family: 'Arial',sans-serif;"&gt;host. ] [File Name]&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 14:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742804#M5059</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2015-08-21T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost DBMS Connection</title>
      <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742805#M5060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dale,&lt;/P&gt;&lt;P&gt;Have you tried below mention points --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible issue -&lt;/P&gt;&lt;P&gt;Client is connecting with an unsupported version of the SQL Server Native Client.&amp;nbsp; [Solution - Update the client computer to the server version of the SQL Server Native Client.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faulty network hardware is dropping portions of the TCP traffic. [Use network monitoring programs to analyze TCP SYN, ACK, and FIN messages.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any other client killing the connection - Examine the SQL Server ERRORLOG for KILL statements; if there are none, then no other client is killing SQL Server connections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have resolved this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742805#M5060</guid>
      <dc:creator>DeepLakhanpal1</dc:creator>
      <dc:date>2015-09-02T06:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost DBMS Connection</title>
      <link>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742806#M5061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying D, sorry it took so long to get back.&amp;nbsp; I have not resolved this issue as of yet.&amp;nbsp; I am a developer so trouble shooting the network is all new to me.&amp;nbsp; When this error occurs I am told that it is an error in the code that is causing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But.... when the error occurs and the user restarts the application it runs fine.&amp;nbsp; It occurs on search routines on an sdeworkspace.&amp;nbsp; This error occurs sometimes after the application has sat idle for awhile and the user goes to use the application again.&amp;nbsp; Sometimes the error message points to the sdeworkspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take the information you gave me and look it.&amp;nbsp; I do appreciate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dale,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/sde-lost-dbms-connection/m-p/742806#M5061</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2015-09-04T13:32:28Z</dc:date>
    </item>
  </channel>
</rss>

