![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I've created a custom VB.Net DLL which provide some custom functions. These functions will be used to generate URL and HTML content for my actions in my cubes. How to load my library at the server side? I can't execute "USE Library" before executing any MDX command, so my library MUST be loaded by my server "at startup". How to do this? I've trie to create an action which is set to "On open" invocation which execute the USE Library statement (action type=Instruction), but nothing changes. I've setup my DLL has this: Here is the workaround you can try: (1) Write a function with <ComClass> attribute (2) Build with "Register for COM Interop" (3) If move the dll/tlb from one machine to another, use RegAsm to register the dll at new location. Example C:\> regasm g:\udftest\classlibr ary1.dll /tlb:g:\udftest\classlibrary.tlb /codebase thanks for your help. Jerome. |
#3
| |||
| |||
|
|
Hi, I've created a custom VB.Net DLL which provide some custom functions. These functions will be used to generate URL and HTML content for my actions in my cubes. How to load my library at the server side? I can't execute "USE Library" before executing any MDX command, so my library MUST be loaded by my server "at startup". How to do this? I've trie to create an action which is set to "On open" invocation which execute the USE Library statement (action type=Instruction), but nothing changes. I've setup my DLL has this: Here is the workaround you can try: (1) Write a function with <ComClass> attribute (2) Build with "Register for COM Interop" (3) If move the dll/tlb from one machine to another, use RegAsm to register the dll at new location. Example C:\> regasm g:\udftest\classlibr ary1.dll /tlb:g:\udftest\classlibrary.tlb /codebase thanks for your help. Jerome. |
#4
| |||
| |||
|
|
Bring up the cube in the cube editor. Add a calculated measure. Register the UDF in the calculated measure wizard. Cancel out of the calculated measure wizard, but save the cube. -- Dave Wickert [MSFT] dwickert (AT) online (DOT) microsoft.com Program Manager BI SystemsTeam SQL BI Product Unit (Analysis Services) -- This posting is provided "AS IS" with no warranties, and confers no rights. "Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote in message news:O69rfJL3EHA.936 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hi, I've created a custom VB.Net DLL which provide some custom functions. These functions will be used to generate URL and HTML content for my actions in my cubes. How to load my library at the server side? I can't execute "USE Library" before executing any MDX command, so my library MUST be loaded by my server "at startup". How to do this? I've trie to create an action which is set to "On open" invocation which execute the USE Library statement (action type=Instruction), but nothing changes. I've setup my DLL has this: Here is the workaround you can try: (1) Write a function with <ComClass> attribute (2) Build with "Register for COM Interop" (3) If move the dll/tlb from one machine to another, use RegAsm to register the dll at new location. Example C:\> regasm g:\udftest\classlibr ary1.dll /tlb:g:\udftest\classlibrary.tlb /codebase thanks for your help. Jerome. |
![]() |
| Thread Tools | |
| Display Modes | |
| |