Dear InfopathDev community, I am having trouble getting my first qRules injected form to work. I am following the tutorial at
http://www.infopathdev.com/blogs/mel_balsamo/archive/2009/12/03/copy-sharepoint-list-data-to-main-data-source.aspx
But when i get to the section on applying the copytable command, I follow the steps to configure the button to pull the data from my sharepoint list and populate the form attributes, click preview and immediately receive the following error:
System.Security.SecurityException
Request failed.
at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
at Microsoft.Office.InfoPath.MsxmlNavigator.MoveToFirstChild()
at MS.Internal.Xml.XPath.XPathChildIterator.MoveNext()
at MS.Internal.Xml.XPath.ChildrenQuery.Advance()
at MS.Internal.Xml.XPath.FilterQuery.Advance()
at MS.Internal.Xml.XPath.AttributeQuery.Advance()
at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
at System.Xml.XPath.XPathNavigator.SelectSingleNode(XPathExpression expression)
at System.Xml.XPath.XPathNavigator.SelectSingleNode(String xpath, IXmlNamespaceResolver resolver)
at Qdabra.Tools.RulesLibrary.Commands.FinishedLoading()
at Qdabra.Tools.RulesLibrary.qRulesMain.DoLoadingEvent(LoadingEventArgs e)
at Qdabra.Tools.RulesLibrary.FormCode.FormEvents_Loading(Object sender, LoadingEventArgs e)
at Microsoft.Office.InfoPath.Internal.FormEventsHost.OnLoad(DocReturnEvent pEvent)
at Microsoft.Office.Interop.InfoPath.SemiTrust._XDocumentEventSink2_SinkHelper.OnLoad(DocReturnEvent pEvent)
In case it is helpful here is the command string:
CopyTable /dsnamesrc=Tasks /tablesrc=/dfs:myFields/dfs:dataFields /rowsrc=dfs:Tasks /tabledest=/my:meetingAgenda/my:previousActionItems /rowdest=my:Tasks /empty=yes
I do have other forms on this server that don't have code in them, but work fine. I don't even know where to begin troubleshooting this - any help you can provide would be greatly appreciated.
Thanks in advance,
Kevin