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

Unable to connect to CRM #163

Open dirasmitabasu opened 1 month ago

dirasmitabasu commented 1 month ago

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

MscrmTools commented 1 month ago

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

dirasmitabasu commented 1 month ago

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: @.***>

MscrmTools commented 1 month ago

In Settings

image

dirasmitabasu commented 1 month ago

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

MscrmTools commented 1 month ago

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?

dirasmitabasu commented 1 month ago

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.