This project has moved and is read-only. For the latest updates, please go here.

Cannot open shapefile more than once

Topics: General Topics
Mar 19, 2007 at 2:23 AM
Hi everyone,

I don't know why I can't open shapefile more than once even if I close the application then run it again when I try to open it an EndOfStreamException is raised. Here's the code:

SharpMap.Data.Providers.ShapeFile shapefile = new SharpMap.Data.Providers.ShapeFile(pathToFile, true);
// Do something here

Please help. Thanks.
Mar 28, 2007 at 1:07 AM
What version are you running?