Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have an ArcGIS application that works great when loading layers from SDE 10.0 but fails when trying to load the layers when they're pointing to a SDE 10.1 server.

The only difference is the layer source in the MXD. When the layer points to the SDE 10.0 server, everything loads as expected. If I change the layer source to point to the exact same layer (name, rows, etc.; it was merely copied over from 10.0 to 10.1) in the SDE 10.1 server, a red exclamation point appears next to the layer name.

  • The SDE 10.1 layers are visible in ArcMap so this shouldn't be a port or instance issue
  • This isn't a licensing issue; I have the app set to exit if the license is invalid/unavailable

Is there something special I need to do to get an Engine application to communicate with an SDE 10.1 server?

Is this a service file issue? I tried adding a reference to the service name and port for the new server in the services file but it didn't seem to help, but 10.0 and 10.1 seem to do services/instances a little differently; perhaps I'm missing something.

UPDATE: The more I think about this, the more it seems to be a "direct connect" issue. Is it possible that I'm not connecting to SDE because things aren't set up right on the client? If so, how do I set up direct connect on an ArcGIS Engine client?

share|improve this question

2 Answers 2

Try to copy ArcSDE 10.1 client files in arcengine folder , like you have done for arcgis desktop folder.

share|improve this answer
    
Which arcengine folder are you referring to? –  Michael Todd Aug 31 '12 at 2:22
    
C:\Program Files\ArcGIS\Engine10.1\bin –  geogeek Aug 31 '12 at 9:36
    
Unfortunately that didn't change anything. I copied the contents of the bin folder to the same path as my executable and there was no change. –  Michael Todd Sep 4 '12 at 14:51
up vote 2 down vote accepted

Since ArcGIS Desktop defaults to a direct connection when connecting to SDE starting with 10.1, you need to make sure that your clients have the appropriate SQL Server Native Client installed.

Since we are running SQL Server 2012 we downloaded the native client portion of the SQL Server 2012 Feature Pack. After installing it on the client, the application was able to load layers from SDE 10.1.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.