MscrmTools.Xrm.Connection icon indicating copy to clipboard operation
MscrmTools.Xrm.Connection copied to clipboard

Metadata contains unresolved reference

Open DadFall opened this issue 3 years ago • 8 comments

Hi MscrmTools! I want to log in using http, but it fails!

DadFall avatar Feb 23 '22 10:02 DadFall

Can you provide the exact error message?

MscrmTools avatar Feb 23 '22 10:02 MscrmTools

ok
I wrote a few lines of code to link my crm using the console, the version is 8.2 my crm is using http protocol

DadFall avatar Feb 23 '22 10:02 DadFall

I don't understand. You are talking about a console. Are you using my connection controls or not?

MscrmTools avatar Feb 23 '22 10:02 MscrmTools

I'm using your link and can't connect, so I wrote a console myself, but I can't connect either

DadFall avatar Feb 23 '22 11:02 DadFall

So the problem must be on your onpremise deployment configuration

MscrmTools avatar Feb 23 '22 11:02 MscrmTools

That also why I'm asking for a complete error message but generally, this error message means a wrong configuration on your CRM server

MscrmTools avatar Feb 23 '22 11:02 MscrmTools

That also why I'm asking for a complete error message but generally, this error message means a wrong configuration on your CRM server

Thank you for your answer, I will check if there is any problem with my configuration and contact you again

DadFall avatar Feb 23 '22 11:02 DadFall

Hi MscrmTools

System.Exception HResult=0x80131500 Message=Unable to login to Dynamics CRM, Error was : Metadata contains unresolved reference:“http://crm.hmsoft.com:5555/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9.2”。 Metadata contains unresolved reference:“http://crm.hmsoft.com:5555/XRMServices/2011/Discovery.svc?wsdl&sdkversion=9.2”。 =>The underlying connection was closed: The connection was closed unexpectedly。Unable to Login to Dynamics CRM Unable to Login to Dynamics CRM Source=McTools.Xrm.Connection StackTrace: 在 McTools.Xrm.Connection.ConnectionDetail.GetCrmServiceClient(Boolean forceNewService) 在 D:\source\repos\FrankZhu1020\MsCrmTools.Connection\McTools.Xrm.Connection\ConnectionDetail.cs 中: 第 419 行 在 McTools.Xrm.Connection.WinForms.ConnectionWizard2.<>c.<Connect>b__18_0(Object bwSender, DoWorkEventArgs evt) 在 D:\source\repos\FrankZhu1020\MsCrmTools.Connection\McTools.Xrm.Connection.WinForms\ConnectionWizard2.cs 中: 第 472 行 在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) 在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

DadFall avatar Feb 24 '22 01:02 DadFall