Outlook 2007 Add-in Problem in Vista

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2008
Posts: 4
Reputation: chnswam is an unknown quantity at this point 
Solved Threads: 0
chnswam chnswam is offline Offline
Newbie Poster

Outlook 2007 Add-in Problem in Vista

 
0
  #1
Aug 22nd, 2008
[Moderators, apologies if this is not the category my question falls under, please move it to the approp. category, Thanks]

Hi,

I have developed a VSTO SE Outlook 2007 add-in with Visual Studio 2005.
I used the default setup project to create the setup files.
Upon installation, the Add-in works fine in all operating systems, except Windows Vista
The add-in doesn't load. To check, when I view it in the ‘Tools->Trust center->Add ins->Com Add-in’ of Outlook 2007, the message it gives is "Load Behavior: Not loaded.The Managed Add-in Loader failed to initialize"
I have also created a project called "SetSecurity" to use Caspol to give FullTrust permissions for all the assemblies.

In my SetSecurity Project, in a file called CaspolSecurityPolicyCreator.cs, I have the following code:
// Add the solution code group. Grant no permission at this level.
string arguments = policyLevel + " -q -ag " + parentCodeGroup + " -url \"" + solutionInstallationUrl + "\" Nothing -n \"" + solutionCodeGroupName + "\" -d \"" + solutionCodeGroupDescription + "\"";

As it says, not granting trust at this, is that the problem?
If so how to grant trust at this level too?

Any ideas/suggestions from anyone on how to get it to work under Vista?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC