azgs-geomapmaker / azgs-toolbar

ArcMap Toolbar developed at the AZGS for generating geologic maps in NCGMP09 format
5 stars 2 forks source link

won't load NGCMP database #12

Closed smrgeoinfo closed 10 years ago

smrgeoinfo commented 10 years ago

In P:\Sentinel-Arlington\database I created ncgmpSMR.mdb in which I fixed up the various problems in Jon's Sentinel-Arlington database so it passes the validation script. It still won’t load using the ArcMap Toolbar 'open NCGMP data base' button.

There is an ArcGIS tool box at \beryl\AddIn\NCGMP09v1.1_Tools1_Arc10.1_AZGS that has tools for creating a new database and validating an existing one. I generated an empty database using the toolbox tool (NewSAV_gdb.gdb), and ran the validator on it (it validates), but that won’t load in the toolbar either.

we need to figure out what's causing the ArcMap crashes and make the toolbar more robust.

jessicagood commented 10 years ago

Toolbar was trying to open tables from the database that didn't exist, and aren't required. Added Try, Catch statements. Added error logging for this to C:\Users\<user name>\AppData\Local\Temp\NCGMPToolbarLog.txt.