| | |
Outlook 2007 Add-in Problem in Vista
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2008
Posts: 4
Reputation:
Solved Threads: 0
[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?
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?
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: LINQ insert method problem, .NET 3.5, VS2008, LINQ
- Next Thread: Parameter Passing with Link Buttons
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions compatible content contenttype control countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formview gridview gudi iis javascript list listbox login menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice wizard xsl





