Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Message.Send Causing COM+ Error
avandam

From: London, United Kingdom
Posts: 21
Member Since: 08/23/01
posted December 15, 2003 11:50 AM

Hi,

We have started to experience bizare intermittent errors in the smtp message.send. The error appears to be from a Dart component, but for some reason causes the whole containing COM+ application to crash. When we replay the email using the exact same data, it works fine. The error reported by COM+ is:

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: {328F42F3-E5D3-440F-9D96-907D70313691}
Server Application Name: RDMServer_v30
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x77EC7F55
Call Stack:
KERNEL32!MultiByteToWideChar + 0x20F
DartMail + 0x10D36
DartMail + 0x2E6FF
DartMail + 0x2CC33
RDMDatEmail_v30 + 0xAF7F
RDMDatEmail_v30 + 0x74D2
RDMDatEmail_v30 + 0x655C
RDMBusMsgQueue_v30 + 0xA302
RPCRT4!NdrServerMarshall + 0x12F6
RPCRT4 + 0x65AD7
RPCRT4!CStdStubBuffer_Invoke + 0x6B
OLEAUT32!UserEXCEPINFO_free_local + 0x2114
 + 0xFFFFFFF7
 + 0xA2D4CE38

This only occurs to emails that we have created in a file, which we then open using the message.load, set the To and BCC and then send. The data in the files comes from MS Exchange, sent to out custom smtp port listener (using the Dart tcp/ip component).

Thanks
Aaron van Dam
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 16, 2003 9:15 AM

You'll have to find a way to duplicate the error before we can fix it. Next time it happens, save the message, then write a simple app that keeps loading the message and see if you can make it crash.

If you are successful, please send the app and the message in a zip file to support@dart.com.
avandam

From: London, United Kingdom
Posts: 21
Member Since: 08/23/01
posted December 16, 2003 9:35 AM

I have done this already, trying to duplicate the error using the exact same data, with no success. I can send you the file we are loading if this is of any help.

Do you see any problems with the way we are using dart smtp control? i.e. where we are creating a file from an smtp stream sent from MS exchange (as smtp) and then loading the file into the dart message object and sending the email. Is this a fundamental missuse of the message.load method?

Also, as a separate problem, we have getting a few 15000 "Miscellaneous error" failures. What is the typical cause of these?

Thanks
Aaron
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 17, 2003 8:42 AM

"Miscellaneous error" means that an error occured that we were not expecting and did not provide a constant for. For this we would also need duplication steps.

I can't comment about your methods because I have never tried doing what you are doing.

Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX