VSTO outlook 2007 addin installation problem

Status
Not open for further replies.
N

Nagaraj

Hi,

I am developing outlook 2007 VSTO plugin and using SetSecurity project also.

In SetSecurity.cs file

I have the following line.

try

{

// The solutionCodeGroupName must be a unique name;

otherwise, the method might delete wrong code group.

CaspolSecurityPolicyCreator.RemoveSecurityPolicy(allUsers,

solutionCodeGroupName);

}

catch (Exception e)

{

MessageBox.Show("StackTrace " + e.StackTrace);

}

While executing above line

I am getting error.

StackTrace at

CustomActions.CaspolSecurityPolicyCreator.RunCaspolCommand(String

frameworkFolder, String arguments)

at CustomActions.CaspolSecurityPolicyCreator.RemoveSecurityPolicy(Boolean

machinePolicyLevel, String solutionCodeGroupName)

at CustomActions.SetSecurity.Install(IDictionary stateSaver)

and I am getting error Code 2869.

The installer has encountered an unexpected error installing this package.

This may indicate a problem with this package. The error code is 2869.

The installer is rolling back.

Before AddSecurityPolicy, RemoveSecurityPolicy with the

solutionCodeGroupName is failing.

Can anyone tell me how to fix this problem.

Thanks in advance.

Nagaraj Tadipatri
 
N

Nagaraj

My system configuration is

Windows XP Professional Version 2002 Service Pack 2

Nagaraj Tadipatri

"Nagaraj" wrote:


> Hi,

> I am developing outlook 2007 VSTO plugin and using SetSecurity project also.
> In SetSecurity.cs file
> I have the following line.

> try
> {
> // The solutionCodeGroupName must be a unique name;
> otherwise, the method might delete wrong code group.

> CaspolSecurityPolicyCreator.RemoveSecurityPolicy(allUsers,
> solutionCodeGroupName);
> }
> catch (Exception e)
> {
> MessageBox.Show("StackTrace " + e.StackTrace);
> }

> While executing above line

> I am getting error.

> StackTrace at
> CustomActions.CaspolSecurityPolicyCreator.RunCaspolCommand(String
> frameworkFolder, String arguments)

> at CustomActions.CaspolSecurityPolicyCreator.RemoveSecurityPolicy(Boolean
> machinePolicyLevel, String solutionCodeGroupName)

> at CustomActions.SetSecurity.Install(IDictionary stateSaver)

> and I am getting error Code 2869.
> The installer has encountered an unexpected error installing this package.
> This may indicate a problem with this package. The error code is 2869.

> The installer is rolling back.

> Before AddSecurityPolicy, RemoveSecurityPolicy with the
> solutionCodeGroupName is failing.
> Can anyone tell me how to fix this problem.

> Thanks in advance.
> > Nagaraj Tadipatri
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Not able to load an add-in for outlook 2007 developed in VSTO 2005 Outlook VBA and Custom Forms 2
M Will a VSTO C# Outlook 2007 Add-in work on Outlook 2010? Outlook VBA and Custom Forms 1
O Third-party VSTO 2005 SE plug-in for Outlook 2007: what should I signwith a publisher certificate? Outlook VBA and Custom Forms 3
M c# vsto Outlook.ApplicationEvents_11_NewMailEx Outlook VBA and Custom Forms 1
T VSTO Outlook add-in: Categories not displaying correctly Outlook VBA and Custom Forms 3
O VSTO - Outlook Add-In - Get GAL data Outlook VBA and Custom Forms 1
K Outlook VSTO Add-in not visible in Trust Center after installing Outlook VBA and Custom Forms 1
X Highlight block of text in an outlook mail using c#2008 vsto Outlook VBA and Custom Forms 1
W My VSTO 3.0 Outlook addin doesn’t load Outlook VBA and Custom Forms 1
O Outlook VSTO 2005 plug-in installer: CLSID = ? Outlook VBA and Custom Forms 3
E Opening WinForm in Outlook 2003 VSTO Addin with Wordmail enabled Outlook VBA and Custom Forms 1
M Develop for OL2003 on OL2007 machine using VS2008 and VSTO? Outlook VBA and Custom Forms 1
E VSTO 2008 how to bind Form Region controls to Item data fields Outlook VBA and Custom Forms 2
E VSTO 2008 how to bind Form Region controls to Item data fields Outlook VBA and Custom Forms 3
M VSTO deployment? Outlook VBA and Custom Forms 1
M VSTO C#: How do I declare an application scope variable? Outlook VBA and Custom Forms 2
S VSTO calling unmanged function Outlook VBA and Custom Forms 3
G Interop or VSTO or ? Outlook VBA and Custom Forms 2
M VSTO 2007 Addin auto-disabled on one machine but not another on installation? Outlook VBA and Custom Forms 1
O using VSTO to get Available Mailboxes Outlook VBA and Custom Forms 11
M Outlook2007 and VSTO, handle the Click on the Save Button in the IPM.Note dialog HOWTO? Outlook VBA and Custom Forms 4
M VSTO Outlook2007 Addin. After switching from 3.5 to 2.0 Framework i get "'MSB3185: EntryPoint not sp Outlook VBA and Custom Forms 1
C Problem installing VSTO AddIn on Vista Outlook VBA and Custom Forms 3
A Outlook 2019 folder counter Using Outlook 0
A Relocate Search Bar in Outlook Using Outlook 0
e_a_g_l_e_p_i Need clarification on 2-Step Verification for Gmail using Outlook 2021 Using Outlook 9
L Opening People Outlook 2021 Using Outlook 2
e_a_g_l_e_p_i Outlook 2021 not letting me setup my Gmail using pop Using Outlook 1
Geldner Problem submitting SPAM using Outlook VBA Form Outlook VBA and Custom Forms 2
P VBA to add email address to Outlook 365 rule Outlook VBA and Custom Forms 0
M Outlook 2016 outlook vba to look into shared mailbox Outlook VBA and Custom Forms 0
P Can no longer sync Outlook with iPhone calendar after iPhone update to 17.1.1 Using Outlook 2
O Outlook - Switch from Exchange to IMAP Using Outlook 2
e_a_g_l_e_p_i Is it possible to have a reminder in Outlook 2021 for every 90 days Using Outlook 3
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
N Reply to Outlook messages by moving messages to a specific Outlook folder Outlook VBA and Custom Forms 1
O How to find out the domain and server settings that my Outlook is using? Using Outlook 2
A Outlook 365 (OutLook For Mac)Move "On My Computer" Folder Items From Old To New Mac Computer Using Outlook 3
H Integrating Alexa & Outlook Pro 2021 Using Outlook 2
Z Automatically adjust Outlook Reading Pane from bottom to right depending on portrait or landscape window Using Outlook 1
Rupert Dragwater Background colors not saving in Outlook 365 Using Outlook 15
petunia Outlook tasks module sunsetting? Exchange Server Administration 3
G Save emails as msg file from Outlook Web AddIn (Office JS) Outlook VBA and Custom Forms 0
D Outlook VBA forward the selected email to the original sender’s email ID (including the email used in TO, CC Field) from the email chain Outlook VBA and Custom Forms 3
U Outlook 2021 not showing contact cards in Searches Using Outlook 1
C Outlook - Macro to block senders domain - Macro Fix Outlook VBA and Custom Forms 2
H Outlook 365 O365 outlook calendar item editing Using Outlook 1
J Outlook 365 html inline images Using Outlook 0
Rupert Dragwater How to get Outlook 365 to open from websites Using Outlook 5

Similar threads

Top