Trying to open a feature class by using IFeatureWorkspace.OpenFeatureClass the following Example:
g_pFWorkspace.OpenFeatureClass(GISVariables.strBlocksFeatureClassName);
When database connection is data base authentication it works fine, but when the database connection is Operating system authentication the code above raised an error