Re: Where do I start writing components for COM+ ?
From: Egbert Nierop \(MVP for IIS\) (egbert_nierop_at_nospam.invalid)
Date: 10/03/04
- Previous message: Chris Barber: "Re: big, BIG problem with CDONTS (not hiding BCC entries)"
- Next in thread: Alan Silver: "Re: Where do I start writing components for COM+ ?"
- Reply: Alan Silver: "Re: Where do I start writing components for COM+ ?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 3 Oct 2004 11:34:45 +0200
"Alan Silver" <alan-silver@nospam.thanx> wrote in message
news:fuEce6BJsTWBFw$D@nospamthankyou.spam...
> Hello,
>
> I have had loads of experience writing COM components for ASP using NT4
> and IIS4, but haven't done it for some time. I have recently upgraded my
> server to Windows 2003, and am now getting some error messages apparently
> related to my components.
>
> Does anyone have any pointers to info on writing COM+ components? I don't
> mind basic articles, it's been a while since I wrote any and I'm sure my
> knowledge is out of date. I would be interested to see how people
> recommend writing them for IIS6.
>
> The errors I was seeing were in the event viewer and looked like :-
Hi,
You should upgrade interfaces which are there for backward compatibility. In
addition, be sure you compile with VB6 (at least) SP5 or with Visual C++...
And if you use VB6, you should select 'unattended execution' for your COM+
project.
Last but not least, include symbols in your VB projects and put them at the
same place as your COM+ dll.
If an exception occurs, you'll see where your code goes wrong.
Success
> Source: COM+
> Category: Unknown
> Event ID: 4786
>
> 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:
> Server Application ID: {DD911D9B-249A-4701-A480-29E5B5A7F428}
> Server Application Instance ID:
> {106DCBBE-AF3A-4278-9412-F75E06890136}
> Server Application Name: Pixata E-Commerce
> The serious nature of this error has caused the process to terminate.
> Exception: C0000005
> Address: 0x800A001A
> Call Stack:
> + 0x800a001a
> FF_Shop!DllCanUnloadNow + 0x3dac8
> OLEAUT32!DispCallFunc + 0x15d
> MSVBVM60!BASIC_CLASS_Invoke + 0x259
> MSVBVM60!BASIC_CLASS_Invoke + 0x52
> OLEAUT32!VarDecCmp + 0x1537
> OLEAUT32!VarDecCmp + 0x35f
> RPCRT4!CStdStubBuffer_Invoke + 0x82
> OLEAUT32!VariantChangeType + 0xb36b
> ole32!StgGetIFillLockBytesOnFile + 0x11105
> ole32!StgGetIFillLockBytesOnFile + 0x110af
> ole32!CoGetMalloc + 0x1a4b
> + 0x80a48
> + 0x2f005f6
>
>
> The DLL doesn't do anything too spectacular, it basically makes ADO calls
> to a database to grab records, then produces HTML from them which it
> writes out using Response.Write(). It has been working fine on IIS4 and
> MTS for ages.
>
> I don't use CDONTS or FSO at all, nor MSMSQ (or whatever the abbreviation
> is !!).
>
> I have searched the web and had a good look through www.aspfaq.com, but
> not found any answers.
>
> Thanx for any help, advice, pointers, tips, drinks, etc you can offer
>
> --
> Alan Silver
> (anything added below this line is nothing to do with me)
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
- Previous message: Chris Barber: "Re: big, BIG problem with CDONTS (not hiding BCC entries)"
- Next in thread: Alan Silver: "Re: Where do I start writing components for COM+ ?"
- Reply: Alan Silver: "Re: Where do I start writing components for COM+ ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|