Error:  Failed to connect to database. Bad login user. Success when creating a geodatabase using ArcSDE workgroup license

相关信息
Article ID: 40881
Software:
ArcSDE 10.1
ArcGIS for Desktop Advanced 10.1
ArcGIS for Server 10.1
Platforms:
Windows Server 2008, Windows 7

错误信息
The following error message may occur when trying to connect to a newly created geodatabase:

"Failed to connect to database. Bad login user. Success when creating a geodatabase using ArcSDE workgroup license."

错误原因
The ArcSDE workgroup license is not written to the Windows Registry causing the geodatabase to be dropped as soon as it is created.
已邀请:

EsriSupport

赞同来自:

解决方案
Manually update the ArcSDE Workgroup license in the Windows Registry using the follow steps:


  1. Download the ArcSDE for Workgroup ECP file from the Customer Care portal using the ArcGIS for Server ECP (authorization) number.
  2. Open the ECP file using a text editor, such as NotePad, and copy only the authorization number for ArcSDE for SQL Server Workgroup.
  3. Open the Windows Registry. Click Start > Run and type 'regedit' (without quotes), and click OK. In the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\MSSQL$<SQL Express Instance>.
  4. Right-click the MSSQL$<SQL Express Instance>. Click New > String Value and type 'ArcSDE_License' (without quotes) for the Name.
  5. Right-click the newly created ArcSDE_License and select Modify. In the the Value data (right pane) of the Registry Editor window, paste the value copied from the ECP file. • Example of updated registry key:
  6. Launch ArcCatalog > Connect to the database server and create the geodatabase.


创建及修改时间
Created: 2/21/2013

Last Modified: 8/5/2013
原文链接
http://support.esri.com/en/kno ... 40881

要回复问题请先登录注册