Ticket #1444 (new enhancement)

Opened 2 years ago

Last modified 8 months ago

SDE connection failed message non descriptive

Reported by: mchapman Assigned to: mchapman
Priority: lowest Milestone: 1.6.0
Component: OGR_SF Version: 1.4.0
Severity: minor Keywords:
Cc: hobu

Description (Last modified by warmerdam)

When trying to connect to sde in OGRSDEDataSource::Open() using an IP address the api returns an empty or non descriptive error making it appear as though a critical error occurred. The solution is to pass a server UNC or friendly name. This wasn't clear to me and I spent a little while trying to figure it out, so I thought by adding a check for an ip address or localhost it would be helpful to new users of the driver.

Is that ok with you Howard/Frank?

Change History

01/18/07 02:12:32 changed by warmerdam

I'm all for more informative error messages.  Beyond that I have no opinion.
Adding Howard for comment.  


04/02/07 23:00:41 changed by warmerdam

  • cc set to hobu.
  • description changed.
  • milestone set to 1.5.0.

Really adding hobu this time.

12/03/07 22:28:18 changed by hobu

  • milestone changed from 1.5.0 to 1.6.0.

Martin,

I can connect to IP addresses as long as they are outside my local subnet and not in my windows domain, so maybe it has something to do with windows networking. On linux, I can definitely use 'localhost' as the server name (I run the server and test on a VMware instance ), so in both cases I really think the issue is windows related.

Pushing this one off into 1.6. Close if you wish.