Error message when setting up CRM Plug-in Registration Tool.

Posted on 2008-11-04
Last Modified: 2008-11-05
I am trying to setup the Microsoft Dynamics CRM Plugin Registration Tool version 2.1 in Visual Studio and am trying to add a web service to https://localhost/mscrmservices/2007/CrmServiceWsdl.aspx and keep getting the error message pasted in below. I suspect a problem with our security certificate.

How do I go about fixing this issue?

The underlying connection was closed: An unexpected error occurred on a receive.  m_safeCertContext is an invalid handle.
Question by:rdracer58
    LVL 15

    Expert Comment

    What is the URL for the certificate?

    Author Comment

    by:rdracer58 is the "generic form" of the url.
    LVL 15

    Expert Comment

    wow, that is generic :)

    so it answers to that in IE, but you can't register the WSDL on that address?
    LVL 15

    Expert Comment

    Also, this is going to be going back to those settings in the DeploymentProperties table in the MSCRM_CONFIG database again.  I think we went on the whirlwind tour of those in the last ticket.

    Author Comment

    If I navigate to the https://localhost/mscrmservices/2007/CrmServiceWsdl.aspx address in IE, I still get a certificate error--it is as if it exists, but I cannot access the resource. What DeploymentProperties should I check in the MSCRM_CONFIG database?
    LVL 15

    Accepted Solution

    You should navigate to the correct url from the certificate if you don't want the certificate error.

    Run this:

    SELECT NvarCharColumn FROM DeploymentProperties WHERE ColumnName = 'AsyncSdkRootDomain'  
    SELECT NvarCharColumn FROM DeploymentProperties WHERE ColumnName = 'ADSdkRootDomain'  
    SELECT NvarCharColumn FROM DeploymentProperties WHERE ColumnName = 'ADWebApplicationRootDomain'  
    SELECT NvarCharColumn FROM DeploymentProperties WHERE ColumnName = 'ADRootDomainScheme'  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
    On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now