Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Could not load file or assembly

Grey Smith Apr 13, 2017 04:12PM CDT

I am trying to install minionenterprise2.2setup.exe on a Windows Server 2016 machine with SQL Server 2016 with elevated permissions. I receive the following error.


ERROR: Import-Module : Could not load file or assembly 'file:///D:\Program Files (x86)
ERROR: \Microsoft SQL Server\130\Tools\PowerShell\Modules\SQLPS\Microsoft.SqlServer.Ma
ERROR: nagement.PSSnapins.dll' or one of its dependencies. This assembly is built by a
ERROR: runtime newer than the currently loaded runtime and cannot be loaded.
ERROR:
ERROR: At line:2 char:14
ERROR: + Import-Module <<<< SQLPS -DisableNameChecking
ERROR: + CategoryInfo : NotSpecified: (:) [Import-Module], BadImageForma
ERROR: tException
ERROR: + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerSh
ERROR: ell.Commands.ImportModuleCommand
ERROR:
Enter your SQL Instance name?:


My dll file is:

04/30/2016 12:11 PM 215,232 Microsoft.SqlServer.Management.PSSnapins.dll


@@version returns:
Microsoft SQL Server 2016 (RTM-GDR) (KB3210111) - 13.0.1728.2 (X64)
Dec 13 2016 04:40:28
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows Server 2016 Standard 6.3 <X64> (Build 14393: ) (Hypervisor)


Do I need to upgrade SQL or get a new version of Minion Enterprise?

Up 0 rated Down
Sean McCown Apr 13, 2017 04:44PM CDT MinionWare Agent

Hey Grey, can you give me the version of windows and SQL you’re installing ME on?

Up 0 rated Down
Grey Smith Apr 13, 2017 10:41PM CDT
Sean,

Windows 2016 OS Build 14393.1066


Microsoft SQL Server 2016 (RTM-GDR) (KB3210111) - 13.0.1728.2 (X64)
Dec 13 2016 04:40:28
Copyright (c) Microsoft Corporation
Enterprise Edition (64-bit) on Windows Server 2016 Standard 6.3 <X64> (Build 14393: ) (Hypervisor)
Up 0 rated Down
Sean McCown Apr 14, 2017 07:18AM CDT MinionWare Agent

That’s what I thought. This is a known issue with that version combo. Don’t worry, the fix is simple. I’ll send you a few files in email that’ll clear it right up.

Up 0 rated Down
Sean McCown May 23, 2017 08:33AM CDT MinionWare Agent

Sent the config files and now all is well.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
556ca399015f31edc97a62de2771be1a@minionware.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete?b_id=8420