Article View: borland.public.cppbuilder.database.multi-tier
Article #587COM+ Problem with BCB5
From: Val P.
Date: Thu, 22 Mar 2001 17:41
Date: Thu, 22 Mar 2001 17:41
38 lines
2441 bytes
2441 bytes
Hi,
I'm trying to do my first COM+ component in builder. I made a pretty basic one using the wizard (Created Activex library then added Transactional Object)
It installs fine, It looks good, but when I try to activate it it hangs for a while. Then I get an error (see below). What can I do to get COM+ to work correctly? I'm on Windows 2000 with SP1. Mind you, this is a pretty plain component, I just added a method Test() which takes no parameteres, does nothing, just returns S_OK.
However the error happens before I get to the method, it appears..?
Thanks,
v
---
The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID: TestComp Object
Method Name: IObjectControl::Activate()
Server Application ID: {A1990A3B-ACDB-40F6-B6C2-27B7B27D4C61}
Server Application Name: Test
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x77AA9ED7
Call Stack:
ole32!CoGetObjectContext + 0x5
TestComp!@@TestComp_tlb@Finalize + 0xA5
COMSVCS + 0xE8096
COMSVCS + 0xE7B1C
COMSVCS + 0x17B10
COMSVCS + 0xE9F50
+ 0x136EDEB0
Who needs Cupid? Matchmaker.com is the place to meet somebody.
FREE Two-week Trial Membership at http://www.matchmaker.com/home?rs=200015
Technical Details
Message-ID:
<MJHIEGHPHCABMAAA@angelfire.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!newsfeed.utk.edu!news-hog.berkeley.edu!ucberkeley!newsfeed.srv.cs.cmu.edu!anon.lcs.mit.edu!nym.alias.net!mail2newsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,a7b9e2e80faadb41,start X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-03-22 09:48:06 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!newsfeed.utk.edu!news-hog.berkeley.edu!ucberkeley!newsfeed.srv.cs.cmu.edu!anon.lcs.mit.edu!nym.alias.net!mail2news Date: Thu, 22 Mar 2001 09:41:49 -0800 From: "Val P." <thrace@angelfire.com> Message-ID: <MJHIEGHPHCABMAAA@angelfire.com> Mime-Version: 1.0 X-Sent-Mail: off Reply-To: thrace@angelfire.com X-Mailer: MailCity Service Subject: COM+ Problem with BCB5 X-Sender-Ip: 207.18.199.151 Organization: Angelfire (http://email.angelfire.mailcity.lycos.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Transfer-Encoding: 7bit Mail-To-News-Contact: postmaster@nym.alias.net Newsgroups: borland.public.cppbuilder.database.multi-tier Lines: 38