L
Lee
Hi All,
I am trying to simplify our form here by putting command buttons on it for
things like cancel & save.
I am getting what looks like a security error and am not understanding why.
Thanks
This line causes this error,
thisXDocument.Save();
Security error.
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Save()
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Save()
at _BaseForm._BaseForm.cmdSave_OnClick(DocActionEvent e) in
c:\development\project\forms\baseform\formcode.cs:line 49
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent
pEvent)
I am trying to simplify our form here by putting command buttons on it for
things like cancel & save.
I am getting what looks like a security error and am not understanding why.
Thanks
This line causes this error,
thisXDocument.Save();
Security error.
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Save()
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Save()
at _BaseForm._BaseForm.cmdSave_OnClick(DocActionEvent e) in
c:\development\project\forms\baseform\formcode.cs:line 49
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent
pEvent)