FORUMS

c360 Forums
 Home        Members    Calendar    Who's On

Welcome Guest ( Login | Register )
      



Authentication errorExpand / Collapse
Message
Posted 10/11/2006 11:46:11 AMPost #688
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
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"
value="http://CRMSERVER:5555/MsCrmServices" />
<add key="CrmUrl" value="http://CRMSERVER:5555" />
<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 PMPost #691
 

c360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guruc360 Product Guru
"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:

  1. In the IIS admin console, make sure that the "Allow anonymous connection" in the security properties of your virtual directory is unchecked.
  2. In your web.config, make sure that the authentication method is set to windows: <authentication mode="Windows"/>
  3. 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 PMPost #695
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
Jeremie thanks that fixed it!
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: kanika.jackson, Ken Champion

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 1:46pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.969. 12 queries. Compression Enabled.