We see this issue quite regularly as we use the MAPI and lots of our users to run our application on TS.
Office (and Outlook in particular) are not DEP safe on Windows R2. http://support.microsoft.com/kb/2028367
If you ' re wondering what this doesn ' t occur on non-server versions of Windows (e.g. XP, Vista, Win7, etc.),
It ' s because *only* ' system ' processes run with DEP enabled by default in desktop versions, whereas DEP is enabled
On *all* processes by default in server versions.
TS (and Citrix) is the classic case where a server version of Windows ends up hosting desktop applications and thus
Where you see this annoying issue.
Now at the above KB, Microsoft recommends exempting Outlook.exe from DEP to workaround the issue.
However, when talking via MAPI to Outlook, the problematic non dep-safe code would be running in *your* address space,
Thus you'll need to exempt *your* processes EXE from DEP checking or suffer these spurious AVs.
http://forum.madshi.net/viewtopic.php?f=4&t=27582
DEP protected issues (especially Outlook)