AnsweredAssumed Answered

Unit test code can not access gdb

Question asked by geonetadmin on Mar 18, 2011
Latest reply on Jun 16, 2011 by geonetadmin
Original User: Julie6

How can I access a gdb in Unit Test method so I can get some testing feature classes to test spatial operations in my ArcObject extension project. I'm using VS 2010 with ArcGIS 10 on Window 7 machine to create a Desktop component.

Right now I'm getting COMException from HRESULT: 0x80040258 when I call "workspaceFactory.OpenFromFile(path, 0)".


Thanks!


Julie

Outcomes