microsoft / Analysis-Services

Git repo for Analysis Services samples and community projects
MIT License
587 stars 410 forks source link

ALM Toolkit not opening #65

Open floari opened 4 years ago

floari commented 4 years ago

Hi,

I cant get ALM Toolkit to work. Clicking on the .exe does nothing. Is this a known problem?

Thanks!

christianwade commented 4 years ago

Hi, no this is not known. Thanks for reporting. It's possibly something to do with the environment. Perhaps permissions needed are not available. Are you admin on the machine? Does it work on other machines?

floari commented 4 years ago

Hi,

yes I am admin on the machine. I reinstalled ALM toolkit and now powerbi prompts "unable to launch external tool - executable not found" - if I navigate to the correctly installed .exe in windows the tool does not open either.

Can I share any logs which might help?

Thanks!

christianwade commented 4 years ago

Hi, does it work if you launch ALM Toolkit from the start menu? Do you have a file called almtoolkit.pbitool.json in a folder such as this? C:\Program Files (x86)\Common Files\Microsoft Shared\Power BI Desktop\External Tools

floari commented 4 years ago

Hi,

yes, the file is located within this filepath. Here are the first content lines:

"version": "1.0", "name": "ALM Toolkit", "description": "Use ALM Toolkit to perform easy incremental deployment, code/repo/branch merging, and reuse definitions between datasets.", "path": "C:\\Program Files\\Power BI ALM Toolkit\\Power BI ALM Toolkit\\AlmToolkit.exe", "arguments": "\"%server%\" \"%database%\"",

ALM Toolkit does not start either if I open it from the startmenu or directly via the .exe file.

christianwade commented 4 years ago

Yeah I believe it's associated with the chromium components. Can you please download and install C++ Redist 2013 x86 and see if that fixes it? https://www.microsoft.com/en-us/download/details.aspx?id=40784

floari commented 4 years ago

Hi,

unfortunately this does not fix the problem. We checked the tool on our colleagues laptop and there it works. We do have standard configured Windows 10 workstations (although I have the new Lenovo ThinkPad T14i - colleagues are using T495). Software should be the same.

Thanks, Florian

floari commented 4 years ago

Update: I installed vcredist 2013 and 2015-2019 each x46 and x86 and now it works!

Thanks for your support!

christianwade commented 4 years ago

Good news!

shayeny commented 3 years ago

Had the same issue. Solved by installing both the C++ Redist 2013 x86 & x64, through the link that Christian provided. 💯

CavPeng commented 3 years ago

Hello, solution does not work on my laptop which already installed C++ Redist 2012,2013,2015-2019 (X64)/(X86) sad...

otravers commented 2 years ago

In my case I was running into the "unable to launch external tool - executable not found" error even though ALM Toolkit was installed on my machine (and the exe would launch directly). What happened is that I had changed the installation path after an update but the new install path was not reflected in the json file.

I uninstalled ALM Toolkit, installed ALM Toolkit 5.0.31 in a path of my choosing (different from the default path) and again couldn't launch it from Power BI Desktop. It seems that the generated JSON sticks to the default path C:\Program Files\Power BI ALM Toolkit\Power BI ALM Toolkit\AlmToolkit.exe even if one chooses a different one at install time.

After editing the path in the JSON file I was able to launch ALM Toolkit from Power BI Desktop.

Geeta712 commented 1 year ago

Hello, I am facing the same issue. ALM toolkit is not working on my system also not working in power BI external tools. I followed the same procedure I have installed the Microsoft visual C++ 2015-2022 Redistributable (x64) & (x86). still not working. Please provide the solution. Thanks in advance.

christianwade commented 1 year ago

Hi, did you also use a custom installation path?

Geeta712 commented 1 year ago

I have used the following link for Microsoft visual C++ 2015-2022 Redistributable (x64) & (x86) https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 & for ALM toolkit I have installed the latest version from ALM toolkit site.

christianwade commented 1 year ago

Got it. And did you install ALM Toolkit to the default path? Something like this: C:\Program Files\Power BI ALM Toolkit\Power BI ALM Toolkit

Geeta712 commented 1 year ago

Yes @christianwade, I have installed ALM toolkit to the default path. path is C:\Program Files\Power BI ALM Toolkit\Power BI ALM Toolkit

christianwade commented 1 year ago

Hi, if you have installed the C++ redist, then I can only assume it is an environmental issue. Without a repro to debug, not sure if you can try a different machine. We will do a digital cert soon (timeline not confirmed) and should retry as hopefully resolves.

Geeta712 commented 1 year ago

Yes, may be it's environmental issue. Okay, thank you for replying my queries. Thanks :)

devgabrielfaria commented 1 year ago

Oi também não estou conseguindo instalar o ALM no Windows 11 podem me ajudar ?

christianwade commented 1 year ago

Oi, você instalou esse C++ Redist 2013 x86? https://www.microsoft.com/en-us/download/details.aspx?id=40784