|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 909509 - Last Review: July 9, 2007 - Revision: 3.1 Error message when you run a report in Microsoft Dynamics CRM: "Reporting Services Error" or "An Error has occurred during report processing" or "Login failed for user '(null)'"When you run a report in Microsoft Dynamics CRM 3.0, you receive one of the following error messages. Error message 1Reporting Services Error. Error message 2An Error has occurred during report processing.
Cannot create a connection to data source 'CRM'.
Error message 3Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Cause 1This problem occurs after you upgrade
the operating system of the server that is running Microsoft Dynamics CRM or Microsoft SQL Server. Specifically, you upgrade
the operating system from Microsoft Windows Server 2000 to Microsoft Windows Server 2003. The problem occurs because the Trust computer for delegation property is not enabled for SQL Server. This problem may occur after you upgrade the operating system of the server that is running Microsoft Dynamics CRM or that is running Microsoft SQL Server. Specifically, this problem may occur after you upgrade the operating system from Microsoft Windows Server 2000 to Microsoft Windows Server 2003. Cause 2This problem may occur because one of the following is not added to the PrivUserGroup group: - The account that is running the CRMAppPool application pool
- The application pool under which Reporting Services is running
- The account that is running the SQL Server Reporting Services service
Resolution 1To resolve this problem, follow these steps:
- Log on to a domain controller in the Microsoft Dynamics CRM domain as a user who has a domain administrator role.
- Click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
- Expand the domain node, and then expand the group unit or the organization unit that has the computer that contains the SQL Server databases for Microsoft Dynamics CRM.
- Right-click the computer that contains the SQL Server databases for Microsoft Dynamics CRM, and then click Properties.
- On the General tab, select the Trust computer for delegation check box.
- Restart the SQL Server service.
- Log on to SQL Server.
- Click Start, point to Administrative Tools, and then click Services.
- Right-click MSSQLSERVER, and then click Restart.
- In the Restart Other Services dialog box, click Yes.
- Restart the Internet Information Service (IIS) on the server that is running Microsoft Dynamics CRM.
- Log on to the server that is running Microsoft Dynamics CRM.
- Click Start, click Run, type iisreset, and then click OK.
- Run the report again.
Resolution 2Verify which user is running the CRMAppPool application pool, or verify the application pool that Reporting Services is usingTo verify which user is running the CRMAppPool application pool, or to verify the application pool that Reporting Services is using, follow these steps: - On the Microsoft Dynamics CRM Server, or on the Reporting Services server, click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Expand the server name, and then expand Application Pools.
- Right-click CRMAppPool, or right-click the application pool that Reporting Services is using. Then, click Properties.
- Click the Identity tab to see what user the account is set to. If the account is set to Network Service or to Local System, use the server name in the "Add a user or a server to the PrivUserGroup group" section later in this article.
Check the Reporting Services account
To check the Reporting Services account, follow these steps: - Click Start, click Run, type services.msc, and then click Run.
- Find the SQL Server Reporting Services service in the list of services. Right-click the SQL Server Reporting Services service, and then click Properties.
- Click the Log On tab to see what account is running the service. If the account is set to Network Service or to Local System, use the server name in the "Add a user or a server to the PrivUserGroup group" section later in this article.
Add a user or a server to the PrivUserGroup groupTo add a user or a server to the PrivUserGroup group in the Active Directory directory service, follow these steps: - Start Active Directory Users and Computers. To do this, click Start, point to Programs, click Administrative Tools, and then click Active Directory Users and Computers.
- Expand the tree, and then click the Microsoft Dynamics CRM organizational unit.
- In the right panel, right-click PrivUserGroup, and then click Properties to open the PrivUserGroup Properties window.
- Click the Members tab.
- To open the "Select Users, Contacts, Computers or Groups" window, click Add.
- Locate the user or the computer that you identified in the previous procedures in this article, and then click Add.
- Click OK to close the "Select Users, Contacts, Computers or Groups" window.
- Click OK to close the PrivUserGroup Properties window.
- Close Active Directory Users and Computers.
Note If you are using a Microsoft Dynamics CRM user as the account that runs the application pools or that runs Reporting Services, make sure that the Restricted Access Mode check box on the User form is cleared. If the Restricted Access Mode check box is selected, the users' actions are restricted, regardless of the roles that are assigned to the users. To find this setting in Microsoft Dynamics CRM, click Settings, point to Business Unit Settings, click Users, and then open the User form for the target user.
APPLIES TO- Microsoft Dynamics CRM 3.0
| kbmbscrm40no kberrmsg kbtshoot kbmbsreports kbmbsmigrate kbprb KB909509 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |