Re: Request for the permission of type System.Net.WebPermission ... failed
From: Nick Malik (nickmalik_at_hotmail.nospam.com)
Date: 09/09/04
- Next message: Nick Malik: "Re: can a .NET app get access to a shared doc in SPS?"
- Previous message: Radek: "Can I get value from list"
- In reply to: zafrir: "Request for the permission of type System.Net.WebPermission ... failed"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 09 Sep 2004 10:38:17 GMT
your event handler needs to impersonate an account and needs to use
AllowPartiallyTrustedCallers in order to overcome the fact that objects
running under sharepoint are not trusted.
--- Nick
See the Document Library Event Handler Toolkit for excellent packaged code
to get you going...
http://download.microsoft.com/download/9/e/5/9e5a6158-8942-4ed4-9bb6-0d33df627a3b/EventHandlerToolkit.EXE
"zafrir" <zaflap@hotmail.com> wrote in message
news:786c64f3.0409080433.7cc19036@posting.google.com...
> Hello,
>
> I have a InfoPath form deployed on Sharepoint.
>
> in the code behind event written in c# i'm trying to access WebService
> on the same server. i get the following error:
>
> Request for the permission of type System.Net.WebPermission ... has
> failed?
>
> does any one has a clue?
>
> i saw zeynep published messages regarding this problem, but he did not
> write wether the prolbem was solved.
>
> Thanks
- Next message: Nick Malik: "Re: can a .NET app get access to a shared doc in SPS?"
- Previous message: Radek: "Can I get value from list"
- In reply to: zafrir: "Request for the permission of type System.Net.WebPermission ... failed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|