Hi,
I am having severe problems with Reporting Services and Fetch Reports. I have my CRM Server and SQL Server on different servers.
Crm app pool is running under domain\svcaccount. No duplicate spns, and spns registered for domain\svcaccount for:
http/crmserver.domain.com
http/crmserver
http/crm.domain.com
http/crm
All according to scenario 2 from http://blogs.msdn.com/b/crm/archive/2009/08/06/configuring-service-principal-names.aspx.
(crm.domain.com is my dns name for the crm intsallation. CrmServer is my crm-server.).
All non custom reports works fine, just the custom reports and XML fetch that does not work.
They do work fine to run in visual studio. If I run them in reporting services I get:
- An error has occurred during report processing. (rsProcessingAborted)
- Query execution failed for dataset 'DataSet2'. (rsErrorExecutingCommand)
- Microsoft.Crm.CrmException: An unexpected error occurred. System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. System.ComponentModel.Win32Exception: The target principal name is incorrect
- An unexpected error occurred.
- A call to SSPI failed, see inner exception.
- A call to SSPI failed, see inner exception.
- The target principal name is incorrect
- A call to SSPI failed, see inner exception.
- A call to SSPI failed, see inner exception.
- An unexpected error occurred.
- Microsoft.Crm.CrmException: An unexpected error occurred. System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception. System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. System.ComponentModel.Win32Exception: The target principal name is incorrect
- Query execution failed for dataset 'DataSet2'. (rsErrorExecutingCommand)
I know this is exactly the error you get when you are missing proper SPN's, but what else can I do but to make sure the crm service account is set up for delegation, search for duplicate spn:s by using scripts like "querySPN.vbs" (http://technet.microsoft.com/en-us/library/ee176972.aspx) and setting up the SPN's as described on whitepapers and blogs from Microsoft (liek the one I mentioned above)?
Any ideas, or smart ways to dig in to more advanced troubleshooting?
Thanks,
Ola