MscrmTools / MscrmTools.Xrm.Connection

Provides Winforms control to connect to Microsoft Dynamics CRM deployments
GNU Lesser General Public License v3.0
23 stars 38 forks source link

Metadata contains unresolved reference #153

Open echovokk opened 2 years ago

echovokk commented 2 years ago

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

MscrmTools commented 2 years ago

Can you provide the exact error message?

echovokk commented 2 years ago

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

MscrmTools commented 2 years ago

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

echovokk commented 2 years ago

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

MscrmTools commented 2 years ago

So the problem must be on your onpremise deployment configuration

MscrmTools commented 2 years ago

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

echovokk commented 2 years ago

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

echovokk commented 2 years ago

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.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)