• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1731
  • Last Modified:

Silverlight 5 COMAutomation_FeatureBlocked

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
http://msdn.microsoft.com/en-us/library/gg192793(v=vs.95).aspx

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;
                    mailItem.Display();
0
countrymeister
Asked:
countrymeister
  • 3
1 Solution
 
Kalpesh ChhatralaSoftware ConsultantCommented:
0
 
countrymeisterAuthor Commented:
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

http://msdn.microsoft.com/en-us/library/gg192793(v=vs.95).aspx
0
 
countrymeisterAuthor Commented:
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

http://msdn.microsoft.com/en-us/library/gg192793(v=vs.95).aspx
0
 
countrymeisterAuthor Commented:
Not much help
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now