This article explains troubleshooting the installation of Templafy VSTO Add-ins.
Prerequisites
|
Overview
After installing the Templafy VSTO Add-ins, you might see the below pop-up when opening an Office product.
Please click Details>> and see if your error matches one of the following snippets.
NoteThe important messages are underlined underneath the ** Exception Text ** below. |
Missing prerequisites on the PC
Error message:
************** Exception Text **************
System.Deployment.Application.InvalidDeploymentException: Exception reading manifest from file:///C:/Documents%20and%20Settings/All%20Users/Application%20Data/Templafy/Templafy%20PowerPoint%20Add-in/Templafy.TemplateSystem.PowerPointAdd-in.vsto: the manifest may not be valid or the file could not be opened. ---> System.Deployment.Application.InvalidDeploymentException: Manifest XML signature is not valid. ---> System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied.
at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key)
at System.Security.Cryptography.Xml.SignedXml.CheckSignature(AsymmetricAlgorithm key)
at System.Security.Cryptography.Xml.SignedXml.CheckSignatureReturningKey(AsymmetricAlgorithm& signingKey)
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
--- End of inner exception stack trace ---
Resolution:
Check that the Templafy prerequisites are installed on the PC.
Add-in is blocked by Windows
Error message:
************** Exception Text **************
Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException: Customization does not have the permissions required to create an application domain. ---> System.Security.SecurityException: Customized functionality in this application will not work because the administrator has listed file:///C:/Documents and Settings/All Users/Application Data/Templafy/Templafy PowerPoint Add-in/Templafy.TemplateSystem.PowerPointAdd-in.vsto as untrusted. Contact your administrator for further assistance.
at Microsoft.VisualStudio.Tools.Office.Runtime.RuntimeUtilities.VerifySolutionUri(Uri uri)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.GetAssemblyDataFromManifests(String solutionLocation, String manifestLocator, String documentName, Boolean showUIDuringDeployment, CustomizationType customizationType, OfficeVersion officeVersion, IHostServiceProvider interopServiceProvider)
at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, Boolean useFastPath, IntPtr& executor)
--- End of inner exception stack trace ---
Resolution:
- Right-click on the downloaded .zip/.exe file.
- Click Properties.
- Choose Unblock (under the General tab).
- Un-Pack the .zip file.
- Re-Install the solution.
Comments
Article is closed for comments.