Plugin Registration problem

Question Status

Alberto Avendaño asked a question on 24 Apr 2009 7:08 AM


I have a problem when I want register PlugIn.

Recently, I have migrated CRM Server to a prodcution Server and I used IFD. Now, I can't register new plugin. I am using Plugin Registration Tool.

Error is:

Unhandled Exception: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at PluginRegistrationTool.CrmSdk.Discovery.CrmDiscoveryService.Execute(Request Request)
   at PluginRegistrationTool.CrmConnection.RetrieveOrganizations()
   at PluginRegistrationTool.ConnectionsForm.OpenConnection(CrmConnection con)

Configuration that I use is

Label: CRM Connection

Discovery Server:

Port: 443

Domain: domain

User Name: userName

Other issue is that I can't add to web reference to Crm Discovery Service. When I try do this, Visual Studio 2008 show following message: "The HTML document does not contain Web service discovery information".

The URL is:

First, it show signin.aspx to introduce User Name and Password y then last message continue.

Can anyone help me?
Bert-Jan Diedering responded on 24 Apr 2009 7:32 AM
Have you tried without filling in the domain at configuration?
Have you added ASP.NET user to IIS website?
Is your https Crm site a trusted site within your Internet Eplorer settings?
Alberto Avendaño responded on 24 Apr 2009 10:20 AM

Hi, thanks for you reply.

I have verified this items and they are the way that you indicate me.

I changed IFD Tool (AD Domain) and now I can register plug in in CRM Server, but I can't use server name, I used "localhost" and this let me run PlugIn Registration Tool, I don't understand it. I will find out the way to solve this problem. Do you have any idea?


Vivek Singla responded on 12 Aug 2012 11:12 PM


By local host, it resolves my problem.