-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect: Method not found [BUG] #1320
Comments
Same issue here after updating the toolbox to 1.2023.12.68 this morning. Still working with On Premises connections, but not with D365 connections using either Username/Password or Client Secret credentials |
And just to confirm, reverting to 1.2023.10.67 fixes the problem with these connections. Happy to help troubleshoot if I can help in any way. |
I was able to create new functional connections after the following steps:
1) fully deleting all the previously installed libraries in the Roaming folder, as well as the installation folder.
2) re-downloading the latest stable version, unzipping and running/installing. I *did* have to manually delete the Deployment tool, but that’s a plugin-specific issue and not covered here.
I’m inclined to believe the underlying issue is a library/.dll issue, but I’m not necessarily knowledgeable to pin it down. For all practical purposes, this issue can probably be closed.
|
Hi everyone, Question : Are you allowing use of beta version of connection controls? |
Let me check whether updating the ToolBox, rather than just the connectionj control gives the same problem. I don't remember whether I just updated the Connection Control, or the entire toolbox, but I do not that reverting to the previous release of the toolbox fixed the problem. I'll experiment a bit more and get back to you.... |
I tried the following: I then updated the toolbox itself to 1.2023.12.68. - this fixes the problem because it must use an older version of the connection controls. It prompted me to update my connection controls to the latest beta and I said no and everything continues to work. So it looks like it's the beta version of the connection controls, rather than an update to the Tookbox which is causing the issue |
I had to resort to the same process of removing everything and re-installing. With the default tools present, I could re-create a connection that had stopped working after months of working correctly. I suppose the next process is adding back tools one at a time. |
Describe the bug
When attempting to use my existing connections after applying an update to XrmToolBox, I receive an error message. My credentials have not changed. The problem persists after deleting a connection and attempting to re-add it. I've tried using the connection wizard, Oauth/MFA, Microsoft Login Control, and Client ID/Secret
To Reproduce
-Select existing connection
-Attempt to connect
-Failure
-Create New Connection
-Choose Connection Wizard
-enter CRM URL, username, and password
-Failure
-Create new connection
-Choose Microsoft Login Control
-Select Office 365
-enter Username and Password
-Approve Sign-in request
-failure
Expected behavior
I expect my existing connections to work, as they always have. I expect providing my CRM URL and credentials in the connection manager to successfully connect. When I'm prompted for sign-in approval, I expect the approved and authenticated login to work,
Screenshots
-When using existing connection:
-When using Connection Wizard:
-When using Microsoft Login Control, I receive this error:
Source : Microsoft.Xrm.Tooling.Connector
Method : MoveNext
Date : 2/12/2024
Time : 11:19:51 AM
Error : Method not found: 'Void Microsoft.Xrm.Sdk.Discovery.OrganizationDetail.set_SchemaType(System.String)'.
Stack Trace : at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.d__204.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1.Start[TStateMachine](TStateMachine& stateMachine) at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.QueryGlobalDiscovery(String authToken, Uri discoveryServiceUri, CrmLogEntry logSink) at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverGlobalOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, X509Certificate2 loginCertificate, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds) at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.DiscoverOrganizations(Uri discoveryServiceUri, ClientCredentials clientCredentials, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean isOnPrem, String authority, CrmLogEntry logSink, Boolean useGlobalDisco, Boolean useDefaultCreds) at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOAuthDiscoveryServer(Uri discoServer, ClientCredentials liveCreds, UserIdentifier user, String clientId, Uri redirectUri, PromptBehavior promptBehavior, String tokenCachePath, Boolean useGlobalDisco) at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.QueryOnlineServerList(ObservableCollection
1 svrs, OrganizationDetailCollection col, ClientCredentials liveCreds, Uri trimToDiscoveryUri, Uri globalDiscoUriToUse)at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.FindCrmOnlineDiscoveryServer(ClientCredentials liveCreds)
at Microsoft.Xrm.Tooling.CrmConnectControl.CrmConnectionManager.ValidateServerConnection(CrmOrgByServer selectedOrg)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: