I am trying to connect to create connection in using ArcObjects using the code below.
IPropertySet propertySet = new PropertySet();
IWorkspaceFactory sdeWsFactory = new SdeWorkspaceFactory();
propertySet.SetProperty("SERVER", server);
propertySet.SetProperty("INSTANCE", instance);
propertySet.SetProperty("DATABASE", database);
propertySet.SetProperty("USER", user);
propertySet.SetProperty("PASSWORD", password);
propertySet.SetProperty("VERSION", version);
IWorkspace WS = sdeWsFactory.Open(propertySet, 0);
IFeatureWorkspace fws = WS as IFeatureWorkspace;
When it tries to execute the Open, I get the error message: The Product License has not been initialized. How do I tell which "product" it is talking about?
We are runnuing ArcSDE 9.3.1 SP2.