-
Apr 23rd, 2012, 04:48 PM
#1
Thread Starter
New Member
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?
-
Apr 23rd, 2012, 06:03 PM
#2
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
-
Apr 23rd, 2012, 06:24 PM
#3
Thread Starter
New Member
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.
-
Apr 24th, 2012, 01:51 AM
#4
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.
-
Apr 24th, 2012, 02:18 AM
#5
Re: VB6 COM Registration Problem
Originally Posted by DallasSteve
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|