Thread: COMException
View Single Post
  #5  
Old April 17th 07, 03:30 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default COMException

Right, the localhost server is local but that may not be the deployment
target. However, in any case the code should not be run server side, as
Dmitry also indicated.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dmitry Streblechenko" wrote in message
...
I think she means that both the IIS and server and the client are on the
same machine.
Since this is C#, and IE does not run any .Net code the way it runs VB and
Java Scrips, I suspect that the code is actually executed in the IIS
server context (which is a service), and no Office app (inclusing Outlook)
should be used in any Windows service.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


Ads