dbTalk Databases Forums  

registering c# dll for Analysis services

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss registering c# dll for Analysis services in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rea Peleg
 
Posts: n/a

Default registering c# dll for Analysis services - 06-05-2004 , 04:21 PM






Hey all
Im used to register vb6 dll's to enhence AS function libraries.
I have a problem with the same procedure when dll is written in c#.
Here are the steps i have taken:
In the project properties I had set the output compilation target option to
'library'.
I had set the 'register for com interop' option to true.

I did not follow any other recomendations regarding .NET COM
interoperability.

After compilation the assembly dll and tlb were created and registered in
registry.
Also I could add a reference to the tlb in visual basic 6 and work with the
dll in that environment.
The only problem here was that the intellisence tool of the vb6 ide could
not supply the type information about the methods included inside classes.

When trying to register this dll to AS through the 'calculated member
builder' libraries register wizard i got the following error:
'unable to add library reference "path to dll" The file contains no
libraries.

embedding the tlb inside the dll as win32 resource did not change matters.

Thanks alot for your attention
Rea



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.