locked
Error while accessing ADFS when enabling Claims based authentication for CRM 2011. RRS feed

  • Question

  • Hi,

    When I am trying to access the CRM url with HTTPS, I get the error shown below.

    Can anyone please help in resolving this?

    Thansk in advance.

    Sunday, February 2, 2014 4:25 PM

All replies

  • I see following error in ADFS 2.0 event log.

     System 

      - Provider 

       [ Name]  AD FS 2.0 
       [ Guid]  {20E25DDB-09E5-404B-8A56-EDAE2F12EE81} 

       EventID 352 

       Version 0 

       Level 2 

       Task 0 

       Opcode 0 

       Keywords 0x8000000000000001 

      - TimeCreated 

       [ SystemTime]  2014-02-02T17:58:56.095361400Z 

       EventRecordID 24 

       Correlation 

      - Execution 

       [ ProcessID]  3876 
       [ ThreadID]  4236 

       Channel AD FS 2.0/Admin 

       Computer xxxxxx.corp.yyyy.com 

      - Security 

       [ UserID]  S-1-5-20 


    - UserData 

      - Event 

      - EventData 

       Data Data Source=\\.\pipe\mssql$microsoft##ssee\sql\query;Initial Catalog=AdfsConfiguration;Integrated Security=True 

       Data Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 



                      
    Sunday, February 2, 2014 8:50 PM
  • I have configured the WIF and now I get the following error:

    HTTP Error 500.19 - Internal Server Error
    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Module IIS Web Core
    Notification Unknown
    Handler Not yet determined
    Error Code 0x80070032
    Config Error The configuration section 'protocolMapping' cannot be read because it is missing a section declaration
    Config File \\?\C:\Program Files\Microsoft Dynamics CRM\CRMWeb\web.config
    Requested URL https://xxxxx.corp.yyyy.com:443/adfs/ls/?wa=wsignin1.0&wtrealm=https%3a%2f%2fxxxxxx%3a80%2f&wctx=rm%3d1%26id%3d91011140-1414-437d-a7a9-fe85f3c9f1af%26ru%3d%252fyyyy%252fmain.aspx&wct=2014-02-02T21%3a12%3a08Z&wauth=urn%3afederation%3aauthentication%3awindows
    Physical Path
    Logon Method Not yet determined
    Logon User Not yet determined

    Can anyone help me with this error?

    Thanks in advance

    Sunday, February 2, 2014 10:36 PM
  • Now I am getting the error as:

     

    Server Error in '/adfs/ls' Application.
    --------------------------------------------------------------------------------

    Configuration Error 
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: Unrecognized attribute 'requestValidationMode'. Note that attribute names are case-sensitive.

    Source Error: 


    Line 5:    </configSections>
    Line 6:    <system.web>
    Line 7:      <httpRuntime executionTimeout="300" maxRequestLength="32768" requestValidationMode="3.0" encoderType="Microsoft.Crm.CrmHttpEncoder, Microsoft.Crm" />
    Line 8:      <httpModules>
    Line 9:        <add name="MapOrg" type="Microsoft.Crm.MapOrgEngine, Microsoft.Crm.Core, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />


    Source File: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\web.config    Line: 7 


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.5420; ASP.NET Version:2.0.50727.5420 

    Any help will be great.

    Thanks in advance.

    Thanks

    Vikram

    Monday, February 3, 2014 6:56 PM