An attempt was made to load a program with an incorrect format. (0x8007000B) #8304
Unanswered
drounsville
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, team.
I am writing an Azure function app to do our SQL backups in parallel. The function app is running in PowerShell 7 runtime, and I had this function working 6 months ago (around version 1.1.29) in a test environment. Since confirming that the function app worked, I have deleted the test environment.
I have confirmed that the function has network path access to the SQL instance through TCPPING.
The error that I am now getting when trying any DBATools commandlets, specifically "connect-dbainstance" or "get-dbadatabase":
From my research, this is due to trying to load a 32-bit DLL in a 64-bit environment.
Any ideas what might be going on here?
Thank you.
Drew Rounsville
Cloud Ops Engineer
3110 Fairview Park Drive, Suite 800 | Falls Church, VA 22042
(m) 360.471.4967
[email protected]
Beta Was this translation helpful? Give feedback.
All reactions