Results 1 to 5 of 5

Thread: [RESOLVED] ComPlus Applications

  1. #1

    Thread Starter
    Addicted Member Tjoppie's Avatar
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    241

    Resolved [RESOLVED] ComPlus Applications

    Hi All,

    I created a dll, which I want to register in component services. Now I tried to do this manually by compiling my dll, (it's got some content xml docs etc that it reads off too) then going into component services, created a new Com+ Application, but when adding my dll to the components folder of the com application, I get the error:

    One or more files do not contain components or type libraries, These files cannot be installed.

    What am I doing wrong, and what can I do to correct it? Attached is a screenshot

    thanks
    Attached Images Attached Images  

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ComPlus Applications

    Have you checked the setting in the project properties that makes your library visible to COM? It's Configuration Properties -> Build -> Register for COM Interop. Make sure you check it for the Release configuration.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member Tjoppie's Avatar
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    241

    Re: ComPlus Applications

    Hi there,

    Thanks, I just did that.... got it registered... but it doesn't show any methods in my dll... Is there something more I have to do in my code to expose the functions in my dll?

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ComPlus Applications

    I have no real experience with COM so I'll have to leave you in the hands of others.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Addicted Member Tjoppie's Avatar
    Join Date
    Aug 2005
    Location
    South Africa
    Posts
    241

    Re: ComPlus Applications

    ah ok... anyone got some ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width