I have developed a data entry form using InfoPath version 2003. I have
merged business logic using Visual Studio 6.0 with the form that pulls data
from our SQL server. When I am on my development server the application runs
fine; however, when I open the form from a workstation and attempt to
retrieve or send data to my SQL server, I receive the following error:
System.Security.Permissions.SecurityPermission
at App2565.App2565.GetAccntVal(String var) in
\\Lsasgm01\goldmine\BaseInfoPathCode\2565\App2565\App2565\FormCode.vb:line 114
at App2565.App2565.CTRL156_4_OnClick(DocActionEvent e) in
\\Lsasgm01\goldmine\BaseInfoPathCode\2565\App2565\App2565\FormCode.vb:line 190
at
Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)
When I open the form on the workstation, which does have InfoPath & the VB
6.0 runtime files installed, I receive the following message:
"Visual Studio must be used to add business logic to this form. "
Can anyone help me understand what I need to install or do to resolve this
issue. I am majorily under the gun to get a solution rolled out by close of
business tomorrow.
Thanks!!
Franck Dauché - 01 Nov 2005 20:51 GMT
Hi,
InfoPath supports scripting (VBScript or JScript) or Managed Code (C# or
VB.Net) from Visual Studio. Net 2003 after you install the toolkit to bridge
IP to VS:
http://www.microsoft.com/downloads/details.aspx?familyid=7E9EBC57-E115-4CAC-9986
-A712E22879BB&displaylang=en
Regards,
Franck Dauché
> I have developed a data entry form using InfoPath version 2003. I have
> merged business logic using Visual Studio 6.0 with the form that pulls data
[quoted text clipped - 20 lines]
>
> Thanks!!