InfoPath

L

LSA_Wlainc

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!!

Bill Fringer
 
B

Bob Buckland ?:-\)

Hi Bill,

You may also want to post this in the MS Office Infopath newsgroup.
Link below.

=======
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!!

Bill Fringer>>
--
LLet us know if this has helped you,

Bob Buckland ?:)
MS Office System Products MVP
*courtesy is not expensive and can pay big dividends8

A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.infopath
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.infopath

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top