<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thebackroomtech &#187; SQL</title>
	<atom:link href="http://thebackroomtech.com/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://thebackroomtech.com</link>
	<description>serving up the info back room techs everywhere find interesting</description>
	<lastBuildDate>Sat, 20 Nov 2010 03:13:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</title>
		<link>http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/</link>
		<comments>http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 13:38:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[instance]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[task scheduler]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=2114</guid>
		<description><![CDATA[I received the following generic popup message when installing a new instance on SQL 2005 SP3 cluster running on Windows Server 2003 R2:  There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it.   The active [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I received the following generic popup message when installing a new instance on SQL 2005 SP3 cluster running on Windows Server 2003 R2: </p>
<div><em>There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it.</em></div>
<div> </div>
<div>The active node&#8217;s system and application event logs didn&#8217;t even show any services trying to start.  The SQL setup log wasn&#8217;t terribly helpful either.  The error was:</div>
<div><em> </em></div>
<div><em>Error: Action &#8220;OpenPipeAction&#8221; failed during execution.</em></div>
<p>I found that after I canceled the failed installation, more information was written to the setup log.  That&#8217;s when I found these messages:</p>
<p><em>Error: Action &#8220;RunRemoteSetupAction&#8221; failed during execution.  Error information reported during run:</em></p>
<p><em>Attempting to determine log files for remote install.</em></p>
<p><em>Connection to remote computer&#8217;s scheduler service.</em></p>
<p><em>Error: SetTargetComputer on \\NODE2 failed with</em></p>
<p><em>Unable to start service (1058)</em></p>
<p><em>WinException while starting remote setup.</em></p>
<p><em>        Error Code: 0&#215;80070422 (1058)</em></p>
<p><em>Windows Error Text: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.</em></p>
<p>I saw that the Task Scheduler was disabled on NODE2 (per our build standard).  I started the service, and the SQL instance installation completed successfully.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/07/07/fix-setup-cannot-copy-the-file-winhlp32-exe-when-installing-windows-xp-sp3/" title="Fix: Setup cannot copy the file winhlp32.exe when installing Windows XP SP3">Fix: Setup cannot copy the file winhlp32.exe when installing Windows XP SP3</a></li><li><a href="http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/" title="Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion">Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion</a></li><li><a href="http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/" title="Fix: SQL agent wont start on Windows 2003 Cluster, Event 53">Fix: SQL agent wont start on Windows 2003 Cluster, Event 53</a></li><li><a href="http://thebackroomtech.com/2009/09/23/workaround-for-dell-openmanage-server-administrator-installation-fails-prerequisite-checks/" title="Workaround for Dell OpenManage Server Administrator installation fails prerequisite checks">Workaround for Dell OpenManage Server Administrator installation fails prerequisite checks</a></li><li><a href="http://thebackroomtech.com/2007/11/13/sonicwall-viewpoint-41-installation-error-sql-server-does-not-exist-or-access-denied/" title="Sonicwall Viewpoint 4.1 Installation Error: SQL Server does not exist or access denied">Sonicwall Viewpoint 4.1 Installation Error: SQL Server does not exist or access denied</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL query to find BES UserID</title>
		<link>http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/</link>
		<comments>http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 17:50:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[BES]]></category>
		<category><![CDATA[Blackberry Enterprise Server]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[UserID]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=2074</guid>
		<description><![CDATA[Had a support call today about a user not receiving email on his Blackberry device.  After a phone call to Research in Motion, we determined the user was out of the coverage area.  Very frustrating.  All the information was in the Blackberry Enterprise Server&#8217;s MAGT log, I just didn&#8217;t know how to find it.  Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Had a support call today about a user not receiving email on his Blackberry device.  After a phone call to Research in Motion, we determined the user was out of the coverage area.  Very frustrating.  All the information was in the Blackberry Enterprise Server&#8217;s MAGT log, I just didn&#8217;t know how to find it.  Here&#8217;s how I figured it out.</p>
<p>Previously <a href="http://thebackroomtech.com/2009/06/22/bes-error-checknewmbsyncrecords-missed-mail-item-arrived-for-inactive-or-non-existant-user/" target="_blank">I had posted</a> the following SQL query that determines a user&#8217;s name based upon the BES ID number.</p>
<p><em>SELECT     Id, DisplayName, UserName<br />
FROM         UserConfig<br />
WHERE     (Id = ‘73′)</em></p>
<p>I changed the query around to find the BES UserID based upon the UserName:</p>
<p><em>SELECT     Id, DisplayName, UserName<br />
FROM         UserConfig<br />
WHERE     (UserName = &#8216;jsmith&#8217;)</em></p>
<p>This query gave me the BES UserID, which was 779 in my case.</p>
<p>I then opened up the BES MAGT log, and searched for the following string:</p>
<p><em>UserId: 779 is out of coverage</em></p>
<p>I found it repeatedly.  My user was out of coverage all day, which is why no mail  was received on his Blackberry.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/" title="SQL Query to determine Blackberry MDS Services administration password">SQL Query to determine Blackberry MDS Services administration password</a></li><li><a href="http://thebackroomtech.com/2009/10/26/fix-blackberry-media-manager-exits-with-r6025-pure-virtual-function-call-error/" title="Fix:  Blackberry Media Manager exits with R6025 pure virtual function call error">Fix:  Blackberry Media Manager exits with R6025 pure virtual function call error</a></li><li><a href="http://thebackroomtech.com/2009/02/12/fix-cannot-find-groupwise-users-to-add-to-the-blackberry-enterprise-server/" title="Fix: Cannot find Groupwise users to add to the Blackberry Enterprise Server">Fix: Cannot find Groupwise users to add to the Blackberry Enterprise Server</a></li><li><a href="http://thebackroomtech.com/2009/02/11/after-upgrading-to-bes-413-or-higher-for-groupwise-excessive-gwxmldatacontactsyncrecordtoxml-warnings-appear-in-the-windows-application-log/" title="After upgrading to BES 4.1.3 or higher for Groupwise, excessive  GWXMLData::ContactSyncRecordToXML warnings appear in the Windows Application log">After upgrading to BES 4.1.3 or higher for Groupwise, excessive  GWXMLData::ContactSyncRecordToXML warnings appear in the Windows Application log</a></li><li><a href="http://thebackroomtech.com/2009/02/10/viewing-pending-messages-by-user-in-blackberry-manager/" title="Viewing Pending Messages by user in Blackberry Manager">Viewing Pending Messages by user in Blackberry Manager</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion</title>
		<link>http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/</link>
		<comments>http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 09:29:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Configuration Manager]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=2048</guid>
		<description><![CDATA[Things didn&#8217;t go too smoothly yesterday when I was trying to reconfigure our SQL 2005 cluster and it&#8217;s database locations.  At one point I couldn&#8217;t even get SQL Configuration Manager to start up.  At various times I received both of the following errors. The request failed or the service did not respond in a timely [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Things didn&#8217;t go too smoothly yesterday when I was trying to reconfigure our SQL 2005 cluster and it&#8217;s database locations.  At one point I couldn&#8217;t even get SQL Configuration Manager to start up.  At various times I received both of the following errors.</p>
<p><em>The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details.</em>  </p>
<div><em>Connection to target machine could not be made in a timely fasion.</em></div>
<div><em> </em></div>
<div>Luckily, the fix was pretty easy.  Just launch <em>services.msc</em> and restart the <em>Windows Management Instrumentation (WMI)</em> service, SQL Configuration Manager should start up for you. </div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/" title="FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;">FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</a></li><li><a href="http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/" title="SQL query to find BES UserID">SQL query to find BES UserID</a></li><li><a href="http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/" title="Fix: SQL agent wont start on Windows 2003 Cluster, Event 53">Fix: SQL agent wont start on Windows 2003 Cluster, Event 53</a></li><li><a href="http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/" title="SQL Query to determine Blackberry MDS Services administration password">SQL Query to determine Blackberry MDS Services administration password</a></li><li><a href="http://thebackroomtech.com/2009/03/18/fix-event-id-57860-an-error-occurred-while-attempting-to-log-in-to-the-following-server-sql-error-number-0011-is-seen-when-backing-up-a-server-with-sql-installed/" title="FIX: Event ID: 57860 &#8220;An error occurred while attempting to log in to the following server… SQL error number: &#8220;0011&#8243; is seen when backing up a server with SQL installed">FIX: Event ID: 57860 &#8220;An error occurred while attempting to log in to the following server… SQL error number: &#8220;0011&#8243; is seen when backing up a server with SQL installed</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix: SQL agent wont start on Windows 2003 Cluster, Event 53</title>
		<link>http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/</link>
		<comments>http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:31:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Cluster Administrator]]></category>
		<category><![CDATA[Dependency]]></category>
		<category><![CDATA[Event 53]]></category>
		<category><![CDATA[SQL Agent]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=2015</guid>
		<description><![CDATA[The Problem SQL Agent won&#8217;t start on a Windows cluster for a particular instance The Symptoms Seen in Windows Application log   Event: 53 Source: SQLAgent$CF3Common Category: Failover   [sqagtres] OnlineThread: Error 6 bringing resource online. [sqagtres] OnlineThread: ResUtilSetResourceServiceEnvironment failed (status 6)   The Cause   In Cluster Administrator, the SQL Server Agent had lost [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><span style="text-decoration:underline;">The Problem</span></p>
<p>SQL Agent won&#8217;t start on a Windows cluster for a particular instance</p>
<p><span style="text-decoration:underline;">The Symptoms</span></p>
<div>Seen in Windows Application log</div>
<div> </div>
<div>Event: 53 Source: SQLAgent$CF3Common Category: Failover</div>
<div> </div>
<div><em>[sqagtres] OnlineThread: Error 6 bringing resource online.</em></div>
<div><em>[sqagtres] OnlineThread: ResUtilSetResourceServiceEnvironment failed (status 6)</em></div>
<div> </div>
<div><span style="text-decoration:underline;">The Cause</span></div>
<div> </div>
<div>In Cluster Administrator, the SQL Server Agent had lost its dependency upon the SQL server resource for the affected instance.</div>
<div> </div>
<div><span style="text-decoration:underline;">The Solution</span></div>
<div> </div>
<div>Add the SQL Server dependency, bring SQL Server Agent online in Cluster Administrator</div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/" title="FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;">FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</a></li><li><a href="http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/" title="SQL query to find BES UserID">SQL query to find BES UserID</a></li><li><a href="http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/" title="Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion">Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion</a></li><li><a href="http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/" title="SQL Query to determine Blackberry MDS Services administration password">SQL Query to determine Blackberry MDS Services administration password</a></li><li><a href="http://thebackroomtech.com/2009/03/18/fix-event-id-57860-an-error-occurred-while-attempting-to-log-in-to-the-following-server-sql-error-number-0011-is-seen-when-backing-up-a-server-with-sql-installed/" title="FIX: Event ID: 57860 &#8220;An error occurred while attempting to log in to the following server… SQL error number: &#8220;0011&#8243; is seen when backing up a server with SQL installed">FIX: Event ID: 57860 &#8220;An error occurred while attempting to log in to the following server… SQL error number: &#8220;0011&#8243; is seen when backing up a server with SQL installed</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Query to determine Blackberry MDS Services administration password</title>
		<link>http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/</link>
		<comments>http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 15:20:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[BES]]></category>
		<category><![CDATA[Blackberry Enterprise Server]]></category>
		<category><![CDATA[credentials]]></category>
		<category><![CDATA[MDS]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1865</guid>
		<description><![CDATA[I was troubleshooting a Blackberry Manager problem today that required the BES MDS credentials.  The admin thought he knew what the credentials were, but wasn&#8217;t sure.  So I wrote the following SQL query and ran it against the Blackberry Enterprise Server&#8217;s BesMgmt database to get the user name and password:   Use BesMgmt select WSAdminUserName, WSAdminPassword from [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I was troubleshooting a Blackberry Manager problem today that required the BES MDS credentials.  The admin thought he knew what the credentials were, but wasn&#8217;t sure.  So I wrote the following SQL query and ran it against the Blackberry Enterprise Server&#8217;s BesMgmt database to get the user name and password:  </p>
<div><em>Use BesMgmt</em></div>
<div><em>select</em></div>
<div><em>WSAdminUserName, WSAdminPassword</em></div>
<div><em>from dbo.MDSAGConfig</em></div>
<div> </div>
<div>Replace <em>BesMgmt</em> with the name of your BES database if you are not using the default database name.</div>
<div> </div>
<div>See RIM <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB15618">KB15618</a> for additional details on how to reset the BES MDS Services administration password.</div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/" title="SQL query to find BES UserID">SQL query to find BES UserID</a></li><li><a href="http://thebackroomtech.com/2009/10/26/fix-blackberry-media-manager-exits-with-r6025-pure-virtual-function-call-error/" title="Fix:  Blackberry Media Manager exits with R6025 pure virtual function call error">Fix:  Blackberry Media Manager exits with R6025 pure virtual function call error</a></li><li><a href="http://thebackroomtech.com/2009/02/12/fix-cannot-find-groupwise-users-to-add-to-the-blackberry-enterprise-server/" title="Fix: Cannot find Groupwise users to add to the Blackberry Enterprise Server">Fix: Cannot find Groupwise users to add to the Blackberry Enterprise Server</a></li><li><a href="http://thebackroomtech.com/2009/02/11/after-upgrading-to-bes-413-or-higher-for-groupwise-excessive-gwxmldatacontactsyncrecordtoxml-warnings-appear-in-the-windows-application-log/" title="After upgrading to BES 4.1.3 or higher for Groupwise, excessive  GWXMLData::ContactSyncRecordToXML warnings appear in the Windows Application log">After upgrading to BES 4.1.3 or higher for Groupwise, excessive  GWXMLData::ContactSyncRecordToXML warnings appear in the Windows Application log</a></li><li><a href="http://thebackroomtech.com/2009/02/10/viewing-pending-messages-by-user-in-blackberry-manager/" title="Viewing Pending Messages by user in Blackberry Manager">Viewing Pending Messages by user in Blackberry Manager</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/06/30/sql-query-to-determine-blackberry-mds-services-administration-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: Event ID: 57860 &#8220;An error occurred while attempting to log in to the following server… SQL error number: &#8220;0011&#8243; is seen when backing up a server with SQL installed</title>
		<link>http://thebackroomtech.com/2009/03/18/fix-event-id-57860-an-error-occurred-while-attempting-to-log-in-to-the-following-server-sql-error-number-0011-is-seen-when-backing-up-a-server-with-sql-installed/</link>
		<comments>http://thebackroomtech.com/2009/03/18/fix-event-id-57860-an-error-occurred-while-attempting-to-log-in-to-the-following-server-sql-error-number-0011-is-seen-when-backing-up-a-server-with-sql-installed/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 07:36:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[Backup Exec]]></category>
		<category><![CDATA[BackupExec]]></category>
		<category><![CDATA[remote agent]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thebackroomtech.com/?p=1554</guid>
		<description><![CDATA[Exact Error Message Event ID: 57860 Source: Backup Exec Type: Error Description: An error occurred while attempting to log in to the following server: &#8220;SERVERNAME&#8221;. SQL error number: &#8220;0011&#8243;. SQL error message: &#8220;[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied   Details:   This error will occur when performing any type of backup on [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><!--StartFragment--><span style="text-decoration:underline;">Exact Error Message</span></p>
<div><em>Event ID: 57860 Source: Backup Exec Type: Error Description: An error occurred while attempting to log in to the following server: &#8220;SERVERNAME&#8221;. SQL error number: &#8220;0011&#8243;. SQL error message: &#8220;[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied</em></div>
<div> </div>
<div><strong><span style="text-decoration:underline;">Details:</span></strong></div>
<div> </div>
<div>This error will occur when performing any type of backup on a server running Microsoft SQL Server or Microsoft SQL Server Desktop Engine (MSDE), even if the SQL Agent Backup is not being performed. <strong>&#8220;bedssql2.dll&#8221;</strong> will always be initialized and loaded on every server that is running the &#8220;Backup Exec Remote Agent Service &#8221; whether the SQL agent and license is installed or not.</div>
<div> </div>
<div><strong><span style="text-decoration:underline;">Cause:</span></strong></div>
<div> </div>
<div>One or more SQL Databases are corrupted on the remote machine, or the SQL database no longer exists on the remote machine.</div>
<p><strong><span style="text-decoration:underline;">Workaround:</span></strong></p>
<p>Perform the following to resolve this issue:</p>
<p>1. On the SQL server, stop the Backup Exec Remote Agent Service from Windows <em>Control Panel &gt; Services</em>.</p>
<div>2. If SQL is installed on the media server (i.e. if SQL is on the same machine as Backup Exec), within Windows Explorer browse to the installation directory for Backup Exec, which by default is:</div>
<p><em>\Program Files\VERITAS\Backup Exec\NT</em></p>
<p>for Backup Exec version 11d and above, the default location is </p>
<div><em>\Program Files\Symantec\Backup Exec\</em></div>
<div> </div>
<div>If SQL is installed on a remote server, browse to the installation directory for the Remote Agent:</div>
<div><em><br />
\Program Files\VERITAS\Backup Exec\RANT</em></div>
<p>for 11d and above:</p>
<p><em>\Program Files\Symantec\Backup Exec\RAWS</em></p>
<p>3. Rename the <em>bedssql2.dll</em> file to <em>bedssql2.old</em></p>
<div>4. Start the Backup Exec services</div>
<p><em>If the SQL/MSDE is installed on a Remote Server:</em></p>
<div>1. Stop Remote Agent service on the remote server.</div>
<div>2. Rename the <em>bedssql2.dll</em> file to <em>bedssql2.old</em> on the remote server.</div>
<div>3. Start the Remote Agent service.</div>
<div>4. Re-Start the Backup Exec services on the media server.</div>
<div>5. Run the Backup job and check the result.</div>
<p><strong>WARNING:</strong>  Renaming the bedssql2.dll will effectively disable the SQL agent on the server it is renamed upon.  If the SQL agent is purchased in the future, the issue with the corrupt database(s) must be resolved first, and backup of the SQL servers on which the bedssql2.dll was changed is desired &#8211; the bedssql2.old file MUST be renamed back to bedssql2.dll. </p>
<div>Source: <a href="http://seer.entsupport.symantec.com/docs/264616.htm">http://seer.entsupport.symantec.com/docs/264616.htm</a></div>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/05/12/enabling-backup-exec-remote-agent-debug-logging-on-novell-netware/" title="Enabling Backup Exec remote agent debug logging on Novell Netware">Enabling Backup Exec remote agent debug logging on Novell Netware</a></li><li><a href="http://thebackroomtech.com/2008/12/04/howto-stop-backup-exec-from-failing-entire-backup-jobs-when-corrupt-files-are-encountered/" title="Howto: Stop Backup Exec from failing entire backup jobs when corrupt files are encountered">Howto: Stop Backup Exec from failing entire backup jobs when corrupt files are encountered</a></li><li><a href="http://thebackroomtech.com/2009/05/21/fix-cant-remove-server-from-backup-exec-selection-list/" title="Fix: Can&#8217;t remove server from Backup Exec selection list">Fix: Can&#8217;t remove server from Backup Exec selection list</a></li><li><a href="http://thebackroomtech.com/2009/04/29/howto-enable-debug-logging-for-backup-exec-for-windows-servers/" title="Howto: Enable debug logging for Backup Exec for Windows Servers">Howto: Enable debug logging for Backup Exec for Windows Servers</a></li><li><a href="http://thebackroomtech.com/2009/01/21/converting-backup-exec-11d-job-logs-into-txt-or-html-files/" title="Converting Backup Exec 11d job logs into .txt or .html files">Converting Backup Exec 11d job logs into .txt or .html files</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2009/03/18/fix-event-id-57860-an-error-occurred-while-attempting-to-log-in-to-the-following-server-sql-error-number-0011-is-seen-when-backing-up-a-server-with-sql-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change the SQL sa password from a command prompt</title>
		<link>http://thebackroomtech.com/2008/03/26/how-to-change-the-sql-sa-password-from-a-command-prompt/</link>
		<comments>http://thebackroomtech.com/2008/03/26/how-to-change-the-sql-sa-password-from-a-command-prompt/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 11:30:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sa]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=296</guid>
		<description><![CDATA[To change the SQL sa password from a command prompt: Start a command prompt by typing Start &#8211; Run &#8211; cmd Enter the following commands, pressing Enter after each line OSQL -S yourservername -E     1&#62; EXEC sp_password NULL, &#8216;yourpassword&#8217;, &#8216;sa&#8217;     2&#62; GO Where yourservername is the name of your server and yourpassword is the new [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>To change the SQL sa password from a command prompt:</p>
<p>Start a command prompt by typing <em>Start</em> &#8211; <em>Run</em> &#8211; <em>cmd</em></p>
<p><span>Enter the following commands, pressing Enter after each line</span></p>
<p><span><em>OSQL -S yourservername -E</em><br />
    1&gt; <em>EXEC sp_password NULL, &#8216;yourpassword&#8217;, &#8216;sa&#8217;<br />
</em>    2&gt; <em>GO</em></span></p>
<p><span>Where yourservername is the name of your server and yourpassword is the new sa account password.  Type <em>exit</em> twice to return to the server desktop.  </span></p>
<p><span>This works in SQL 2005, I don&#8217;t have access to other versions so I can&#8217;t say if it will or won&#8217;t work other versions of SQL.</span></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2009/08/12/howto-reset-a-lost-vmware-guest-password/" title="Howto: Reset a lost VMware guest password">Howto: Reset a lost VMware guest password</a></li><li><a href="http://thebackroomtech.com/2008/03/03/howto-determine-the-sql-2000-version/" title="Howto: Determine the SQL 2000 Version">Howto: Determine the SQL 2000 Version</a></li><li><a href="http://thebackroomtech.com/2008/02/29/howto-resend-an-activation-password-for-a-blackberry-device-from-blackberry-enterprise-server/" title="Howto: Resend an Activation Password for a Blackberry Device from Blackberry Enterprise Server">Howto: Resend an Activation Password for a Blackberry Device from Blackberry Enterprise Server</a></li><li><a href="http://thebackroomtech.com/2010/08/09/determining-when-a-local-windows-account-password-was-last-changed/" title="Determining when a local Windows account password was last changed">Determining when a local Windows account password was last changed</a></li><li><a href="http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/" title="FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;">FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/03/26/how-to-change-the-sql-sa-password-from-a-command-prompt/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Howto: Determine the SQL 2000 Version</title>
		<link>http://thebackroomtech.com/2008/03/03/howto-determine-the-sql-2000-version/</link>
		<comments>http://thebackroomtech.com/2008/03/03/howto-determine-the-sql-2000-version/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 05:31:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/?p=277</guid>
		<description><![CDATA[KB 321185 describes how to determine the version of SQL Server you are running. To determine which version of SQL you are running, enter the following into the SQL Query Analyzer: SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition') The results are: • The product version (for example, 8.00.534). • The product level (for example, &#8220;RTM&#8221; or [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://support.microsoft.com/kb/321185" target="_blank">KB 321185</a> describes how to determine the version of SQL Server you are running.  To determine which version of SQL you are running, enter the following into the SQL Query Analyzer:</p>
<pre>SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')</pre>
<pre></pre>
<p>The results are:</p>
<table class="list ul">
<tr>
<td class="bullet">•</td>
<td class="text">The product version (for example, 8.00.534).</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">The product level (for example, &#8220;RTM&#8221; or &#8220;SP2&#8243;).</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">The edition (for example, &#8220;Standard Edition&#8221;). For example, 				the result looks similar to:8.00.534 RTM Standard 				Edition</td>
</tr>
</table>
<p>The following table lists the Sqlservr.exe version 		  number:</p>
<table class="table" cellspacing="1" width="494">
<tr>
<th align="left">Release</th>
<th align="left">Sqlserver.exe</th>
</tr>
<tr>
<td>RTM</td>
<td>2000.80.194.0</td>
</tr>
<tr>
<td>SQL Server 2000 SP1</td>
<td>2000.80.384.0</td>
</tr>
<tr>
<td>SQL Server 2000 SP2</td>
<td>2000.80.534.0</td>
</tr>
<tr>
<td>SQL Server 2000 SP3</td>
<td>2000.80.760.0</td>
</tr>
<tr>
<td>SQL Server 2000 SP3a</td>
<td>2000.80.760.0</td>
</tr>
<tr>
<td>SQL Server 2000 SP4</td>
<td>2000.8.00.203</td>
</tr>
</table>
<p>Notice SQL Server 2000 SP3 and SP3a have the same version of sqlserver.exe.   SP3 is no longer available, and <a href="http://www.microsoft.com/downloads/details.aspx?familyid=90dcd52c-0488-4e46-afbf-acace5369fa3&amp;displaylang=en" target="_blank">if you already have SP3 installed you do not need to apply SP3a</a>.  The changes made to SP3a were in the setup program, not in the actual Service Pack. There is a newer version of MDAC in SP3a, but you can download that separately.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/03/26/how-to-change-the-sql-sa-password-from-a-command-prompt/" title="How to change the SQL sa password from a command prompt">How to change the SQL sa password from a command prompt</a></li><li><a href="http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/" title="FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;">FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</a></li><li><a href="http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/" title="SQL query to find BES UserID">SQL query to find BES UserID</a></li><li><a href="http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/" title="Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion">Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion</a></li><li><a href="http://thebackroomtech.com/2009/10/20/fix-sql-agent-wont-start-on-windows-2003-cluster-event-53/" title="Fix: SQL agent wont start on Windows 2003 Cluster, Event 53">Fix: SQL agent wont start on Windows 2003 Cluster, Event 53</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2008/03/03/howto-determine-the-sql-2000-version/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sonicwall Viewpoint 4.1 Installation Error: SQL Server does not exist or access denied</title>
		<link>http://thebackroomtech.com/2007/11/13/sonicwall-viewpoint-41-installation-error-sql-server-does-not-exist-or-access-denied/</link>
		<comments>http://thebackroomtech.com/2007/11/13/sonicwall-viewpoint-41-installation-error-sql-server-does-not-exist-or-access-denied/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 13:29:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[diagnostics]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[.NET Framework]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[KB]]></category>
		<category><![CDATA[MSDE]]></category>
		<category><![CDATA[MyUninstaller]]></category>
		<category><![CDATA[Sonicwall]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Express]]></category>
		<category><![CDATA[Viewpoint]]></category>

		<guid isPermaLink="false">http://thebackroomtech.wordpress.com/2007/11/13/sonicwall-viewpoint-41-installation-error-sql-server-does-not-exist-or-access-denied/</guid>
		<description><![CDATA[At one of my client locations we use Sonicwall&#8217;s Viewpoint reporting system to gather usage data from the Sonicwall firewall and content filter.  Viewpoint is a pita to upgrade or move to a new machine, and I treat the program with care, since it&#8217;s very easy to unintentionally break. I was upgrading from an old version [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>At one of my client locations we use Sonicwall&#8217;s <a target="_blank" href="http://www.sonicwall.com/us/products/6031.html">Viewpoint</a> reporting system to gather usage data from the Sonicwall firewall and content filter.  Viewpoint is a pita to upgrade or move to a new machine, and I treat the program with care, since it&#8217;s very easy to unintentionally break. I was upgrading from an old version (2.9) only because I could no longer access the administrative interface through a web browser to run reports.</p>
<p>One very important thing to know about Viewpoint is it will not install properly on a machine that had any previous instances of SQL Server or MSDE on it.  Plus, if you want to use SQL Server instead of MSDE for the Viewpoint database, <a target="_blank" href="http://www.sonicwall.com/downloads/ViewPoint_Configuring_ViewPoint_with_Microsoft_SQL_Server_2000.pdf">Sonicwall will not provide you technical support</a>.</p>
<p>After much trial and error I found that just removing prior SQL/MSDE instances was not enough to make the installation a success.  I would complete phase 1 of the installation, only to have phase 2 fail with the following error:</p>
<p><em>SQL Server does not exist or access denied</em></p>
<p>I searched the Sonicwall tech support web site and forums, but could only find <a target="_blank" href="http://www.sonicwall.com/downloads/ViewPoint_Installation_Error_Database_Server_Could_not_be_Accessed.pdf">one document</a> that addressed this error, and of course it didn&#8217;t work (not a big suprise, if you&#8217;ve ever dealt with Sonicwall tech support you know what I mean)</p>
<p>In order to complete the Viewpoint 4.1 Installation I had to:</p>
<p>1) Uninstall the SQL/MSDE from Add/Remove Programs and any other software that used SQL/MSDE.  In my case, I had a copy of Dell&#8217;s IT Assistant, a part of the OpenManage Management Station.  Reboot.</p>
<p>2) Use <a target="_blank" href="http://www.nirsoft.net/utils/myuninst.html">MyUninstaller</a> to remove Microsoft SQL Server Express 2005, even though the uninstallation process in step 1 had removed it from Add/Remove Programs.</p>
<p>3) Delete the sgmsconfig.xml from the root of the installation drive (C:\ in my case)</p>
<p>4) Rename all of the remaining Viewpoint and SQL/MSDE directories on the hard drive</p>
<p>5) Reboot, then run the Viewpoint installer.  I was able install without problems, but phase 2 takes a looooong time, and I thought the machine was locked up.  Be patient.</p>
<p>I did find one glitch during the installation &#8211; even though I was asked what password I wanted to use for the Viewpoint login, it was not applied.  I had to use the default login and password, which you can find in the <a target="_blank" href="http://sonicwall.com/downloads/SonicWALL_ViewPoint_4.1_Administrators_Guide.pdf">Viewpoint 4.1 Administrator&#8217;s Guide</a>.</p>
<p>You may find Some of the Microsoft Knowledge Base articles I found helpful if you are having SQL/MSDE uninstallation problems:</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/311762/en-us">KB 311762</a> &#8211; How to identify which MSI file was used for an existing MSDE installation</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/823467/en-us">KB 823467</a> &#8211; BUG: You cannot start the SQL Server Agent Service for an instance of SQL Server or the SQL Server 2000 Desktop Engine that has the same instance name as a previously uninstalled instance of the SQL Server 2000 Desktop Engine (Windows)</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/317619/en-us">KB 317619</a> &#8211; FIX: Cannot Remove Microsoft SQL Server 2000 Desktop Engine After You Upgrade to MSDE 2000 SP2</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/320873/en-us">KB 320873</a> &#8211; How to manually remove a Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) instance</p>
<p><a target="_blank" href="http://support.microsoft.com/?kbid=909967">KB 909967</a> &#8211; How to uninstall an instance of SQL Server 2005 manually</p>
<p>Aaron also has a detailed procedure for <a target="_blank" href="http://blogs.msdn.com/astebner/archive/2005/09/13/465401.aspx">removing SQL Express manually</a>.  It also seems that the <a target="_blank" href="http://blogs.msdn.com/sqlexpress/archive/2005/09/08/462498.aspx">SQL Express uninstaller requires the .NET framework 2.0</a>, so if you don&#8217;t have the <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&amp;displaylang=en">.NET 2.0 framework</a>, you may need to install it prior to uninstalling SQL Express.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://thebackroomtech.com/2008/02/07/sonicwall-viewpoint-administration-web-site-wont-load/" title="SonicWall ViewPoint Administration web site won&#8217;t load">SonicWall ViewPoint Administration web site won&#8217;t load</a></li><li><a href="http://thebackroomtech.com/2010/03/26/fix-for-sql-cluster-instance-install-error-there-was-an-unexpected-failure-during-the-setup-wizard-the-service-cannot-be-started-either-because-it-is-disabled-or-because-it-has-no-enabled-devic/" title="FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;">FIX for SQL cluster instance install error: &#8220;There was an unexpected failure during the setup wizard.  The service cannot be started, either because it is disabled, or because it has no enabled devices associated with it&#8221;</a></li><li><a href="http://thebackroomtech.com/2010/07/07/fix-setup-cannot-copy-the-file-winhlp32-exe-when-installing-windows-xp-sp3/" title="Fix: Setup cannot copy the file winhlp32.exe when installing Windows XP SP3">Fix: Setup cannot copy the file winhlp32.exe when installing Windows XP SP3</a></li><li><a href="http://thebackroomtech.com/2010/01/15/sql-query-to-find-bes-userid/" title="SQL query to find BES UserID">SQL query to find BES UserID</a></li><li><a href="http://thebackroomtech.com/2009/12/02/fix-sql-configuration-manager-connection-to-target-machine-could-not-be-made-in-a-timely-fashion/" title="Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion">Fix: SQL Configuration Manager Connection to target machine could not be made in a timely fashion</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://thebackroomtech.com/2007/11/13/sonicwall-viewpoint-41-installation-error-sql-server-does-not-exist-or-access-denied/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 38/106 queries in 0.033 seconds using disk: basic
Object Caching 1192/1323 objects using disk: basic

Served from: thebackroomtech.com @ 2012-02-07 11:57:42 -->
