| | |
Outlook 2007 Add-in Problem in Vista
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
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 activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# cac checkbox class commonfunctions contenttype countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iframe iis javascript listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news novell opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio vs2008 web webapplications webarchitecture webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers





