<?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: Failed to connect DB - Bad login user in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347948#M13384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Khoda_Galyna&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem using the trial version. And when I try to download this file, I get the message: wrong authorization number. but Im sure its corect. ctrl + c, crtl + v from my e-mail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 08:36:36 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-10-10T08:36:36Z</dc:date>
    <item>
      <title>Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347942#M13378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) installed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - pure OS - MS Server 2008R2 Sp1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - ArcGIS for Server Workgroup Standard 10.1;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - ArcGIS for Desktop Standard (ArcEditor) 10.1;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - ArcSDE Workgroup 10.1 with MS SQL Server 2008R2 Express from ArcGIS Server DVD (Windows Authentication)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) authorizing new licenses&amp;nbsp; - all OK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) in ArcCatalog: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - add Database Servers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - create a new geodatabase (see a progress indicator), but if try to connect to the geodatabase get the following message&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15633[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is wrong ????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. As I understand the problem in the licensing arcSDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15632[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2012 09:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347942#M13378</guid>
      <dc:creator>MaximSpikin</dc:creator>
      <dc:date>2012-07-01T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347943#M13379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to give arcgis server account, and your domain account permission to create geodatabase on SQL Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use SQL Server Management Studio to give permissions &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Laurynas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 19:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347943#M13379</guid>
      <dc:creator>LaurynasGedminas</dc:creator>
      <dc:date>2012-07-13T19:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347944#M13380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: wpgis5673&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having the same issue. Did you have any luck resolving?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347944#M13380</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-17T15:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347945#M13381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your patience, this issue is related to an existing bug,&amp;nbsp;&amp;nbsp; NIM080151.&amp;nbsp; "Accessing new geodatabase in a sde workgroup if it is enabled using �??enterprise�?� license failed with error message �??Failed to connect to database. Bad login user. Success�?� instead of �??license is not valid�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One will get error �??Failed to connect to database. Bad login user. Success�?� because of a missing registry key related&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to ArcSDE Workgroup licensing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Open registry and you will notice that the entry 'ArcSDE_License' is missing: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'HKEY_LOCAL_MACHINE', 'SYSTEM\CurrentControlSet\Services\MSSQL$sqlexpress' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Now , manually create an 'ArcSDE_License' entry as New String Value.&amp;nbsp;&amp;nbsp; You will get the needed value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for this entry with steps below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Use the following URL to generate ECP file: &lt;/SPAN&gt;&lt;A href="https://customers.esri.com/index.cfm?event=pub.ecpAuthorizations"&gt;https://customers.esri.com/index.cfm?event=pub.ecpAuthorizations&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Modify and copy string from ECP file into the ArcSDE_License entry. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Relaunch ArcCatalog and one will be able to create a new geodatabase, access properties, and create new feature classes without issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should work to get your ArcSDE Workgroup to work for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Phillip W.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geodata Analyst&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347945#M13381</guid>
      <dc:creator>PhillipWaldron</dc:creator>
      <dc:date>2012-08-20T13:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347946#M13382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: wpgis5673&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Issue identified as bug by ESRI tech support. Workaround below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Synopsis]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Accessing new geodatabase in a sde workgroup if it is enabled using&amp;nbsp; enterprise&amp;nbsp; license failed with error message&amp;nbsp; Failed to connect to database. Bad login user. Success&amp;nbsp; instead of&amp;nbsp; license is not valid .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Nimbus BugID]:&amp;nbsp; [NIM080151]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[WorkAround]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Manually create a new registry key 'ArcSDE_License' entry as New String Value under&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'HKEY_LOCAL_MACHINE', 'SYSTEM\CurrentControlSet\Services\MSSQL$sqlexpress' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modify and copy string from ECP file into the ArcSDE_License entry. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [To get ECP File, go to site:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://customers.esri.com/index.cfm?event=pub.ecpAuthorizations]"&gt;https://customers.esri.com/index.cfm?event=pub.ecpAuthorizations]&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347946#M13382</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-20T13:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347947#M13383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just as a correction, the correct NIM number for this bug is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[NIM]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NIM083155&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Synopsis] :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error �??Failed to connect to database. Bad login user. Success�?�&amp;nbsp; occurs after creating a geodatabase with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ArcSDE Workgroup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Workaround]:&amp;nbsp; Manually create an 'ArcSDE_License' entry as New String Value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modify and copy string from the ECP file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 16:29:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347947#M13383</guid>
      <dc:creator>PhillipWaldron</dc:creator>
      <dc:date>2012-08-20T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347948#M13384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: Khoda_Galyna&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem using the trial version. And when I try to download this file, I get the message: wrong authorization number. but Im sure its corect. ctrl + c, crtl + v from my e-mail.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 08:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347948#M13384</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-10-10T08:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347949#M13385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the new 'ArcSDE_License' entry as New String Value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I successfully downloaded 'authorization.ECP'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this part of your suggestions I don't understand:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Modify and copy string from the ECP file." &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best I could figure out was to open the ECP file in notepad, copy the contents,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then goto 'Modify' after right-clicking the 'ArcSDE_License' and paste it in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this didn't work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 03:23:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347949#M13385</guid>
      <dc:creator>GarrettMoeller</dc:creator>
      <dc:date>2012-10-18T03:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347950#M13386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: asrujit&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Garrett,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just copy the authorization for ArcSDE for SQL Server Workgroup and paste it in the string, instead of all the contents in the ECP file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should work for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Asrujit&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 14:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347950#M13386</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-10-18T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347951#M13387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem. Tried the solution " Manually create an 'ArcSDE_License' entry as New String Value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Modify and copy string from the ECP file."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It did not work. Still getting the same error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm pretty sure all my permissions are set up ok in SQL Express.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other suggestions ESRI??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashlie Hildebrand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 16:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347951#M13387</guid>
      <dc:creator>AshleyCassol</dc:creator>
      <dc:date>2012-10-29T16:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347952#M13388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: cminteer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having this same problem in a new Amazon instance of Server 10.1 SP1.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default SQL Express instance in this AMI is called "MSSQLSERVER" instead of "SQLEXPRESS."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, when I browse to 'HKEY_LOCAL_MACHINE', 'SYSTEM\CurrentControlSet\Services\' there is no MSSQL$sqlexpress.&amp;nbsp; Instead, there is a 'MSSQLSERVER' - and there is already an "ArcSDE_License" key there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the suggested workaround of generating the license information from the link provided, using a valid ECP number, then creating the "ArcSDE_License" key (I renamed the old one) and entering the info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still get the same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is ArcGIS Desktop looking specifically for a "SQLEXPRESS" instance name and registry key?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chad Minteer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Electronic Data Solutions&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347952#M13388</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-11-20T18:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347953#M13389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: disuse&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am having the same problem. Tried the solution " Manually create an 'ArcSDE_License' entry as New String Value.&lt;BR /&gt;Modify and copy string from the ECP file."&lt;BR /&gt;&lt;BR /&gt;It did not work. Still getting the same error. &lt;BR /&gt;&lt;BR /&gt;I'm pretty sure all my permissions are set up ok in SQL Express.&lt;BR /&gt;&lt;BR /&gt;Any other suggestions ESRI??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ashlie Hildebrand&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to be clear, you need to paste the entire line that starts with sdeworkgroup into the Registry.&amp;nbsp; Don't try to pull anything out of the line as it's looking for the entire thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I did this, I could FINALLY create databases.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 20:21:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347953#M13389</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-06T20:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to connect DB - Bad login user</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347954#M13390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you already have the software registered you want be able to get an authorization file emailed. So you need to navigate to C:\Program Files\ESRI\License10.1\sysgen and open keycodes.txt in notepad. You'll notice after the 3rd comma it will say "none". This is the expiration date. The bug occurs when an expiration date is not specified in the keycodes which then causes the ArcSDE_License registry key to not be created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The workaround like mentioned before is to create that registry key, open the keycodes.txt file, copy the last line COMPLETLY (the one that begins with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;sdeworkgroup&lt;/SPAN&gt;&lt;SPAN&gt;�??) and then paste it into the newly created registry key. Refresh your registry and open up ArcCatalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 18:44:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/failed-to-connect-db-bad-login-user/m-p/347954#M13390</guid>
      <dc:creator>JustinConner</dc:creator>
      <dc:date>2012-12-10T18:44:25Z</dc:date>
    </item>
  </channel>
</rss>

