#### What is <IDispatch error #32> error and <Memory is locked.> error?

Hello,

I installed an Event Sink as a COM+ Application on my Exchange machine that
sends an email to a specific user named "exchangeconnector" whenever
something is changed in the calendar of another specific user "exchangeuser".
I did the appropriate event registration for this event sink and the events
seem to be successfully triggering the event sink, as I can see new events
being logged to the system event log when I create new appointments in
exchangeuser's calendar. But the problem is that while the event sink tries
to send an email to exchangeconnector's Inbox, I get a few errors and I don't
even know what the errors are supposed to mean. These errors are:

ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
(the above error happens twice)
and
ERROR: In SendMail, caught exception: <IDispatch error #32>

It looks like some <Memory is locked.> error is happening first and then one
more time and at the end when the event sink tries to send out the email a
<IDispatch error #32> occurs. What are these error messages mean? I don't
<IDispatch error #32> mean?

I am copying the whole description for this event. Please watch for the
<Memory is locked.> and <IDispatch error #32> errors:

Message = INFO: Entering OnSyncSave
INFO: bstrURLItem is:
<file://./backofficestorage/web-based-crm.com/MBX/exchangeuser/Calendar/test5.EML>
INFO: In GetConfigurationInfo, using default value for CwEventID (set to 0)
INFO: In GetConfigurationInfo, GetComputerName succeeded, value: <TITAN>
INFO: messageClassType is: <IPM.Appointment>
TRACE: In SmartFiltering, DAV:ishidden is false
TRACE: In SmartFiltering, DAV:isfolder is false
TRACE: In SmartFiltering, bstrUserGuid is:
<{BC2482D7-0E19-4A33-BC0C-B889DF1977B3}>
TRACE: In SmartFiltering, CdoPR_SENDER_NAME is: <Exchange User>
TRACE: In SmartFiltering, DAV:displayname is: <test5.EML>
INFO: In ProcessEvent, SmartFiltering returned SUCCESS.
INFO: In ProcessEvent, GetFieldFromEvent outlookmessageclass was successful;
rc: <0>, value: <IPM.Appointment>
INFO: In ProcessEvent, GetFieldFromEvent DAV:parentname was successful; rc:
<0>, value:
<file://./backofficestorage/web-based-crm.com/MBX/exchangeuser/Calendar>
INFO: In GetFieldFromEvent, rcDate: <9>
INFO: In GetFieldFromEvent, rcTime: <11>
INFO: In GetFieldFromEvent using SystemTime, Date: <8/17/2005> Time:
<02:21:49 PM>
TRACE: In GetMessageIDFromURL, Connection Open succeeded
TRACE: In GetMessageIDFromURL, DataSource Open succeeded
TRACE: In GetMessageIDFromURL, get_Fields succeeded
TRACE: In GetMessageIDFromEvent, bstrMessageID is:
<000000008718c3533c1da2449b5d8339c402ddb90700665b81fafc28224aa15e582155cc4a9700000000e2bf0000665b81fafc28224aa15e582155cc4a9700000000f2390000>
ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
TRACE: In GetMessageIDFromURL, Connection Open succeeded
TRACE: In GetMessageIDFromURL, DataSource Open succeeded
TRACE: In GetMessageIDFromURL, get_Fields succeeded
TRACE: In GetMessageIDFromEvent, bstrMessageID is:
<000000001b55fa20aa6611cd9bc800aa002fc45a0c000000544954414e002f6f3d546f756368746f6e6520436f72706f726174696f6e2f6f753d46697273742041646d696e6973747261746976652047726f75702f636e3d526563697069656e74732f636e3d65786368616e67657573657200>
ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
INFO: In ProcessEvent, GetFieldFromEvent CdoPR_MSG_STATUS was successful;
rc: <0>, value: <0>
TRACE: In SendMail, bstrFrom is: <CwEventListener>, bstrTo is:
ERROR: In SendMail, caught exception: <IDispatch error #32>
INFO: Exiting OnSyncSave

Thanks,
Mete

 0
MeteKural (3)
8/17/2005 10:40:02 PM

2 Replies
716 Views

Similar Articles

[PageSpeed] 22

Hello again,

I am trying to figure out how to look up IDispatch errors. I couldn't find
the documentation that explains IDispatch errors by their error ID (ex: #32).
Can anyone point me to documentation where I can find a list of IDispatch
errors and their descriptions?

Thank you,
Mete

"Mete Kural" wrote:

> Hello,
>
> I installed an Event Sink as a COM+ Application on my Exchange machine that
> sends an email to a specific user named "exchangeconnector" whenever
> something is changed in the calendar of another specific user "exchangeuser".
> I did the appropriate event registration for this event sink and the events
> seem to be successfully triggering the event sink, as I can see new events
> being logged to the system event log when I create new appointments in
> exchangeuser's calendar. But the problem is that while the event sink tries
> to send an email to exchangeconnector's Inbox, I get a few errors and I don't
> even know what the errors are supposed to mean. These errors are:
>
> ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
> (the above error happens twice)
> and
> ERROR: In SendMail, caught exception: <IDispatch error #32>
>
> It looks like some <Memory is locked.> error is happening first and then one
> more time and at the end when the event sink tries to send out the email a
> <IDispatch error #32> occurs. What are these error messages mean? I don't
> <IDispatch error #32> mean?
>
> I am copying the whole description for this event. Please watch for the
> <Memory is locked.> and <IDispatch error #32> errors:
>
> Message = INFO: Entering OnSyncSave
> INFO: bstrURLItem is:
> <file://./backofficestorage/web-based-crm.com/MBX/exchangeuser/Calendar/test5.EML>
> INFO: In GetConfigurationInfo, using default value for CwEventID (set to 0)
> INFO: In GetConfigurationInfo, GetComputerName succeeded, value: <TITAN>
> INFO: messageClassType is: <IPM.Appointment>
> TRACE: In SmartFiltering, DAV:ishidden is false
> TRACE: In SmartFiltering, DAV:isfolder is false
> TRACE: In SmartFiltering, bstrUserGuid is:
> <{BC2482D7-0E19-4A33-BC0C-B889DF1977B3}>
> TRACE: In SmartFiltering, CdoPR_SENDER_NAME is: <Exchange User>
> TRACE: In SmartFiltering, DAV:displayname is: <test5.EML>
> INFO: In ProcessEvent, SmartFiltering returned SUCCESS.
> INFO: In ProcessEvent, GetFieldFromEvent outlookmessageclass was successful;
> rc: <0>, value: <IPM.Appointment>
> INFO: In ProcessEvent, GetFieldFromEvent DAV:parentname was successful; rc:
> <0>, value:
> <file://./backofficestorage/web-based-crm.com/MBX/exchangeuser/Calendar>
> INFO: In GetFieldFromEvent, rcDate: <9>
> INFO: In GetFieldFromEvent, rcTime: <11>
> INFO: In GetFieldFromEvent using SystemTime, Date: <8/17/2005> Time:
> <02:21:49 PM>
> TRACE: In GetMessageIDFromURL, Connection Open succeeded
> TRACE: In GetMessageIDFromURL, DataSource Open succeeded
> TRACE: In GetMessageIDFromURL, get_Fields succeeded
> TRACE: In GetMessageIDFromEvent, bstrMessageID is:
> <000000008718c3533c1da2449b5d8339c402ddb90700665b81fafc28224aa15e582155cc4a9700000000e2bf0000665b81fafc28224aa15e582155cc4a9700000000f2390000>
> ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
> TRACE: In GetMessageIDFromURL, Connection Open succeeded
> TRACE: In GetMessageIDFromURL, DataSource Open succeeded
> TRACE: In GetMessageIDFromURL, get_Fields succeeded
> TRACE: In GetMessageIDFromEvent, bstrMessageID is:
> <000000001b55fa20aa6611cd9bc800aa002fc45a0c000000544954414e002f6f3d546f756368746f6e6520436f72706f726174696f6e2f6f753d46697273742041646d696e6973747261746976652047726f75702f636e3d526563697069656e74732f636e3d65786368616e67657573657200>
> ERROR: In GetMessageIDFromEvent, caught exception: <Memory is locked.>
> INFO: In ProcessEvent, GetFieldFromEvent CdoPR_MSG_STATUS was successful;
> rc: <0>, value: <0>
> TRACE: In SendMail, bstrFrom is: <CwEventListener>, bstrTo is:
> ERROR: In SendMail, caught exception: <IDispatch error #32>
> INFO: Exiting OnSyncSave
>
>
> Thanks,
> Mete

 0
MeteKural (3)
8/18/2005 4:08:02 PM
"Mete Kural" <MeteKural@discussions.microsoft.com> wrote:

>Hello again,
>
>I am trying to figure out how to look up IDispatch errors. I couldn't find
>the documentation that explains IDispatch errors by their error ID (ex: #32).
>Can anyone point me to documentation where I can find a list of IDispatch
>errors and their descriptions?

IDispatch is used by OLE. Start at http://msdn.microsoft.com. Asking
developer type questions in an admistrator type newsgroup probably

More appropriate newsgroups would be m.p.exchange2000.applications,
m.p.exchange.applcations, m.p.exchange2000.development, or
m.p.exchange.develpment.

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com

 0
richnews (7315)
8/18/2005 4:43:48 PM

Similar Artilces:

Publish97 Error Msg
> I get an error mssg every time I open from the shortcut on > the desktop. I have reinstalled Pub 3 times to no avail. I > am running XP Home on a new e-machine and my old Publisher > documents, copied over from my old computer, work fine. > > The error msg follows: > > undialog.cppLine:1396 > > Abort Retry Ignore > > The ignore button just causes it to pop up again. As I > stated, when opening and old doc in my copied folder, all > is well. > Any advice would be very welcome. > Also when I put in my product ID for my application on ...

Windows 2000 using Outlook 2003 Virtual Memory Error
I am an admin with several brand new windows 2000 SP4 machines and those that I loaded with Outlook 2003 are giving me an "Out of virtual memory" error. So I then clear the memory and set the VM to the max size and I still get the VM errors at times. These computers have at least 512DDR RAM and 80gig Hard drives. Any idea's? I just had the exact same thing happen to me and i looked at the task manager and there was an update that was sent to the coputer that didnt quite get installed and was pounding the processor speed down to nill which caused the virtual memory err...

Error message in Excel workbook.
Hello, I have met a starnge error message in Excel 2000. For not a very big file (about 600KB!!), when I'm trying to copy one worksheet into a new one, I'm receivinge the message: 'No more new fonts may be applied in this workbook'. The file contains 5 worksheets with about 15 charts. In all the file I'm using Arial font. There are some limits about charts ? Can anybody help me ? ...

Macro Issue File Locked for editing
Have set up an Icon on Toolbar with a standard Macro which I like to use. But each time I open a new Excel get a message if have multiple instances of excel open.. FILE IN USE. PERSONAL.XLS IS LOCKED FOR EDITING Also How do I respond to a reply to a question placed on this website .... EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com If you're not going to change personal.xls, you could mark it readonly in windows explorer. I think most people try not to open multiple instances of excel. They'll just open multiple files in a single instance. I con...

ERROR: Field 'Exchange Rate. Exchange Rate' does not have a defaul
I want integration manager to select Currency ID, Rate Type ID from my source file and use the default Exchange Rate from the Exchange Rate Table. But I get this ERROR: Field 'Exchange Rate. Exchange Rate' does not have a default value Any suggestions? ...

error messages 07-22-04
Our CRM users have been experiencing "please contact your administrator" error messages. They do not seem to be related events. For example just today: -creating a task, the task was created after the error was closed -converting a lead to a contact and account, the account was created after the error was closed -sending an email, no response on the email The did not happen at the same time. The entire network has been running fine. It is not a permissions issue. Any clues? Thanks look in the application log on the CRM server for "Microsoft CRM" errors - you w...

Error: Can't open this item
Accessing email stored on Exchange 5.5. May open mailbox and view headers from emails..upon opening these emails error message 'Can't open this item' appears....no further information. The error initially appeared on Outlook 2002, service packing 2002 to both sp1 and sp2 did not fix the error. Installing and upgrading to Outlook 2003 has not fixed either. Any help would be greatly appreciated. Regards, Tom ...

RUNDLL Error

insufficient authorization error message on Portal Field Service Suite
I have a user that was just set up to use the Field Service Suite on the portal. He can see the list of service orders but when he clicks on one in the notes section it is giving an error message of "Insufficient authorization to perform this action.". I made sure he is a member of the service customer and returns customer groups and his entity is setup as a customer as well as the service customer self and returns customer self roles. Is there another place I need to add them? Robert Fann Omni Packaging ------=_NextPart_0001_DF979967 Content-Type: text/plain Content-Tran...

Deleting record with Error# Error#..( 3001)
Dear Experts. I have a commercial database with 31K records. Yesterday a record was entered into the data with Error# in each column of data. When the data forms attempt to navigate passed this record a message is presented to the user for each column of data with the error "Invalid argument (Error 3001)" When i visit the table and attempt to delete this data I receive the same error and the system does not remove the record. I have tried to make a new table using a query to filter all records with values in a column >1 (the IDs), but the program crashes and does not cre...

outlook 2002 smtp error
having a problem with outlook 2002 replying or forwarding emails, can send and receive new msgs. problem is only on 2002, 2000 works fine. error msg: unable to find email server - any suggestions ...

Various HRESULT Error Codes when going offline
We have just complete a CRM 3.0 upgrade which went well, with about 30-40 laptops upgraded to the new client. One laptop is being a pain - the install seems to go fine but we get errors going offline. It seems to go part way and then fails; 1) HRESULT 0xAB420009 (Uninstall/Reinstall) 2) HRESULT 0xFCB20009 (reboot) 3) HRESULT 0xD0720009 The commonality seems to be the last 2 bytes of the code (0009). Does anyone know what this might be trying to tell me? Thanx -- Glen Howie Microsoft CRM Product Specialist WolfBridge Solutions www.wolfbridgesolutions.com ...

Virtual memory minimum too low
When I am viewing I Player I often get an interruption and a message "Virtual Memory Minimum too low" Can I change this? and if so how? Blair What is it set to? See step 2 here. http://support.microsoft.com/kb/308417 -- -- "bm" <Darroch@aol.com> wrote in message news:eya3JLObKHA.1640@TK2MSFTNGP06.phx.gbl... > When I am viewing I Player I often get an interruption and a message > "Virtual Memory Minimum too low" > Can I change this? and if so how? > Blair > "bm" <Darroch@aol.com> wrote in me...

.xls file opening error
I am receiving an error when I open excel files that reads: cannot find the file 'filepath\name.xls' (or one of it's components) Make sure that the path and file name are correct and that all required libraries are available. After you click ok, excel is open, but no spreadsheet. Also, note that if you go to file, open in excel, there is no problem. I believe this error to be related an uninstall of a different program. Uninstalling and reinstalling Office did not fix the problem. Any ideas of where the problem lies and how to fix it would be greatly appreciated. Thanks. Do...

Help: Error Insalling IMS
I finished installing Exch 5.5 on a W2K server. I then tried installing the Internet Mail Service but failed when I entered the password of the service account. The error message is: Logon failure: unkown username or bad password Microsoft Windows NT ID no: 0xc002052e I did the following with no effect: a. logon on the server with the service account i used and password. b. install sp4 c. uninstall exch 5.5 and reinstall I'm setting up a new recovery server. Thanks TagaR ...

Windows 7 Update error 80072F78
I am recieving this error for the last month, I have tried many 'fixes' I have found on various sites. Still it will not connect to update. I am on a large network (The only computer with windows 7!) and we changed all the connection details, auto and manual and still nothing. Changed proxy settings, disabled them, running out of options! My last successful update batch (20th Jan) failed on an update for HP Display. From then its not worked. Don't know if its anything to do with it, but information none the less. If anyone has any suggestions, that would be great...

memory leak only in release build
Hi all, I have written a application in MFC, on checking for memory leaks in Release build ,it is showing memory leaks. I have commented the INITDIALOG code, and checked the same with memory tool(Boundschecker).It is showing the memory leak.Now no code is executed from the application. What might be the problem?However Debug build doesnot show any memory leak......... Regards -Hari How did you determine the release build is "showing memory leaks". How did you "check for memory leaks in the release build". Normally, these are not issues that can be detected ...

Backup Errors
We use veritas 9 to backup our information stores. On one of the stores we get this event ID 478, with this error Information Store (2684) The streaming page read from the file "x:\xxxx\xxxx\xxx.stm" at offset 1213386752 (0x000000004852d000) for 1763 (0x000006e3) bytes failed verification due to a page checksum mismatch. The expected checksum was 4107459216 (0xf4d2da90) and the actual checksum was 3605654658 (0xd6e9ec82). The read operation will fail with error -613 (0xfffffd9b). If this condition persists then please restore the database from a previous backup. I can re...

how to confirm origin of memory leakage
Hi guys, i am facing problem of memory leakage, but i don't know what is the origin of memory likage, actually i face this problem when i maximise the size of picture box at run time, if you please have any idea please tell me. You need to use some of the tools like BoundsChecker,Purify or UMDH.exe I use the last one as it is free. Can't guess what the source of the problem is without seeing the code anyway. -- Vipin Aravind Microsoft - MVP <raghunandan_1081@yahoo.com> wrote in message news:1137826932.624758.305100@g44g2000cwa.googlegroups.com... > Hi guys, i am facing ...

XP error
Hi; I have using OUTLOOK XP with good success on my WIN ME system for many weeks. All of a sudden it refuses to send and receive mail and disconnects with error 0x80040154. I can have access via webmail and I am using explorer 5.5. But this a pain ! My ISP was no real help. My ME system has 'forgotten' or misplaced things before but I had no luck so far in reregistering a .dll file if that is required. Any suggestions how I can get OUTLOOK XP back ? Regards, Michael Skal. ...

outlook.pst error message
When I attmept to open Outlook 2000 (in Windows XP) I get an error message that the file C:Documents and Setting\Owner Settings\Application Data\Microsoft\Outlook\outlook.pst has detetected an error. It tells me to quit all mail-enabled applications and then use the Inbox repair tool. I have tried to run the repair tool many times and it always crashes before it fin9shes scanning the files. One time it finished the scan and stated that files were damaged and it asked if I wanted to Repair those files. I said yes and it froze up and would not respond. Are there any other ways ...

HTTP status 415 error
Hi all, currently I'm trying to do some data-migration from a legacy sytem into CRM using BizTalk Server 2004. When I want to save my xml-query into CRM, I get the following error/exception: === System.Web.Services The request failed with HTTP status 415: . at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Crm.Platform.Proxy.CRMAccount.Update(CUserAuth Calle...