This issue was initially reported by Guy Horn on his blog, republished on explicit request with permission to share on Wiki.
(Guy Horn's LinkedIn profile)
Links from https://aka.ms/MIMWall
MIMWAL is a great piece of software. While installing it I encountered some imperfections. So let’s make things better.
First of all the installation script ‘register.ps1’ is only suitable if your server has two roles installed:
As Microsoft itself advises not to do that in s large environment that’s obviously not the way to go.
If you try you will get in both servers annoying errors that can be ignored. But you probably don’t like the scream bleeding red. So why not adjust the installation script.
Actually, there are two scripts that can be run separately error-free.
You can find the modified scripts here.
Then you might also have some problems with the dll’s. The solution is worth documenting it, see below.
PS
C:\SolutionOutput> .\Register.ps1 -PortalSiteName “MIM Portal”
DEBUG:
Registering assembly in GAC:
‘C:\SolutionOutput\MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.dll’
Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.21022.8
Copyright (c) Microsoft Corporation. All rights reserved.
Failure adding assembly to the cache: Strong name signature could not be verified. Was the assembly built delay-signed?
Error
At
C:\SolutionOutput\Register.ps1:76 char:13
+
throw (“Error Registering assembly in GAC: ‘$assemblyName …
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : OperationStopped: (Error Registeri…tyLibrary.dll’
:String) [], RuntimeException
FullyQualifiedErrorId : Error Registering assembly in GAC:
Place the files somewhere. E.G. in C:\SolutionOutput.
Set-Location C:\SolutionOutput
$dlls = Get-ChildItem -Filter ‘*dll’
$dlls.name
foreach ($item in $dlls)
{
.\SN -Vr $item.name
}
Set-Location .\dlls