System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for Test AddIn or its location is not trusted. Contact your administrator for further assis
-
Tuesday, September 28, 2010 3:27 AM
Hi All,
I creat a outllook add-in using VS2010(VSTO). And publish a setup exe in my local drive. It can install successflly and works well if I put all setup files in my local drive. But I share my installation to other people. They cannot install and show the following
System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for Test AddIn or its location is not trusted. Contact your administrator for further assistance.
Do you know the reason? Should I install the setup exe deploy by Click Once form a share network location?
Weipeng
All Replies
-
Wednesday, September 29, 2010 8:32 AMModerator
Hi Weipeng,
Here is a link about the cause of the error:
Click Once Install problem.
http://social.msdn.microsoft.com/forums/en-US/vsto/thread/e8eb1540-a3c6-4987-9d89-909990e117d7
Also:
Deployment Problem
http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/f3ca32c2-8737-4df5-9007-8d8ed18cb905
Please check to see if it will solve the problem. Any further questions, please feel free to contact. Thank you!
Best Regards,
Amy Li
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Thursday, September 30, 2010 11:37 PMModerator
Weipeng,
it sounds like the ClickOnce trust prompt is disabled. in most cases, this is because your network drive is considered to be in the Internet zone, not the Intranet zone, so this exception message is appearing. can you try telling your customers to copy the entire installation folder to the local computer, and then running the install?
if you like, you can change the trust prompt settings to not require an Authenticode certificate when installing from the Internet zone, but this probably isn't a good idea. as an alternative, you can either define your network drive to be in the Intranet or TrustedSites zones. see http://msdn.microsoft.com/en-us/library/bb772070.aspx
m.
- Marked As Answer by Bessie ZhaoModerator Tuesday, October 05, 2010 5:47 AM

