Opened 16 years ago

Closed 16 years ago

Last modified 16 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

Description

  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 by ronnielouie, 16 years ago

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. http://trac.osgeo.org/mapguide/changeset/r2822 http://trac.osgeo.org/mapguide/changeset/r2823

comment:2 by ronnielouie, 16 years ago

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