I have a VS2008 project - an Office 2007 InfoPath form customization with a little code behind. I've run the publish wizard to create an msi install. It's just going to be used by fellow developers (deployment template) who have all the base components already installed (framework, VSTO runtime).
I've read all the security documentation I can find, but nothing seems particularly applicable to my situation.
When the code behind is executed on a machine where the install has run, this is the error:
System.Security.SecurityException
Request failed.
at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
at Microsoft.Office.InfoPath.MsxmlNavigator.MoveToFirstChild()
-- one of my calls
at System.Xml.XPath.XPathNavigator.MoveToChild(String localName, String namespaceURI)
-- more of my code follows
Since this is my code running, this tells my the security is unrelated to my custom .dll being loaded I would think.