Add Data dialog crashes when adding Geodatabases

Discussion created by dylanmills on Mar 30, 2011
Entering a path to a GDB layer in the Add Data dialog causes application to crash using ArcEngine 10 on Windows 7 (64 bit).

Here are the steps to reproduce:

    Open the WPFMapView solution from the sample apps installed with the SDK (see path below)
  1. Run the application

  2. Click the "Add Data" icon (2nd from the left)

  3. Select the "Geodatabases" section

  4. In the "Dataset" text box enter any multi-level path (ie "C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\")

  5. Hit enter, or click "Open"

  6. At this point the application will hang and crash

You can navigate to the GDB using the selection window, but if you close the application and restart it the same crash will happen, untill you delete the Registry key: "HKEY_CURRENT_USER\Software\ESRI\Engine10.0\Controls\Commands\Generic\AddData"


Path to sample solution:
C:\Program Files (x86)\ArcGIS\DeveloperKit10.0\Samples\ArcObjectsNet\WPFMapViewer\CSharp\WPFMapViewer2010.sln