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

Update won't update #1356

Open
rappen opened this issue Sep 22, 2024 · 15 comments
Open

Update won't update #1356

rappen opened this issue Sep 22, 2024 · 15 comments

Comments

@rappen
Copy link
Collaborator

rappen commented Sep 22, 2024

Trying to update to latest version, looks good, but isn't updated...
See https://app.screencast.com/ncZTdCRsTidXW

Unsure if this is related, but I'm running it as a custom overridepath.

Downloading and unpacking works fine.


  • Connection Controls Version: 1.2023.6.56
  • XrmToolBox Version: 1.2023.12.68
@MscrmTools
Copy link
Owner

Well, I'm overriding path too and I always test to update as soon as I release a new version (as I'm not using dev version as my daily to use version) and it worked just fine for me...

Anyway, I will double check this tomorrow.

@rappen
Copy link
Collaborator Author

rappen commented Sep 22, 2024

On my other laptop, it updated correctly... No idea what is different :-/
"the other one" is the new one; on that, the WebView2 doesn't work. Weird it is...

@MscrmTools
Copy link
Owner

WebView2 does not work either on my computer...

But I do have an assembly binding redirection for this assembly and it never had issues before...

@rappen
Copy link
Collaborator Author

rappen commented Sep 23, 2024

What?? Now WebView2 works 😂🤔
https://app.screencast.com/zjJpuuIWms1Sl

@pietermcornelius
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

@viacheslav-protsenko
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

the same

@MarkMpn
Copy link
Contributor

MarkMpn commented Sep 23, 2024

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I can reproduce an error installing SQL 4 CDS if I uninstall it and they try to install it again - the file copying process fails due to the files in the Plugins\MarkMpn.Sql4Cds subfolder being in use. Installing from a fresh install succeeds. I can avoid the problem by deleting the Plugins\MarkMpn.Sql4Cds folder entirely before attempting to install it.

This seems like a gap in the uninstall process - ideally that subfolder should be deleted when uninstalling the tool as well as the main dll.

@SPWareing
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I updated this morning and all my connections stopped working.

Ended up replacing the updated DLLs with a previous release

@pietermcornelius
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I can reproduce an error installing SQL 4 CDS if I uninstall it and they try to install it again - the file copying process fails due to the files in the Plugins\MarkMpn.Sql4Cds subfolder being in use. Installing from a fresh install succeeds. I can avoid the problem by deleting the Plugins\MarkMpn.Sql4Cds folder entirely before attempting to install it.

This seems like a gap in the uninstall process - ideally that subfolder should be deleted when uninstalling the tool as well as the main dll.

Thank you @MarkMpn will try this now I got the SSMS version working also

@pietermcornelius
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I can reproduce an error installing SQL 4 CDS if I uninstall it and they try to install it again - the file copying process fails due to the files in the Plugins\MarkMpn.Sql4Cds subfolder being in use. Installing from a fresh install succeeds. I can avoid the problem by deleting the Plugins\MarkMpn.Sql4Cds folder entirely before attempting to install it.
This seems like a gap in the uninstall process - ideally that subfolder should be deleted when uninstalling the tool as well as the main dll.

Thank you @MarkMpn will try this now I got the SSMS version working also

Sorted followed your steps

@MscrmTools
Copy link
Owner

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I updated this morning and all my connections stopped working.

Ended up replacing the updated DLLs with a previous release

When you say "all my connections stopped working". What are the symptoms? Any error message?

@SPWareing
Copy link

i updated this morning as none of my connections wanted to work, now I can connect but SQL for CDS is not working. I installed it and when I try and install it downloads but does not install

I updated this morning and all my connections stopped working.

Ended up replacing the updated DLLs with a previous release

When you say "all my connections stopped working". What are the symptoms? Any error message?

I was unable to use any of my stored connections or create new ones.

Error messages varied from

  • Cache error
  • Dataverse Error

Among others.

I just looked at the updated DLLs from the connection update and replaced them with the previous versions.

I'm not keen on repeating the error by updating the connection package again

@MscrmTools
Copy link
Owner

But you do use latest version of XrmToolBox, right?
Can you show me the version of assemblies (Settings > Assemblies)

@SPWareing
Copy link

SPWareing commented Sep 23, 2024

But you do use latest version of XrmToolBox, right? Can you show me the version of assemblies (Settings > Assemblies)

No I wasn't, I was using v1.2023.12.68

I've just upgraded to the new release and now no connection issues

I was prompted to update the connections in the previous release which caused the issues.

@MscrmTools
Copy link
Owner

Yes I know... I should avoid prompting for new connection controls if a new version of XrmToolBox is available

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

No branches or pull requests

6 participants