This was very helpful!
This means that your service is secured and you need to login before accessing to the service.
You have to use the IdentityManager. Two options:
- challenge the user for username/password. The easiest way is to use the toolkit SiginDialog (see interactive SDK SignInDialog sample)
- generate a token for a predefined username/password using GenerateCredentialAsync and then add the credential to IM.
This means that your service is secured and you need to login before accessing to the service.
You have to use the IdentityManager. Two options:
- challenge the user for username/password. The easiest way is to use the toolkit SiginDialog (see interactive SDK SignInDialog sample)
- generate a token for a predefined username/password using GenerateCredentialAsync and then add the credential to IM.
Can anybdy help me Pls...
I am wondered Y this error happened suddenly.
Without changing the code ,Is it possible to solve the issue...
As your services are no more working without any clear explanations, first thing is to check that the issue is effectively coming from a secured service.
Try to access to the service using a browser and check if you need to login to access to it.
But Pls note recently only It is asking for Login. Till two weeks back when I access the service ,It was not ask for login.
I didnt made any changes in the ESRI services Or Not did any setting changes in ESRI 10.01 Server.Only Windows update doing in the server system.
If the secured service is not expected, you should contact your server administrator to come back to a non secured service.
Anyway the issue is coming from the server side and not from the client side and SL.