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
 
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 can't remember outlook.com, Exchange password. Using Outlook 0
S Related messages show in main Outlook window vice new Advanced Find windows Using Outlook 1
H Force Outlook 2019 with GMail 2-Step to Require Login? Using Outlook 0
G Retaining Tabs in outlook body Using Outlook 2
V Setting up Outlook 2021 on new computer Using Outlook 2
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
Victor_50 Problem - Google Workspace will stop "unsafe" access to Outlook end 2024 Using Outlook 3
C New pc, new outlook, is it possible to import auto-complete emailaddress Using Outlook 4
T Outlook 365 won't take new working password Using Outlook 0
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
B Sync Outlook Public Folders to Contacts Using Outlook 2
D Delete Outlook emails from MS server Using Outlook 12
B Outlook tasks and PDF Using Outlook 4
D Outlook 2019 is no longer asking for password ... Using Outlook 5
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
L Outlook attachments from OneDrive as links Using Outlook 0
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
T How to Export & Import GMAIL Contacts into Outlook 2021 ? Using Outlook 4
M Synchronization and backup of Outlook from local to server. Using Outlook 8
T How to get an EVENT COLOR option in Outlook 2021 ? Using Outlook 0
K How can I delete an e-mail from Outlook Using Outlook 1
V Outlook Error The Attempted operation Failed. An Object Could Not be found Outlook VBA and Custom Forms 0
P Yahoo/IMAP folder rename by Outlook desktop 365 Using Outlook 0
A Outlook 2019 folder counter Using Outlook 0
A Relocate Search Bar in Outlook Using Outlook 2

Similar threads

Back
Top