Results 1 to 5 of 5

Thread: VB6 COM Registration Problem

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    5

    VB6 COM Registration Problem

    We are using a VB 6 component in COM+. We have created a new version of the component with binary compatability and we want to replace the old component with the new component. We tried several times and it failed. We unregistered the old component. We stopped COM+ and we removed the old component in COM+. We placed the new component in COM+ and started the package. We ran our VB script and it throws this error when trying to create the object:

    Error Source= Error Description: Type mismatch Error on Line 5.

    Line 5 is just: "set cs = CreateObject("CSAnalysis.Financial")". It may not even be necessary to run this component in COM+. It is not running remotely, but we can't get it to run outside of COM+ using RegSvr32 either. Someone suggested we try using RegMon, but it is running on a Windows 2003 server and RegMon is not installed. It appears that Process Monitor is not installed either. Can anyone suggest how to further debug or resolve this error?

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6 COM Registration Problem

    Could post the code so we can see what is causing the error?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    5

    Re: VB6 COM Registration Problem

    I don't think posting the code will help. It's not a code error. The code I posted in the message is the only relevant code.

  4. #4
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: VB6 COM Registration Problem

    Sounds much more like a buggy library, probably running into an unhandled error 5 itself during Class_Initialize.

    This seems like a coding issue and not anything relating to registration or COM+ to me.

  5. #5
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6 COM Registration Problem

    Quote Originally Posted by DallasSteve View Post
    I don't think posting the code will help. It's not a code error. The code I posted in the message is the only relevant code.
    Sorry, I didn't noticed you had already posted the link of code on line 5.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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