|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 911353 - Last Review: January 4, 2008 - Revision: 4.1 Error message when you try to log on to the Web application or when you start a callout event in Microsoft Dynamics CRM: "Access is denied due to invalid credentials"Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows registry Symptom 1When you try to log on to the Web application of Microsoft Dynamics CRM, you receive the following error message: HTTP Error 401 Unauthorized: Access is denied due to invalid credentials. Symptom 2You create one or more callout events that are active in the Microsoft Dynamics CRM system. When you start one of these callout events, you receive the error message that is mentioned in Symptom 1. This issue may occur for one or more of the following reasons: - There are duplicate Service Principal Name (SPN) values in the Active Directory directory service tree.
- The loopback check may have to be disabled in Microsoft Windows Server 2003.
- The Microsoft Dynamics CRM Web site is not listed in Local intranet sites in Microsoft Internet Explorer.
- The account that is used to start the Microsoft Dynamics CRM application pool (CRMAppPool) does not have the correct permissions.
To resolve this issue, use the method that is appropriate for your situation. Method 1: Delete the duplicate SPN values When you try to log on to the Web application for Microsoft Dynamics CRM, the following error message may be logged to the Application log on one or more of the domain controllers in the domain: Event Type: Error Event Source: KDC Event Category: None Event ID: 11 Description: There are multiple accounts with name host/SERVERNAME.microsoft.com of type10. Typically, the duplicate SPN value is located in the ServicePrincipleName attribute of the User container for the user account that originally installed Microsoft Dynamics CRM. To determine the exact location of the duplicate SPN value, use the Ldp.exe tool. Note Only experienced administrators should use the Ldp.exe tool.
For more information about how to locate the duplicate SPN value, click the following article number to view the article in the Microsoft Knowledge Base:
321044Â
(http://kbalertz.com/Feedback.aspx?kbNumber=321044/
)
Event ID 11 in the System log of domain controllers
After you locate the duplicate SPN value, use the ADSIEdit tool to remove the duplicate SPN value. To do this, follow these steps. Notes- Only experienced administrators should use the ADSIEdit tool.
- The ADSIEdit tool is available in the Windows Support Tools pack.
- The following steps remove the duplicate SPN value from the user account that originally installed Microsoft Dynamics CRM. However, you can also follow these steps to remove a duplicate SPN value from a computer account.
- Open Microsoft Management Console. To do this, click Start, click Run, type mmc, and then click OK.
- Click File, and then click Add/Remove Snap-in.
- Click Add, click ADSI Edit on the list, click Add, and then click Close.
- Right-click ADSI Edit, and then click Connect To to connect to the actual domain.
- Expand the domain node, and then locate the user account that originally installed Microsoft Dynamics CRM.
- Right-click the user account, and then click Properties.
- In the Attributes column, double-click ServicePrincipleName.
- In the Values window, select and remove all the values that begin with HOST/<servername>. These values match the HOST/<servername> SPN values that are listed in the error message in the Application log.
Method 2: Disable the loopback check on the Microsoft Dynamics CRM serverWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. - Click Start, click Run, type regedit, and then click OK.
- Locate and then right-click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa - Point to New, and then click DWORD Value.
- Type DisableLoopbackCheck, and then press ENTER.
- Right-click DisableLoopbackCheck, and then click Modify.
- In the Value data box, type 1, and then click OK.
- On the File menu, click Exit.
After you install security update 957097, applications such as Microsoft SQL Server or Internet Information Services (IIS) may fail when making local NTLM authentication requests.
For more information about how to resolve this issue, click the following article number to view the article in the Microsoft Knowledge Base:
957097Â
(http://kbalertz.com/Feedback.aspx?kbNumber=957097/
)
MS08-068: Vulnerability in SMB could allow remote code execution
Warning This workaround may make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We do not recommend this workaround but are providing this information so that you can implement this workaround at your own discretion. Use this workaround at your own risk.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
896861Â
(http://kbalertz.com/Feedback.aspx?kbNumber=896861/
)
You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or IIS 6
Method 3: Add the Microsoft Dynamics CRM Web site to "Local intranet" sites in Internet Explorer- Start Internet Explorer.
- On the Tools menu, click Internet Options.
- Click the Security tab.
- Click Local intranet, and then click Sites.
- In the Local intranet dialog box, click Advanced.
- In the Add this Web site to the zone box, type the URL for the Microsoft Dynamics CRM Web site, and then click Add.
- If you do not use the secure socket layer (SSL), click to clear the Require server verification (https:) for all sites in this zone check box, and then click OK.
Method 4: Change the Microsoft Dynamics CRM application pool to run under a different account- Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
- Expand the computer name.
- Expand Application Pools.
- Right-click CRMAppPool, and then click Properties.
- Click the Identity tab.
- If the application pool is running under a domain account or under the local system account, try to change the application pool to run under the Network Service account. To do this, click Network Service in the Predefined box.
- Click OK to close the CRMAppPool Properties dialog box.
- Click Start, click Run, type iisreset, and then click OK to stop and then restart IIS.
- Log on to the Web application of Microsoft Dynamics CRM.
Notes- These steps are valid only in IIS 6.0.
- If you change the user account that runs the application pool to the Network Service account, we recommend that you also change the account that starts the following services on the Microsoft CRM server:
- Microsoft CRM Bulk E-mail Service
- Microsoft CRM Deletion Service
- Microsoft CRM Workflow Service
To do this, follow these steps for each service:- Click Start, click Run, type services.msc, and then click OK.
- Right-click the service, click Properties, and then click the LogOn tab.
- Change the user account that starts the service to the Network Service account, and then click OK.
- Right-click the service, and then click Restart.
APPLIES TO- Microsoft Dynamics CRM 4.0
- Microsoft CRM 3.0
| kbmbscrm40 kblogin kberrmsg kbtshoot kbmbsmigrate kbprb KB911353 |
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
|
 |
 |
 |
 |
 |
 |
 |
| |