hi,
I am having the same problem, while running the code given below
string xpath = "/my:myFields/my:group8/my:Name";
XPathNavigator field = MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager);
field.SetValue("Ram");
I get the following error
Request failed.
at Microsoft.Office.InfoPath.MsxmlNavigator.IsValidNode(MsxmlNode test)
i have checked the name in the xml file also. everything is correct.
Can any one help to solve this issue
Thanks,