AutomationException: 0x5 - Access is denied. in 'Invoke'

544
0
01-07-2022 02:38 AM
santhoshT
New Contributor II

I am using arcobjects.jar 10.7.1 and trying to connect the arcgis database from java api.

IPropertySet propertySet = new PropertySet();
propertySet.setProperty("SERVER", "");
propertySet.setProperty("INSTANCE", "");
propertySet.setProperty("DATABASE",");
propertySet.setProperty("USER", "");
propertySet.setProperty("PASSWORD","");
propertySet.setProperty("VERSION", "10.7.1");

 

getting the below error


AutomationException: 0x5 - Access is denied. in 'Invoke'
at com.esri.arcgis.interop.Rpc.invoke(Unknown Source)
at com.esri.arcgis.interop.RemOXIDResolver.a(Unknown Source)
at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source)
at com.esri.arcgis.interop.Dispatch.<init>(Unknown Source)
at com.esri.arcgis.system.IPropertySetProxy.<init>(Unknown Source)
at com.esri.arcgis.system.PropertySet.<init>(Unknown Source)
at com.esri.arcgis.system.PropertySet.<init>(Unknown Source)
at ArcSDEConnection.open_ArcSDE_Workspace(ArcSDEConnection.java:78)
at ArcSDEConnection.main(ArcSDEConnection.java:63).

 

Kindly advice......Need to resolve asap!

0 Kudos
0 Replies