Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#423 closed defect (fixed)

Unhandled exception previewing ODBC source when joined source is previewed

Reported by: ronnielouie Owned by: ronnielouie
Priority: medium Milestone: 2.0
Component: Server Version: 2.0.0
Severity: major Keywords:
Cc: External ID: 1032332


  1. Join an SDF feature source to an ODBC feature source (defect can be reproduced with Access database).
  2. Open the primary feature source and preview it. View the data on the joined feature class.
  3. Open the ODBC feature source and preview it. An unhandled exception occurs. Error in the server logs indicates a File I/O error.

Problem is not confined to ODBC. If cache is enabled for SDF, the same behavior will occur when performing a DescribeSchema? on the feature source, and then attempt to copy the feature source.

Change History (2)

comment:1 Changed 11 years ago by ronnielouie

Resolution: fixed
Status: newclosed

When a file already has an open handle with a sharing mode other than FILE_SHARE_READ, attempts to request subsequent handles with only FILE_SHARE_READ will result in a sharing violation. Instead use ACE_DEFAULT_OPEN_PERMS to open with additional sharing modes. Note the sharing mode is different from the desired access mode specifying the access level, which remains unchanged.

comment:2 Changed 11 years ago by ronnielouie

Cc: 1032332 removed
External ID: 1032332
Note: See TracTickets for help on using tickets.