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 a web ADF application which connects to a map service (either via WMS or Internet Service using http). I'd like to use DCOM connections (faster as the documentation states), so I would like to use a 'Local Service' for the map service..

but only WMS or Internet Service types work, when I choose the Local Service type the map disappears and my app is no longer able to retrieve the map

Has anyone ever experienced such an issue?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

Yes you are correct at 10.1 the service model is changing, but for 10.0/sp1/sp2 you should still be able to connect to your services.

I would first look to your user permissions/settings for the user connecting to the service to make sure its a agsusers group so that it can access that service. This was very specific in the ADF generation to ensure that said application had permissions on the machine to access the service layer.

share|improve this answer
2  
Why was this downvoted? +1 to offset (and because it's a good answer). –  Derek Swingley Jul 23 '11 at 5:16
    
Thank you Derek –  D.E.Wright Jul 25 '11 at 16:55

I'm curious where in the documentation you've seen it stated that Local connections are faster than Internet connections?

Beyond that, you're almost certainly experiencing permissions problems as D.E. Wright mentions. If you're using the default setup under IIS then depending on your version of Windows your web app will probably be running under IUSR_ or the ASPNET user account. You can change this to a specific named user that you create (what I'd recommend). No matter what, you'll have to add the user account to the agsusers group.

share|improve this answer
    
I just heard it from someone, so http connections are equally fast too? –  Marco A. Jul 23 '11 at 9:12

Seems that ArcGIS from version 10.1 and forth will only support http connections, local connection will not be supported any longer.

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.