从networkingpathCannotCreateCustomizationDomainException运行VSTO应用程序时出错

环境:VS2008 .NET 3.5 – VSTO运行时3.0 – Excel 2007

我们已经发布了VSTO Excel文档级别定制到networkingpath。 我们的所有用户都可以将.xltm文件从networking位置复制到桌面(所有程序集仍在networkingpath中),并且可以在打开文件时运行自定义设置。 当文件被打开时,它要求安装和用户安装并继续。 它工作正常。 但是,所有这些用户都是他们机器的pipe理员。 但是,有一个特例。 其中一个用户正在使用服务器机器来使用这些自定义设置,而且他不是该机器上的pipe理员。 当他试图打开.xltm文件时,他正在出错

Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException: This document contains custom code that cannot be loaded because the location is not in your trusted locations list: XXXX.XLTM. If you trust this document you can save and open it from a location on your computer. For more information, see http://go.microsoft.com/fwlink/?LinkId=99104. at Microsoft.VisualStudio.Tools.Office.Runtime.RuntimeUtilities.VerifyDocumentIsTrusted(String documentFullLocation, String documentName, OfficeVersion officeVersion) at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuri 

我们将\ networkpath和子文件夹添加到Excel受信任的位置,启用了所有的macros。 但是,他仍然得到了错误。 我还在IE中将file://networkpath添加到可信站点。 仍然没有运气。 他仍然得到错误。