In Visual studio 2010 I have a desktop console application.When I run code below,
IWorkspaceFactory pWorkspaceFactory = new FileGDBWorkspaceFactory();
pWorkspace = pWorkspaceFactory.OpenFromFile(m_Path, 0) as IFeatureWorkspace;
IFeatureClass pFeature = pWorkspace.OpenFeatureClass(s);
visual studio throw COMException with message: "the input string is not a geographic or projected coordinate system"on the line IFeatureClass pFeature = pWorkspace.OpenFeatureClass(s);
I use ArcObjects SDK 10. The feature class, i'm trying to open by using classic methods (pFeatureWorkspace.OpenFeatureClass(myFeatureClass)), has projected coordinate system, different from standard package of prj's, which goes with ArcGIS Desktop deployment.How to solve this problem?