I am trying to implement the security option discussed in Listing 16.1 where you implement data-driven dynamic security with SSAS stored proceedures.
I have followed the example exactly as described and I've also referred to the Errata mentioned on this web site but I cannot manage to get the vb project to build the file.
I am getting errors (underlines) under "Imports Microsoft.AnalysisServices.AdomdServer" saying Namespace or type specified in the Imports... doesn't contain any public member or cannot be found.
I have installed the ADOMD.NET update from Microsofts website and it still doesn't work. I have tried this using both Visual Studio 2005 and 2008 with no success.
The result of this is that I have the following errors:
Error 2 Type 'Set' is not defined. C:\...\Class1.vb 10 77 CubeFuncError 3 'New' cannot be used on a class that is declared 'MustInherit'. C:\ ...\Class1.vb 27 38 CubeFuncError 4 Type 'SetBuilder' is not defined. C:\ ...\Class1.vb 28 33 CubeFuncError 5 Type 'TupleBuilder' is not defined. C:\ ...\Class1.vb 29 33 CubeFuncError 6 'ExpressionText' is not a member of 'System.Linq.Expressions.Expression'. C:\ ...\Class1.vb 32 13 CubeFuncError 7 Type 'Member' is not defined. C:\ ...\Class1.vb 33 27 CubeFunc
If anyone can provide any help or support on this I would really appreciate it...
Steve