Search

Unable to add a reference to Microsoft.AnalysisServices.AdomdClient in VS.Net 2010 by jc1455

Closed
as Not Reproducible Help for as Not Reproducible

9
0
Sign in
to vote
Type: Bug
ID: 556584
Opened: 5/3/2010 10:23:57 AM
Access Restriction: Public
1
Workaround(s)
4
User(s) can reproduce this bug
Just starting to play with Visual Studio 2010 and I found I cannot add a reference to Microsoft.AnalysisServices.AdomdClient. I also have Visual Studio 2005 installed and it works there so it is install on the machine. I noticed in the VS.Net 2010 "Add Reference" dialog on the .Net tab that there is a "Filtered to:" which filters the list to the target framework specified in the project properties. However even dropping the target down to .Net Framework 2.0 and restarting VS.Net 2010 does not result in Microsoft.AnalysisServices.AdomdClient being displayed. How can I write code against the ADOMD.Net API?
Details (expand)

Product Language

English

Visual Studio Version

Visual Studio 2010

Operating System

Windows XP

Operating System Language

English

Steps to Reproduce

1. Install ADOMD.Net from http://www.microsoft.com/downloads/details.aspx?FamilyId=228DE03F-3B5A-428A-923F-58A033D316E1&displaylang=en
2. Create a new project in VS.Net 2010.
3. Open the "Add Reference" dialog.
4. Click on the .Net tab.
5. Look for Microsoft.AnalysisServices.AdomdClient and it will not be listed.

Actual Results

The list does not display the Microsoft.AnalysisServices.AdomdClient assembly.

Expected Results

Expected to see the Microsoft.AnalysisServices.AdomdClient assembly listed.
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey.

 

File Attachments
0 attachments
Sign in to post a comment.
Posted by SwapnilKothari on 12/19/2011 at 12:41 AM
Hi Team,

I am currently working on VS 2010 and want to add the reference to Microsoft.AnalysisServices in Script Task (SSIS).
The reference is not being validated.

Is this the same issue which you are discussing in this blog?
If it is not related to the below issue, could you please help me out to resolve it?

Any references or suggestions are warmly welcomed. Many Thanks !!
Posted by Smishra11 on 1/24/2011 at 10:26 PM
I am facing the same issue. I have a old code in VS 2008 which references Microsoft.AnalysisServices & it works fine.
When i tried to re-write the same code in 2010 , i am unable to add the reference.

Can anyone please share , how this can be achieved in VS 2010.
Posted by Seshu Chakka on 11/2/2010 at 3:14 PM
We can repro this issue :

Open the Console App , Add the reference Microsoft.AnalysisServices.AdomdClient to the project , And try to complile that project . It is throwing error .

The type or namespace name 'AdomdConnection' could not be found (are you missing a using directive or an assembly reference?)        
Posted by mak_DOTNET on 6/10/2010 at 1:13 PM
Can i found the 'Microsoft.AnalysisServices.AdomdClient' reference in VS.Net 2010 now ?
Posted by hipswich on 5/7/2010 at 7:35 PM
I have a similar issue. I had to browse to directories to add the references as described here:
http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/8f5c92fb-c287-4d93-9dde-7f1b17ac0896
Posted by Microsoft on 5/5/2010 at 12:03 AM
Thank you for reporting this issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 5/4/2010 at 4:03 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by SwapnilKothari on 12/19/2011 at 2:42 AM
We can Manually add the reference.
1. Add Reference -> Browse.
2. Add the file Microsoft.AnalysisServices.DLL from the location: C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies.
3. It will automatically add the reference library.
Imports Microsoft.AnalysisServices
4. Declare a instance Imports
AMO = Microsoft.AnalysisServices

Please let me know if it works fine. :)
Many Thanks !!