Could not load file or assembly #9742
Replies: 2 comments 2 replies
-
Thank you. This is a complex issue but should be fixed in tonight's release. If you'd like to get a headstart, use the dbatools library found here: https://github.com/dataplat/dbatools.library/releases/tag/v2025.7.29-preview-puh-20250729123256 |
Beta Was this translation helpful? Give feedback.
-
ahhh nooooo i wonder if this has the same issue as microsoft/SQLServerPSModule#111 In that case, the assemblies are just too mixed to work and/or the ps version is too old. I was able to fix many scenarios so far, but not all. so far we are two for two on containers (tho all of our CI/CD are containers 🤔 ) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Couldn't import /root/.local/share/powershell/Modules/dbatools.library/2025.7.20/core/lib/Microsoft.Data.SqlClient.dll | Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Hi, Just a quick question about this error. I'm running it on AWS Container but I don't experience it on local ws. THanks!
Beta Was this translation helpful? Give feedback.
All reactions