Posted by: Nishant Rana | June 17, 2008

CRM 4.0 – Exception: Unhandled Exception: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Hi,

I was facing this error when i was writing a plugin that was using CrmService.

After searching on internet i found out this

The problem was because Friendly name and Organization name were different.

The solution for it was

1. Launch Deployment Manager on the Web server
2. Select the Organization, Right Click -> Disable
3. RightClick Again and Click Edit Organization
4. Change the Organization Name and FriendlyName to be the same
5. Click Next and Finish.

solution

Bye


Responses

  1. Excellent

  2. Hi.
    I have the same name XXX on the Name and the display name, but that is different from the SQL Server name.
    Can that be it?


Leave a response

Your response:

Categories