can not open "new message" twice on Terminal Server

Oct 23, 2009 at 2:02 PM

Those message came from MFCMAPI

when i tried to run MFCMAPI within Terminal Server With Outlook 2003 + Exchange

the first call to "new message" work fine.

the next time - the app fail. 

this thing dose not happen when i use redemption.

it allso happen when i use ExtendenMapi ot IMIBO

 

can u help me ovvercome this problem???

After opening app again (after firs fail)

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function lpMapiForm->DoVerb( lVerb, NULL, (ULONG_PTR) m_hwndParent, &Rect)

File .\MyMAPIFormViewer.cpp

Line 509

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function lpMAPIFormViewer->CallDoVerb( lpForm, EXCHIVERB_OPEN, NULL)

File .\MAPIFormFunctions.cpp

Line 90

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function CreateAndDisplayNewMailInFolder( lpMDB, lpMAPISession, m_lpContentsTableListCtrl, -1, szClass, (LPMAPIFOLDER) m_lpContainer)

File .\FolderDlg.cpp

Line 1135

 

 

More message……………….

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function lpMAPIFormViewer->CallDoVerb( lpForm, EXCHIVERB_OPEN, NULL)

File .\MAPIFormFunctions.cpp

Line 90

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function CreateAndDisplayNewMailInFolder( lpMDB, lpMAPISession, m_lpContentsTableListCtrl, -1, szClass, (LPMAPIFOLDER) m_lpContainer)

File .\FolderDlg.cpp

Line 1135

 

In the second time trying open new message form

 

Error:

Code: MAPI_E_CALL_FAILED == 0x80004005

Function lpMapiForm->DoVerb( lVerb, NULL, (ULONG_PTR) m_hwndParent, &Rect)

File .\MyMAPIFormViewer.cpp

Line 509

 

Yosi

Coordinator
Nov 5, 2009 at 2:06 AM

Do you have both Outlook and Exchange installed on this machine? If so, that's not a supported configuration and is known to cause problems like this with MAPI.

Nov 5, 2009 at 6:09 AM

Hi.

Thanks for answering.

Yes we have exchange with outlook on terminal server machine.

The problem occurs only when we try to send the second+ message with SHOWMODAL form.

When we open NEWMESSAGE with none modal form, all work fine.

And some times we need to work with ShowModal.

Yossi


From: sgriffin [mailto:notifications@codeplex.com]
Sent: Thursday, November 05, 2009 5:06 AM
To: mazluta@hanibaal.co.il
Subject: Re: can not open "new message" twice on Terminal Server [MFCMAPI:72899]

From: sgriffin

Do you have both Outlook and Exchange installed on this machine? If so, that's not a supported configuration and is known to cause problems like this with MAPI.

Read the full discussion online.

To add a post to this discussion, reply to this email (MFCMAPI@discussions.codeplex.com)

To start a new discussion for this project, email MFCMAPI@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.424 / Virus Database: 270.14.49/2480 - Release Date: 11/04/09 07:37:00

Coordinator
Nov 5, 2009 at 12:37 PM

This isn't a supportable configuration: http://blogs.msdn.com/stephen_griffin/archive/2004/07/03/exchange-and-outlook-on-the-same-machine.aspx

Nov 6, 2009 at 6:06 AM

Thanks.

I see.

Yossi. Israel


From: sgriffin [mailto:notifications@codeplex.com]
Sent: Thursday, November 05, 2009 3:38 PM
To: mazluta@hanibaal.co.il
Subject: Re: can not open "new message" twice on Terminal Server [MFCMAPI:72899]

From: sgriffin

Read the full discussion online.

To add a post to this discussion, reply to this email (MFCMAPI@discussions.codeplex.com)

To start a new discussion for this project, email MFCMAPI@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.424 / Virus Database: 270.14.51/2482 - Release Date: 11/05/09 07:37:00