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

Unable to connect to CRM

Open dirasmitabasu opened this issue 1 year ago • 6 comments

Unable to connect to CRM: Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.

Method not found: 'System.String Microsoft.Xrm.Sdk.Organization.OrganizationDetail.get_SchemaType()'.Unable to Login to Dynamics CRM

The above error comes up when trying to connect to Dataverse. Doesn't matter what type of connection I try, Microsoft Login Control or Client ID secret or OAuth/MFA, all have the same behavior. These were all working before the update. image

dirasmitabasu avatar Jul 16 '24 15:07 dirasmitabasu

Can you give me the version of connection controls you are using?

MscrmTools avatar Jul 16 '24 15:07 MscrmTools

I installed the latest version of the toolbox and then this started happening. Where can I get the connection controls version?

On Tue, 16 Jul 2024, 11:29 MscrmTools, @.***> wrote:

Can you give me the version of connection controls you are using?

— Reply to this email directly, view it on GitHub https://github.com/MscrmTools/MscrmTools.Xrm.Connection/issues/163#issuecomment-2231234430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPAAOFMEIAY7LYMZWOT34TZMU35PAVCNFSM6AAAAABK62WBMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGIZTINBTGA . You are receiving this because you authored the thread.Message ID: @.***>

dirasmitabasu avatar Jul 16 '24 15:07 dirasmitabasu

In Settings

image

MscrmTools avatar Jul 16 '24 15:07 MscrmTools

image

Assembly Version XrmToolBox 1.2023.12.68 XrmToolBox.Extensibility 1.2023.12.68 XrmToolBox.ToolLibrary 1.2023.12.68 McTools.Xrm.Connection 1.2024.7.58 McTools.Xrm.Connection.WinForms 1.2024.7.58 Microsoft.Web.WebView2.WinForms 1.0.1518.46 Microsoft.Xrm.Sdk 9.2.49.3165 Microsoft.Xrm.Tooling.Connector 4.0.0.188 Newtonsoft.Json 13.0.2.27524 WeifenLuo.WinFormsUI.Docking 3.0.6.0 WeifenLuo.WinFormsUl.Docking.ThemeVS2015 3.0.6.0

dirasmitabasu avatar Jul 16 '24 16:07 dirasmitabasu

OK, so these McTools.Xrm.Connection assemblies are beta one and should be removed...

Can you check your settings for the category Connection Controls and see if you are using pre release?

MscrmTools avatar Jul 16 '24 16:07 MscrmTools

Yes, I was enrolled in Pre-release. I un checked it and restarted the application, I am still getting the error. I downloaded the previous release, and that one works.

dirasmitabasu avatar Jul 16 '24 17:07 dirasmitabasu