locked
VB6 Component Registration Problem RRS feed

  • Question

  • 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?


    MCSD .NET developer in Dallas, Texas


    • Edited by DallasSteve Monday, April 23, 2012 3:57 PM
    • Moved by Jie Bao Tuesday, April 24, 2012 8:51 AM (From:Visual Basic General)
    Monday, April 23, 2012 3:56 PM

Answers

All replies