EnviroInsite Forum

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Can't Insert Shapefile


Veteran Member

Status: Offline
Posts: 98
Date:
Can't Insert Shapefile
Permalink  
 


I'm having a problem loading a shapefile. After I select the file and click on the OK button a dialog box appears with a message starting with:

CShapeFileSegment::DrawObject reference not set to an instance of an object. at CShapeFileSegment.Draw(...
bljacobs
 
Posts: 81
Joined: Wed Dec 14, 2011 3:32 am



__________________


Veteran Member

Status: Offline
Posts: 98
Date:
Permalink  
 

Thanks for sending all of the shapefiles (shp, shx, dbf) for me to check. I have replicated the problem here. I noticed that the dbf file's read-only property is set. Once I removed that the shapefile will draw correctly. Follow these steps to access and change the read only property of the dbf file:

(1) Right-click on the file in Windows Explorer
(2) Select Properties
(3) Remove the check at Read Only
(4) Click on the OK button

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard