Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When executing the project, I get the following message:

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0234	The type or namespace name 'AnalysisServices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)	MDX	c:\development\iteam\analytics\MDX\MDX\Default.aspx.cs	11	Active


Parser Error Message: Could not load file or assembly 'Microsoft.AnalysisServices.AdomdClient, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.


What I have tried:

I add
Microsoft.AnalysisServices.AdomdClient as a refrence.
Posted
Comments
CHill60 11-Apr-17 5:26am    
Which version of SQL Server are you using? First thing is to check that all of the upgrade/service packs have been installed correctly and the appropriate "Feature Pack" has been installed e.g. for SQL Server 2014 you need NuGet Gallery | Microsoft.AnalysisServices.AdomdClient 12.0.2000.8[^]
Richard Deeming 11-Apr-17 13:49pm    
"are you missing an assembly reference?"

Well, are you?

Have you added a reference to the relevant version of Microsoft.AnalysisServices.dll?

It should be somewhere in the C:\Program Files\Microsoft SQL Server\nnn\SDK\Assemblies folder, where nnn is the version of SQL you're trying to connect to.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900