locked
The request failed with HTTP status 401: Unauthorized. - MS CRM 2011 RRS feed

  • Question

  • Hi All,

    I am trying to access the ASP.NET page in MS CRM which was hosted in IIS, when I try to call the method service.create()  getting the below exception in the asp.net page.

    Note : -I am using crmService to call the method Create()

    "The request failed with HTTP status 401: Unauthorized"

    Any help greatly appriciated....

    Thanks

    Srikanth Reddy


    Tuesday, May 27, 2014 9:15 AM

All replies

  • Hi ,

    You hosted your aspx page into the ISV directory ( Also it is unsupported in CRM 2011 ) ? Your application pool is CrmAppPool or you created a new one. İf you created a new application pool ,you must set the identity property to NetWorkService Credentials to login the crm service.Can you give more information that where you hosted the page and pls show me the code you create the service.

    Tuesday, May 27, 2014 10:30 AM