In my custom application I have following code
Credentials _Credentials= New ClientCredentials();
_Credentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;
serviceProxy =newOrganizationServiceProxy(OrganizationUri,null,
_Credentials,null)
When I run application in visual studio it works great. But when I deployed this on IIS I got following error:
The request for security token could not be satisfied because authentication failed
I can authenticate if I pass log on details, but I need my application to use the credentials of the user. Any ideas what could be wrong? If we want to run the custom app for the current user how can we get the service reference accordingly?
Thanks, Jaydeep