Groups | Blog | Home
all groups > sql server data mining > october 2004 >

sql server data mining : Using AMO object for Analysis Services - SQL Server 2005



anita
10/8/2004 1:48:49 AM
Hi,

I am trying to simulate mining model creation in SQL
Server 2005, using C# in .NET. SQL Server 2005 has
provided with AMO object model for this purpose. To use
this object model, it is required to
reference "Microsoft.AnalysisServices.dll"
and "Microsoft.DataWarehouse.Interfaces.dll".

The first problem is that when I tried to reference these
DLLs in my project directly, they failed saying "Not a
valid assembly or COM component".

From one another posting, I found that these two need to
be registered using "RegAsm" utility and then exported
into TLB using "TlbExp" utility.

I have been trying these on 2-3 machines where SQL Server
2005 is installed.
But "Microsoft.DataWarehouse.Interfaces.dll" failed to
register, while on some machines
even "Microsoft.AnalysisServices.dll" failed on "TlbExp".

I need to mention that almost all machines where I tried
this had more than one version of .NET Framework. Should
this be a problem?

Could anyone tell me how to go about it?

P.S. The two DLLs could be found under the
location "\Program Files\Microsoft SQL Server\90
\SDK\Assemblies"

Thanks and Regards,
Jamie MacLennan (MS)
10/8/2004 11:44:48 AM
This question was answered in the beta newsgroups. Please do not
cross-post.

--

-Jamie MacLennan
SQL Server Data Mining
This posting is provided "AS IS" with no warranties, and confers no rights.
[quoted text, click to view]

AddThis Social Bookmark Button