Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5931111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:38:54+00:00 2026-05-22T14:38:54+00:00

I have developed a .NET application which is accessing outlook. For my computer it

  • 0

I have developed a .NET application which is accessing outlook. For my computer it is working fine but when I am publsihing it and run it into other PC outlook is showing a pop up that “an external application want to access outlook, grant access for 1/2/5/10 min”.

But my application wants access for more than 10 minutes. What will be the solution for this?

My guess:

  1. How can I make this application as trusted in outlook?
  2. My computer outlook never asked me about access why other computer want access time? Is this because I developed the application on my system?

EDIT

The same thing I found here http://www.add-in-express.com/outlook-security/

but When I am copying the code:

    AddinExpress.Outlook.SecurityManager SecurityManager = new AddinExpress.Outlook.SecurityManager();
SecurityManager.DisableOOMWarnings = true;
try {
// ... any action with protected objects ...  
} finally {
    // In any case please remember to turn on   
    // Outlook Security after your code,   
    // since now it is very easy to switch it off! :-)   
    SecurityManager.DisableOOMWarnings = false;
}

This stament is showing as error:

AddinExpress.Outlook.SecurityManager

Which Namespace I have to use, I am using .NET 2.0.

Following are the namespaces I have already included in my .cs file

  using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.Office.Interop;
using System.Reflection;
using Microsoft.Office;
using System.Runtime.InteropServices;
using OutLook = Microsoft.Office.Interop.Outlook;
using System.Reflection;
using System.Text;
using System.Configuration;
using System.Security;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:38:54+00:00Added an answer on May 22, 2026 at 2:38 pm

    The warning “Feature” is called the object model guard.

    Outlook 2007 will not popup warnings if it’s running on a system with an up-to-date antivirus, so the other computer may not have an AV, or is running an AV that the security center API cannot interrogate for state.

    If you’re accessing outlook from a VSTO Addin you can bypass the guard by calling across the trusted ThisApplication object (example in link), if you’re using vanilla interop you’re going to need to do something else (E.g. Redemption).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET application developed on my Vista box (IIS7). It works fine
I have developed a Windows application in .NET which uses a SQL Server database
I have developed an application in ASP.NET 3.5 which utilizes the Membership and Roles
We have an ASP.NET MVC application for which we have developed our own custom
We have developed an application in C# .NET WPF Office which we are about
We have developed a web service which is consumed fine by a C# .NET
I have developed an application level add-in for Outlook targeting Outlook 2010 and .NET
I have developed an ASP.NET MVC (version 2 RC) application with a ton of
I am looking at globalizing an application that I have developed in asp.net mvc.
I have developed a MVC web application with ASP.NET MVC and im just wondering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.