aimtool
aimtool copied to clipboard
command execution failing
Failed to build runner: Failed to find a model provider.
window 10
- AIM Tool Version-0.5.1 Beta:
- Windows Version (systeminfo):Windows 10 Enterprise
- Shell: (PowerShell | Bash)
- Shell Version ($PSVersionTable | bash --version): 5.1
Repro steps
aim assess -a "microsoft.biztalk.msidiscoverer.msifiles=biztalkMsiLocation"
Expected result
Files should be generated
Current result
failing with below error
##Note -Installation was done using below command choco install biztalkmigrator --pre
Hi Daniel ..what is the fix for the issue?
Hi @rajusahani100 - we'll have to look into it. I can't directly recreate this (i.e. the tool works for me on the MSIs I've tested). My guess is that it didn't install properly on your PC. I'm going to have a go replicating it first, so I can see what's going on. My first thought is that when it was installed via Chocolatey, the script that runs to register the model provider failed in some way, although I would have assumed you'd see an error during install. Maybe on your PC,choco needs elevated privileges to run the post-install script.
One thing to check is to look in the choco folder and make sure the appsettyings.json file has the correct "FindPaths" value - if you look in C:\ProgramData\chocolatey\lib\biztalkmigrator-cli\tools and find the appsettings.json file (the paths there is assuming that chocolatey is installed on your C: drive, and you didn't change the install path).
The top part of the file should look like this:
{
"AppConfig": {
"WorkingPath": "",
"StatePath": "",
"FindPattern": "*StageRunners*.dll",
"FindPaths": [
"C:\\ProgramData\\chocolatey\\lib\\biztalkmigrator\\tools\\bin"
And that path above (C:\ProgramData\chocolatey\lib\biztalkmigrator\tools\bin) should contain all the assemblies/files that make up the tool (I have 263 files in that folder).
Can you confirm that's what you have?
Thanks.