Select to view content in your preferred language

Unable to connect to database list......

7980
29
Jump to solution
07-28-2014 11:25 AM
ChadFoster
Deactivated User

ArcGIS 10.1, SP1, Build 3143

ArcGIS Server 10.1

I installed ArcGIS on several new computers in a training lab for our county, I also installed all the SP's, patches and SQL Native Client files.  This is the same installation as my desktop.  When I log in to this computer with my existing username and password, go to ArcCatalog and try to set up a connection to SDE, I get the following error. 

Capture.PNG

Does anyone have any suggestions? 

Thanks,

Chad

0 Kudos
1 Solution

Accepted Solutions
JacobBoyle
Deactivated User

On a machine with good connections to SDE browse to: C:\Users\<your user>\AppData\Roaming\ESRI\Desktop10.2\ArcCatalog.  You may have to unhide the folder: Show hidden files - Windows Help

Copy anything with a .sde and paste it to the same folder on the new machine.

View solution in original post

29 Replies
AsrujitSengupta
Deactivated User

Can you provide us a screenshot of the Connection properties?

0 Kudos
ChadFoster
Deactivated User

Capture.PNG

I have also tried using the Database Authentication but get the same error.

0 Kudos
AsrujitSengupta
Deactivated User

Can you login using that user in SQL Server management Studio?

The Windows Authenticated login being used to make that connection-- does it have a default database assigned within SQL Server?

Also check the Direct_connect log on the problematic machine, it may provide some more information.

Usual location of that log: C:\Users\user_name\AppData\Local\Temp\sdedc_SQL Server.log

0 Kudos
ChadFoster
Deactivated User

Yes I can.

No it doesn't

Here is the latest log entry in that file:

IDBInitialize::Initialize Failed

DB_instance_open() db_connect error: 4064

CAN'T OPEN INSTANCE: sde:sqlserver.

Spatial Engine Connection Failed (-51).

Cannot Get Access to Instance sde:sqlserver

0 Kudos
AsrujitSengupta
Deactivated User
0 Kudos
ChadFoster
Deactivated User

I cannot assign the user a default database due to permissions.  Although the user I am using with Database Authentication does have a default database associated with that account.

0 Kudos
ChadFoster
Deactivated User

Capture.PNG

Capture.PNG

Capture1.PNG

0 Kudos
ChadFoster
Deactivated User

IDBInitialize::Initialize Failed

DB_instance_open() db_connect error: 4064

CAN'T OPEN INSTANCE: sde:sqlserver.

Spatial Engine Connection Failed (-51).

Cannot Get Access to Instance sde:sqlserver

Error log report

0 Kudos
ChadFoster
Deactivated User

You do realize that on my existing desktop computer, I have already connected to SDE multiple times.  This issue is with a new computer in a training lab on the same network with the same login.

0 Kudos