locked
The value 'Xrm.XrmServiceContext, Xrm' is not recognized as a valid type or is not of the type 'Microsoft.Xrm.Sdk.Client.OrganizationServiceContext' RRS feed

  • Question

  • hi,

    I am using this link http://msdn.microsoft.com/en-us/library/gg695790.

    to create web app. using CRM.

    Now when i follow the instruction which given in below topics.

    1.Create Another web page - Contact Grid 2 (filling gridview using CRM view)

    2.Create web page - Contact Form 1 (for create web page according to CRM View)

    i used to get error -

    the value 'Xrm.XrmServiceContext, Xrm'  is not recognized as a valid type or is not of the type 'Microsoft.Xrm.sdk.client.OrganizationServiceContext'

    Please help me to resolve this issue.

    Thanks

    
    
    
    
    
    
    
    
    Thursday, February 13, 2014 8:51 AM

Answers

  • hi,

    I have ressolved this issue, i have to use Project Name instead of "XRM" in Context in web.config.

    <microsoft.xrm.client>

    <context>

    <add name = "Xrm" type = "Xrm.XrmServiceContext, project Name "/>

    </context>

    </microsoft.xrm.client>

    thanks for help.

    
    
    
    
    Friday, February 14, 2014 5:25 AM

All replies

  • Are you using CRM 2011?

    Some endpoints have been depreciated in CRM 2013.


    Jason Peterson

    Thursday, February 13, 2014 9:08 AM
  • I am using CRM 2013.
    Thursday, February 13, 2014 9:26 AM
  • hi,

    I have ressolved this issue, i have to use Project Name instead of "XRM" in Context in web.config.

    <microsoft.xrm.client>

    <context>

    <add name = "Xrm" type = "Xrm.XrmServiceContext, project Name "/>

    </context>

    </microsoft.xrm.client>

    thanks for help.

    
    
    
    
    Friday, February 14, 2014 5:25 AM