User283571144 posted
Hi Radhikaa,
I am developing a tool on MVC framework & running into this error on server side:
Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception
from HRESULT: 0x80131040)
My tool works fine in local environment & also a similar tool works perfectly on server .
Please suggest how can I solve this error at the server side.
According to your error message, it seems the .NET Assembly loader is unable to find 13.0.0.0, but did find an another version. This assembly does not match what was requested and therefore you get this error. In simple words, it can't find the assembly
that was referenced. Make sure it can find the right assembly by putting it in the GAC or in the application path.
Besides, I suggest you could check the Microsoft.AnalysisServices.AdomdClient reference in your project to make sure you have set the copy to local to ture:
Right click the reference ---> Click the property ---> set the copy to local to true

Best Regards,
Brando