A
Alex Irazabal
I am using managed code on a form that wants to access the DOM object based on the thisXDocument object created in _Startup by the Infopath wizard when the C# project was created. When I try to publish the form I get the following error:
C:\Documents and Settings\alex\My Documents\Visual Studio Projects\addresssort\FormCode.cs(82): 'Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument2.GetDOM(string)' denotes a 'method' which is not valid in the given context
What does that mean? I gave the form full trust and signed...
Along those lines, is there a way to debug in full trust mode? I want to be able to write a file but am forced to publish the form and then run it to see the output. Suggestions???
Thanks,
Alex
C:\Documents and Settings\alex\My Documents\Visual Studio Projects\addresssort\FormCode.cs(82): 'Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument2.GetDOM(string)' denotes a 'method' which is not valid in the given context
What does that mean? I gave the form full trust and signed...
Along those lines, is there a way to debug in full trust mode? I want to be able to write a file but am forced to publish the form and then run it to see the output. Suggestions???
Thanks,
Alex