Silverlight 5 COMAutomation_FeatureBlocked

Posted on 2012-08-20
Last Modified: 2012-11-19
I am trying to create an Outlook Application using COM in my Silverlight application
In Silverlight 5, I am using in browser with require elevated trust checked.

I get the following error COMAutomation_FeatureBlocked.
How do I turn automation.

If I use AutomationFactory.IsEnabled it always return false.

I also tried setting the registry settings based on this article to no avail

Would like to know if anyone has encountered these issues and how to resolve them.

here is my code

outlook = AutomationFactory.CreateObject("Outlook.Application");
                    mailItem = outlook.CreateItem(0);
                    mailItem.To = "";
                    mailItem.Subject = "Test";
                    mailItem.HTMLBody = strhtml;
Question by:countrymeister
    LVL 16

    Expert Comment

    by:Kalpesh Chhatrala
    LVL 1

    Author Comment

    Hi Kalpesh

    Thanks for the links
    If you read the link I had in my original request. Microsoft does mention thaat you could do this In browser Silverlight app
    LVL 1

    Accepted Solution

    Hi ! Kalpesh

    Thanks for the links, I do see in the link that I sent that Microsoft states you could call COm with In browser app, starting with Silverlight 5
    LVL 1

    Author Closing Comment

    Not much help

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now