Select to view content in your preferred language

ArcCatalog connection object to SDE 10.0

614
1
09-08-2011 12:10 PM
by Anonymous User
Not applicable
Couple things here.  Need to know if others are seeing this and if it is a bug needing to be reported.

10.1 seperates the desired version from the Database Connection dialog.  Issue #1.  I don't edit the services file.  I use the Service as  "port:5151".   When I save this with the Database Platform of "Application Server", the ":5151" is removed and leaves just "port".  I can connect to ArcSDE fine with this... for some reason. 
Issue #2. When I try to go into Database Connection Properties, I have to first go back and add ":5151" back (even though it isn't actually stored).  Then I can  access which Transactional version I want... sorta.  I can see the versions but when I choose the version I want, I get Connect dialog:
"Failed to connect to database.
Entry for SDE instance not found in services file"
Then a Warning dialog:
"Unable to open the selected database (with the current connection properties)."

If I go back and add ":5151" I am able to see the datasets again.

This is a nasty little loop.
0 Kudos
1 Reply
KimPeter
Esri Contributor
Hi,

You only need to put the port number in the Service field, not port:5151.  I'm guessing that the tool doesn't know what "port" is, so it ignores it and just uses the default service port value.  In your case, the connection works because your service is using the default value.  I bet that if your port was actually 30000, the connection would fail from the Database Connections dialog box.

The Geodatabase Connection Properties dialog box must pass the literal value for the service, causing it to fail if the value is incorrect.

Try just 5151 in the Service field on the Database Connections dialog box and see if that fixes the problem when choosing versions from the Geodatabase Connection Properties dialog box.

Regards,

Kim
0 Kudos