I am getting the following error when I click on my 'Submit' button that is connecting to an external SQL server. Any ideas?
System.Security.SecurityException
That assembly does not allow partially trusted callers.
at SP_2010_QC_Submit.FormCode.bntSubmit_Clicked(Object sender, ClickedEventArgs e)
at Microsoft.Office.InfoPath.Internal.ButtonEventHost.OnButtonClick(DocActionEvent pEvent)
at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)