A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VSTO outlook 2007 addin installation problem



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 24th 09, 08:40 AM posted to microsoft.public.outlook.program_addins
Nagaraj
external usenet poster
 
Posts: 22
Default VSTO outlook 2007 addin installation problem

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(a llUsers,
solutionCodeGroupName);
}
catch (Exception e)
{
MessageBox.Show("StackTrace " + e.StackTrace);
}

While executing above line

I am getting error.

StackTrace at
CustomActions.CaspolSecurityPolicyCreator.RunCaspo lCommand(String
frameworkFolder, String arguments)

at CustomActions.CaspolSecurityPolicyCreator.RemoveSe curityPolicy(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
Ads
  #2  
Old July 24th 09, 09:06 AM posted to microsoft.public.outlook.program_addins
Nagaraj
external usenet poster
 
Posts: 22
Default VSTO outlook 2007 addin installation problem

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(a llUsers,
solutionCodeGroupName);
}
catch (Exception e)
{
MessageBox.Show("StackTrace " + e.StackTrace);
}

While executing above line

I am getting error.

StackTrace at
CustomActions.CaspolSecurityPolicyCreator.RunCaspo lCommand(String
frameworkFolder, String arguments)

at CustomActions.CaspolSecurityPolicyCreator.RemoveSe curityPolicy(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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing VSTO AddIn on Vista rob_tt08[_2_] Add-ins for Outlook 3 April 9th 09 07:52 AM
deploy 2003 vsto addin on outlook 2007 problem lokesh Add-ins for Outlook 17 April 17th 08 04:36 PM
Permissions problem during VSTO addin loading Rajesh K Add-ins for Outlook 9 August 11th 07 09:50 PM
outlook addin setup problem - created using vsto suman Outlook - Using Forms 1 July 16th 07 10:11 PM
OUtlook 2007 installation to Terminal server installation problem Raphael Outlook - Installation 2 February 13th 07 05:18 PM


All times are GMT +1. The time now is 09:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.