Tuesday, March 08, 2011 5:53 PM
I am trying to implement the Customer Portal Accelerator with an On-Premise CRM 2011 system. I am at the stage where I debug the site. When the page loads I receive the following error:
The request for security token could not be satisfied because authentication failed.
I believe this is because my CRM site is using SSL however I cannot be sure. The first line of the stack trace is:
[FaultException: The request for security token could not be satisfied because authentication failed.]
System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target) +5499790
System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState) +49
Any ideas would be greatly appreciated.
Tuesday, March 08, 2011 5:57 PMDon't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site.
Tuesday, June 21, 2011 10:38 AM
you said "Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site."
I don't understand change the "Xrm" connectionString serviceuri to point to the local site , can you tell in detail ?
change the code to what?
Thursday, June 30, 2011 4:48 AMplease help - same issue.. if you fixed please give more detail around how you got it working. and what exactly you changed the XRM connection string to. Cheers!
Thursday, March 15, 2012 12:18 PM
Don't worry I have fixed this by changing the "Xrm" connectionString ServiceUri to point to the local site.Tell please how you fixed this?
Wednesday, January 23, 2013 12:04 AM
had issues with self sign cert on CRM on premise server.
upload to Azure was not solution. needed to add to cmd line and the cer (with no password) to my project (drag and drop)
REM Install certificates.
certutil -addstore -enterprise -f -v root startsodev.cer
- Marked As Answer by Shan McArthurMVP, Moderator Thursday, January 24, 2013 1:54 AM
Thursday, January 24, 2013 1:54 AMModeratorThat is a great development solution so that you can use a self-signed cert and still test that your site properly handles SSL. For production use, you would use a standard cert and would not need to make this change.
Shan McArthur www.shanmcarthur.net Check out the commercial edition of xRM portals @ www.adxstudio.com