![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've implemented dimensional security through a UDF DLL and it works perfectly unitl I process my cubes. (Prior to implementation I applied the appropriate SPs and installed the hotfix I got from Microsoft PSS as described here: http://support.microsoft.com/?id=816480). After I process a cube that uses my UDF for security, the reference to the library that contains the UDF becomes invalid and the role doesn't work. To fix it I have to: open the Cube Role, unregister the DLL in the "Allowed Members" MDX Builder in the "Custom Settings" for the dimension, PROCESS THE CUBE, register the DLL in the "Allowed Members" MDX Builder for the dimension, PROCESS THE CUBE AGAIN, THEN enter the MDX that calls the UDF in the "Allowed Members" box. Any deviation from this algorithm generates one of several error messages pertaining to COM or the MDX not parsing. After I complete the above steps (exactly as described) everything works perfectly UNTIL I PROCESS (nightly) and I have to unregister/register the library in the cube role for each cube all over again. Any help is greatly appreciated. Thanks, Stewart |
#3
| |||
| |||
|
|
Stewart, can you try and register the library in the calculation editor of the cube editor as opposed to in the calculation editor of the role manager. Once you do that - I beleive all your problems will go away. -- ================================================== Mosha Pasumansky - www.mosha.com/msolap Development Lead in the Analysis Server team All you need is love (John Lennon) Disclaimer : This posting is provided "AS IS" with no warranties, and confers no rights. ================================================== "stewart whaley" <whaleysa (AT) archildrens (DOT) org> wrote in message news:594fa237.0308131348.77d24507 (AT) posting (DOT) google.com... I've implemented dimensional security through a UDF DLL and it works perfectly unitl I process my cubes. (Prior to implementation I applied the appropriate SPs and installed the hotfix I got from Microsoft PSS as described here: http://support.microsoft.com/?id=816480). After I process a cube that uses my UDF for security, the reference to the library that contains the UDF becomes invalid and the role doesn't work. To fix it I have to: open the Cube Role, unregister the DLL in the "Allowed Members" MDX Builder in the "Custom Settings" for the dimension, PROCESS THE CUBE, register the DLL in the "Allowed Members" MDX Builder for the dimension, PROCESS THE CUBE AGAIN, THEN enter the MDX that calls the UDF in the "Allowed Members" box. Any deviation from this algorithm generates one of several error messages pertaining to COM or the MDX not parsing. After I complete the above steps (exactly as described) everything works perfectly UNTIL I PROCESS (nightly) and I have to unregister/register the library in the cube role for each cube all over again. Any help is greatly appreciated. Thanks, Stewart |
#4
| |||
| |||
|
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |