Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: InfoPath & WCF Service

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

InfoPath & WCF Service
Jithendrian. R 10.08.2006 12:56:01
hi

i have designed a InfoPath 2007 Form to add client details to my database..
this InfoPath form talks with a
WindowsCommunicationFoundationService(WCFService)..and i have written the
logic in a button_click event...
i am able to run the form..but after entering the details in the form and
when the button click takes place its not going into the button click
event....instead i am getting an exception message as follows

" System.Security.SecurityException
That assembly does not allow partially trusted callers.
at
System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm,
PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh,
SecurityAction action, Object demand, IPermission permThatFailed)
at ClientAddNavigator.FormCode.CTRL9_5_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) "

i don know what or where exactly the problem is.....need help regarding
this...

Thanks

Jithendrian. R

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net