Skip to content
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

[BUG]Can't connect to organization after latest update #1357

Open
jjkoran opened this issue Sep 23, 2024 · 12 comments
Open

[BUG]Can't connect to organization after latest update #1357

jjkoran opened this issue Sep 23, 2024 · 12 comments
Labels

Comments

@jjkoran
Copy link

jjkoran commented Sep 23, 2024

Describe the bug
I have tried connecting multiple ways and keep getting the error message: I get the attached error message below:
XRMToolBoxError

I have tried creating a new connection every which way and keep getting the same error.

To Reproduce
Steps to reproduce the behavior

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • XrmToolbox Version
  • Tool version

Additional context
Add any other context about the problem here.

@jjkoran jjkoran added the bug label Sep 23, 2024
@MscrmTools
Copy link
Owner

Can you show me the version number of assemblies (Settings > Assemblies)

@jjkoran
Copy link
Author

jjkoran commented Sep 23, 2024

I am connected now. It appears it did not update the EXE to the latest version when I clicked update from the XRMToolBox. I downloaded the latest version manually and it is now working.

@JonMarr
Copy link

JonMarr commented Sep 23, 2024

I have the same issue:
image

@jjkoran
Copy link
Author

jjkoran commented Sep 23, 2024 via email

@MscrmTools
Copy link
Owner

Ok it seems that people having issues are the ones who updated connection controls but not XrmToolBox (or XrmToolBox update fails for some reason I cannot explain).
Just update XrmToolBox manually and you should be fine

@magicalKhachapuri
Copy link

magicalKhachapuri commented Sep 24, 2024

I also have the same problem, can't connect to the organizations since the last update. Stack trace looks like this:

Source : Microsoft.Xrm.Tooling.Connector
Method : MoveNext
Date : 9/24/2024
Time : 10:37:28 AM
Error : Method not found: 'Void Microsoft.Xrm.Sdk.Discovery.OrganizationDetail.set_SchemaType(System.String)'.
Stack Trace : at Microsoft.Xrm.Tooling.Connector.CrmWebSvc.d__205.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.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, UserIdentifier& userOut, 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, UserIdentifier& userOut, 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(ObservableCollection1 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)

@MscrmTools What do you mean by manual update ? Downloading new version from web page or downloading through XrmToolbox > Help > Check for update ?

@MscrmTools
Copy link
Owner

Manual means download from website.

Update from XrmToolBox itself should work too but it seems not for some people

@magicalKhachapuri
Copy link

Yes, updating through the tool doesn't work for me as well. Thanks.

@james-reinhardt
Copy link

Just commenting to say same issue here using update in XrmToolbox. 3 coworkers had same issue.
Will wait for a new update to show in the UI.

@JonMarr
Copy link

JonMarr commented Sep 24, 2024

Works fine if you do a new install.

@pavanmanideep
Copy link

Yes, faced the same problem, fresh install resolved the issue.

@MscrmTools
Copy link
Owner

For all people having the issue. It seems the first update does not apply. Forcing an update again solves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants