![]() |
| ||
| Outlook 2007 Add-in Problem in Vista [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? |
| All times are GMT -4. The time now is 10:41 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC