Cannot open shapefile more than once

Topics: General Topics
Mar 19, 2007 at 1: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 12:07 AM
What version are you running?