-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load file or assembly - Microsoft.AnalysisServices #22
Comments
Hi @orsim25, @samaguire and @pugliathomas |
A quick search for me resulted in a pretty old item on the SQL Server forum which explains that it is potentially due to a missing assembly which comes with SSMS for example. So it may be caused by AMO missing. Although this NuGet package is part of the Model Documenter tool installation, the assembly could not be found during execution of the tool. On a Windows machine there is something called Global Assembly where all DLL files are located which can be used by local client applications. It seems that the Microsoft.AnalysisService.dll assembly is not there. As Power BI runs Analysis Services under the hood, it looks like you're missing the right client libraries to connect to the Analysis Services instance that runs behind Power BI. You can download and install them from the official MSFT website here Could you try if this fixes your issue? |
For me, the folder doesn't exist. BTW, I've seen this sort of error before in TE3 (TabularEditor/TabularEditor3#192 (comment)). I was referencing the assembly "Microsoft.AnalysisServices.Core.dll" in a C# script to execute a dataset backup command and hitting an error. I found out that TE3 wasn't checking the program's installation directory for the dll files. (Which has now been fixed by Daniel Otykier.) The temporary solution was to specify the full file path, including directory, when loading the assembly. It would seem to be a similar problem here as I can see the assembly is included in the installation dir. Maybe this helps 🤷♂️. Config file attached: ModelDocumenter.exe.config.txt |
Hello, First congratulation for your project : it's gonna be really useful for many users. I tried the tool this morning. Unfortunately it didn't work. What I could see :
ModelDocumenter.exe.config.txt If you want me to test anything, just let me know. Regards, Philippe |
@FilK78 Thanks for flagging. We identified the issue and we are working on a fix as we speak. |
Thanks @pugliathomas @samaguire @orsim25 @FilK78 for bringing this up! |
Thank you for the help, everyone! |
Working now. Cheers! |
Good job. I tested and it works perfectly for me 👍
It's really useful : entering description for measures /tables now make sense. Question: I can see you retrieved Power BI description for table and measures but not for columns. Is it a choice ? Thanks for job, I'm really impressed. |
Thanks for circling back @FilK78, great to hear its working now! Thanks for the feedback! Keep it coming :) |
Hello!
I attempted to start using the new version of the tool this afternoon. I installed using the v2.0.0 msi file. I see the icon in External Tools, but I was met with this error when trying to run the tool:
![image](https://user-images.githubusercontent.com/62885872/148117816-d7d81940-b17a-42dc-9004-83b6266f42e1.png)
Thank you for your help.
Best,
Matt
The text was updated successfully, but these errors were encountered: