• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1084
  • Last Modified:

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

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.
0
rdracer58
Asked:
rdracer58
  • 4
  • 2
1 Solution
 
WilyGuyCommented:
What is the URL for the certificate?
0
 
rdracer58Author Commented:
crm.companyname.com is the "generic form" of the url.
0
 
WilyGuyCommented:
wow, that is generic :)

so it answers to that in IE, but you can't register the WSDL on that address?
0
On-Demand: Securing Your Wi-Fi for Summer Travel

Traveling this summer?Check out our on-demand webinar to learn about the importance of Wi-Fi security and 3 easy measures you can start taking immediately to protect your private data while using public Wi-Fi. Follow us today to learn more!

 
WilyGuyCommented:
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.
0
 
rdracer58Author Commented:
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?
0
 
WilyGuyCommented:
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'  

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

On-Demand: Securing Your Wi-Fi for Summer Travel

Traveling this summer?Check out our on-demand webinar to learn about the importance of Wi-Fi security and 3 easy measures you can start taking immediately to protect your private data while using public Wi-Fi. Follow us today to learn more!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now