Select to view content in your preferred language

Error from ArcObjects SDE, '-2147216021'

2764
1
11-14-2011 01:26 AM
fredsinti
Emerging Contributor
I have tried to alter various connection parameters at destination, but none works and I get a following error:

" Installed ArcGIS version is '10.0.2414'
An ArcGIS license is already checked out. The product checked out is 'ArcEditor'
Could not open the Enterprise Geodatabase. Please check that the connection parameters specified are correct. The error number from ArcObjects is: '-2147216021'. The error message from ArcObjects is: {Entry for SDE instance not found in services file}
Closing the Geodatabase writer
A fatal error has occurred. Check the logfile above for details"


Any suggestions?

Thanks,
Shilpa
0 Kudos
1 Reply
KenGalliher1
Esri Contributor
A service created on Windows will actually pull the reference from the %windir%\system32\drivers\etc\services file.  Check to make sure the name and port number you are using is in this file.  Linux installations will exclusively use the services.sde file found in the $SDEHOME.

Example:
esri_sde                                  5151 TCP/IP                             #ArcSDE service

You can check that the service exists and is running in the Windows services panel (services.msc) or by running sdemon -o status -i <service_name or port #> sde command.

http://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/the_services_sde_file.htm

http://resources.esri.com/help/9.3/geodatabase/pdf/admincmd.pdf

Hope this helps.
0 Kudos