Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » com+   (RSS)

Outlook Automation is for People, not for Services.

I don't know why we see a lot of customers trying to automate Outlook from a service. It’s pretty well documented that it’s a bad idea. Outlook Object Model (OOM) was written for automating Outlook for a user sitting at the box running it. See, Outlook

Call Dispose on client when calling COM+ objects.

Dispose MUST be called from the client and not from the serviced component... There is a requirement for clients of COM+ Serviced Components to call dispose on the component. If you do not do this, it will not shut down. When you inherit from servicedcomponent,

Why is CDOSYS failing in a stored procedure?

If you’re experiencing issues with CDOSYS under a stored procedure, you may be running into one of the issues I'll mention here. Outlook is usually installed on SQL Servers in order to provide mail sending capability (using xp_sendmail). However, xp_sendmail
 
Page view tracker