<?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 connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72769#M4177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you know how to run sde command line?&amp;nbsp; If so, try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdeconfig -o alter -v TCPKEEPALIVE=TRUE -i esri_sde -u sde -p password&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when it asks you if you want to update, type Y for yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assumptions:&amp;nbsp; esri_sde is the name of your ArcSDE service, sde is the name of your sde account, password is your sde account password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, after some consideration, this might not be your problem.&amp;nbsp; This fixes orphaned gsrvr processes which would result from ArcIMS or ArcGIS Server connections that time out.&amp;nbsp; You didn't mention either of those products, so this is probably bad advice.&amp;nbsp; Forget I said anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 20:26:50 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2012-03-01T20:26:50Z</dc:date>
    <item>
      <title>SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72768#M4176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are seeing the error sometimes in ArcGIS Server Logs, where we have REST services published.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error [Microsoft SQL Server Native Client]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This our environment :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI ArcGIS Server 9.3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI ArcGIS Desktop 9.3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI ArcSDE 9.3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL Server 2005 SP4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have versioned GDB.&amp;nbsp; The database has many insert/update/delete operation per each spatial table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I read somewhere on ESRI forum that ArcSDE 9.3 is recommended with SQL Server 2005 SP2 level and ours is SP4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insight will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SG.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 23:03:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72768#M4176</guid>
      <dc:creator>shay-geo</dc:creator>
      <dc:date>2012-02-29T23:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72769#M4177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you know how to run sde command line?&amp;nbsp; If so, try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdeconfig -o alter -v TCPKEEPALIVE=TRUE -i esri_sde -u sde -p password&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when it asks you if you want to update, type Y for yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assumptions:&amp;nbsp; esri_sde is the name of your ArcSDE service, sde is the name of your sde account, password is your sde account password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, after some consideration, this might not be your problem.&amp;nbsp; This fixes orphaned gsrvr processes which would result from ArcIMS or ArcGIS Server connections that time out.&amp;nbsp; You didn't mention either of those products, so this is probably bad advice.&amp;nbsp; Forget I said anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72769#M4177</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2012-03-01T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72770#M4178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are using an elderly release of ArcSDE (9.3 sites should be at 9.3.1 SP2 by now), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I doubt this is the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is generated from the database, so looking in the database logs may be useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72770#M4178</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-03-01T20:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72771#M4179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with Vince.&amp;nbsp; You can look in these places:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SQL Server Error Log shows errors from server-wide processes. You can read about it at &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms187885(v=sql.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms187885(v=sql.90).aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Default Trace, which when enabled performs continuous, lightweight tracing.&amp;nbsp; You can examine the trace using the SQL Server Profiler.&amp;nbsp; More information is available at &lt;/SPAN&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms175513(v=sql.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms175513(v=sql.90).aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-- TAD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72771#M4179</guid>
      <dc:creator>ThomasDunn</dc:creator>
      <dc:date>2012-03-01T20:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72772#M4180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You all for the suggestions. We have all direct connections. I do have a TCPKEEPALIVE param to TRUE for each service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not see any error in ArcSDE or SQL server logs.&amp;nbsp; We have trace enabled at lower lever as you mentioned. Interestingly the error, i am seeing is in ArcGIS Server Logs and its very intermittent (most of the time, it happens after SQL server DB backup nightly jobs). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will keep you posted more ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shay ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 23:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72772#M4180</guid>
      <dc:creator>shay-geo</dc:creator>
      <dc:date>2012-03-05T23:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72773#M4181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the connections are being terminated from the database side during a backup script, it's possible that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a restart of the database is severing the connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure you want TCPKEEPALIVE enabled?&amp;nbsp; It adds network overhead to the communication protocol to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;detect the difference between a quiet connection and a hung client, and terminates the connection when&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;timeout is detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 02:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72773#M4181</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-03-06T02:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72774#M4182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;IMG src="http://www.heritems.info/avatar2.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2012 03:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72774#M4182</guid>
      <dc:creator>EmilyParson</dc:creator>
      <dc:date>2012-03-06T03:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: SDE Lost connection : Underlying DBMS error (-51) Underlying DBMS error[Microsoft</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72775#M4183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are working with ESRI Tech support and we are getting closed to resolving the issue that we have seen so far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will send the documentation as soon as i put them together, so it may help others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shay ....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 23:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-lost-connection-underlying-dbms-error-51/m-p/72775#M4183</guid>
      <dc:creator>shay-geo</dc:creator>
      <dc:date>2012-04-24T23:31:25Z</dc:date>
    </item>
  </channel>
</rss>

