locked
Unable to connect to CRM 2013 OnPremesis from the Windows 8 App RRS feed

  • Question

  • When I try to connect to my OnPremesis installation of CRM 2013 from the Windows 8 app I get "an error as occured".

    In the eventlog on the server I get this message:

    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          2013-10-29 22:49:50
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      VSRDyn01.MyDomain.com
    Description:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 2013-10-29 22:49:50
    Event time (UTC): 2013-10-29 21:49:50
    Event ID: 656535c3da154d8aa79c4241fd7cfb07
    Event sequence: 4606
    Event occurrence: 5
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/ROOT-1-130275400239071087
        Trust level: Full
        Application Virtual Path: /
        Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\
        Machine name: VSRDYN01
     
    Process information:
        Process ID: 392
        Process name: w3wp.exe
        Account name: MyDomain\DYNAMICSCRM-APP
     
    Exception information:
        Exception type: InvalidOperationException
        Exception message: CRM Parameter Filter - Invalid parameter 'client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/' in Request.QueryString on page /main.aspx
    The raw request was 'GET /main.aspx?client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/' called from .
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameter(HttpRequest request, ArrayList parameterCollection, String key, String value, ParameterSources source, EntityType pageEntityType, FormAdditionalAllowedParameters additionalAllowedParameters)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking, FormAdditionalAllowedParameters formAdditionalAllowedParametersTemp)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking)
       at Microsoft.Crm.Application.Controls.AppPage.ValidatePageParameters()
       at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     
     
    Request information:
        Request URL: https://crm.MyDomain.com:443/main.aspx?client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/
        Request path: /main.aspx
        User host address: 10.1.1.37
        User: MyDomain\thomas
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: MyDomain\DYNAMICSCRM-APP
     
    Thread information:
        Thread ID: 18
        Thread account name: MyDomain\DYNAMICSCRM-APP
        Is impersonating: False
        Stack trace:    at Microsoft.Crm.Application.ParameterFilter.ValidateParameter(HttpRequest request, ArrayList parameterCollection, String key, String value, ParameterSources source, EntityType pageEntityType, FormAdditionalAllowedParameters additionalAllowedParameters)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking, FormAdditionalAllowedParameters formAdditionalAllowedParametersTemp)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking)
       at Microsoft.Crm.Application.Controls.AppPage.ValidatePageParameters()
       at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details: Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-10-29T21:49:50.000000000Z" />
        <EventRecordID>14698</EventRecordID>
        <Channel>Application</Channel>
        <Computer>VSRDyn01.MyDomain.com</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>2013-10-29 22:49:50</Data>
        <Data>2013-10-29 21:49:50</Data>
        <Data>656535c3da154d8aa79c4241fd7cfb07</Data>
        <Data>4606</Data>
        <Data>5</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/1/ROOT-1-130275400239071087</Data>
        <Data>Full</Data>
        <Data>/</Data>
        <Data>C:\Program Files\Microsoft Dynamics CRM\CRMWeb\</Data>
        <Data>VSRDYN01</Data>
        <Data>
        </Data>
        <Data>392</Data>
        <Data>w3wp.exe</Data>
        <Data>MyDomain\DYNAMICSCRM-APP</Data>
        <Data>InvalidOperationException</Data>
        <Data>CRM Parameter Filter - Invalid parameter 'client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/' in Request.QueryString on page /main.aspx
    The raw request was 'GET /main.aspx?client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/' called from .
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameter(HttpRequest request, ArrayList parameterCollection, String key, String value, ParameterSources source, EntityType pageEntityType, FormAdditionalAllowedParameters additionalAllowedParameters)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking, FormAdditionalAllowedParameters formAdditionalAllowedParametersTemp)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking)
       at Microsoft.Crm.Application.Controls.AppPage.ValidatePageParameters()
       at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    </Data>
        <Data>https://crm.MyDomain.com:443/main.aspx?client_id=ms-app://s-1-15-2-1485522525-4007745683-1678507804-3543888355-3439506781-4236676907-2823480090/</Data>
        <Data>/main.aspx</Data>
        <Data>10.1.1.37</Data>
        <Data>MyDomain\thomas</Data>
        <Data>True</Data>
        <Data>Negotiate</Data>
        <Data>MyDomain\DYNAMICSCRM-APP</Data>
        <Data>18</Data>
        <Data>MyDomain\DYNAMICSCRM-APP</Data>
        <Data>False</Data>
        <Data>   at Microsoft.Crm.Application.ParameterFilter.ValidateParameter(HttpRequest request, ArrayList parameterCollection, String key, String value, ParameterSources source, EntityType pageEntityType, FormAdditionalAllowedParameters additionalAllowedParameters)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking, FormAdditionalAllowedParameters formAdditionalAllowedParametersTemp)
       at Microsoft.Crm.Application.ParameterFilter.ValidateParameters(Page page, EntityType pageEntityType, Boolean alwaysEnableParameterChecking)
       at Microsoft.Crm.Application.Controls.AppPage.ValidatePageParameters()
       at Microsoft.Crm.Application.Controls.AppPage.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    </Data>
      </EventData>
    </Event>

    Tuesday, October 29, 2013 10:15 PM

All replies

  • Is your on-premise deployment configured as an internet facing deployment with claims based authentication? Can you access it from outside your network?

    Neil Benson, CRM Addict and MVP at Slalom Consulting. Find me on Twitter. Join over 20,000 other CRM professionals on the Microsoft Dynamics CRM group on LinkedIn.

    Tuesday, October 29, 2013 10:31 PM
    Moderator
  • No, it is not configured as an internet facing deployment and claims based authentication is not activated. Is that a requirement for using the Windows 8 and Windows phone apps?
    Tuesday, October 29, 2013 10:35 PM
  • yes you will want Claims and IFD setup.
    Wednesday, October 30, 2013 12:43 AM
  • I have also problem with connecting to my test CRM 2013 environment with both iPad and Windows 8 apps.

    In Windows 8 app after both CRM and AD credentials it shows:

    

    In iPad App it doesn't even ask for credentials after enetring my URL

    BTW, it is IFD with Claim Based Authentication.


    Thursday, November 7, 2013 9:08 AM
  • Hi,

    Even I do have the same issue. Our Application is claims and IFD enabled.

    I am able to access the application through Mobile App but when I save a record, I get this error logged in Event Log.

    Do you have any pointers ?


    Manoj Batchu

    Tuesday, July 8, 2014 8:19 AM