Posted 10/11/2006 11:46:11 AM | | | Hello, I am currently evaluating the Toolkit.SDK Version 3.0.6.175 and have run into some issues getting it to work properly. I have installed the SDK as outlined in the README document but am receiving error "c360 products require that currently authenticated user is impersonated." Here are my config entries: c360.config: <add key='c360Location' value='/Sdkc360/'/> web.config: <add key="WebServicesUrl" <add key="ReportServicesUrl" value="http://SRSSERVER/ReportServer" /> <add key="ImpersonationDomain" value="MMCTESTDOMAIN" /> <add key="ImpersonationPasswordToEncrypt" value="" /> <add key="ImpersonationUser" value="administrator" /> <add key="ImpersonationPassword" value="ySFR4gDJtMxihfJRR6+OvA==" /> In addition, I have installed the SDK under a virtual directory titled Sdk360 on the root a website (not the CRM website). Both the root and virtual directory have anonymous access turned off and integrated windows authentication turned on. The SDK is also installed on the CRM server. I would appreciate any help with this. Thanks. |
| Posted 10/11/2006 1:22:01 PM | | | "c360 products require that currently authenticated user is impersonated." It's funny, I just replied to someone with the same problem a few minutes ago. Here's what I told him: This message means that windows integrated authentication is not enabled or that anonymnous connections are authorized and therefore our SDK is unable to determine the identity of the current user.I know you said that you have already checked these settings but please double check the following: - In the IIS admin console, make sure that the "Allow anonymous connection" in the security properties of your virtual directory is unchecked.
- In your web.config, make sure that the authentication method is set to windows: <authentication mode="Windows"/>
- In your web.config, make sure that impersonnation is enabled: <identity impersonate="true"/>
The combination of these three settings will make sure that the credentials of the current user will be forwarded by the browser to IIS and threfore will be available to our SDK. Please note that this will not work when you are developing on one machine and CRM is on another machine. In this situation, the credentatials are not forwarded and therefore our SDK doesn't have any credentials to reuse when making web service calls to CRM. You need to configure our SDK to use a username, password and domain. These three settings are explained in the "Post-Installation configuration" section in the training guide.
|
| Posted 10/11/2006 4:59:40 PM | | | | |
|