Concurrent Use Layers

Nov 16, 2011 at 4:15 PM
Edited Nov 16, 2011 at 4:26 PM

I am trying to load map layers (shapefiles) that are stored on a network drive.

The layers are shared among users . When I try to add a layer I get the message:

The process cannot access the file 'Y:\DVMS\DVMS Data\Map Layers\MTO_Regions.dbf' because it is being used by another process.

I have no problems adding the layers to our older MapWindow application or ESRI products.

This error only appears with DotSpatial (latest release).  I am using the following line to add the layer:

AppManager1.Map.AddLayers()

Any ideas?

Terry