Ticket #1444 (closed enhancement: worksforme)

Opened 5 years ago

Last modified 3 years ago

SDE connection failed message non descriptive

Reported by: mchapman Owned by: mchapman
Priority: lowest Milestone: 1.6.1
Component: OGR_SF Version: 1.4.0
Severity: minor Keywords:
Cc: hobu

Description (last modified by warmerdam) (diff)

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

Changed 5 years ago by warmerdam

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


Changed 5 years ago by warmerdam

  • cc hobu added
  • description modified (diff)
  • milestone set to 1.5.0

Really adding hobu this time.

Changed 4 years ago 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.

Changed 3 years ago by hobu

  • status changed from new to closed
  • resolution set to worksforme
Note: See TracTickets for help on using tickets.