Re: Security Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I guess it could be a "The request failed with HTTP status 401:
Unauthorized" Error
Maybe try giving it a System.Net.CredentialCache.DefaultCredentials.
Patrick


"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:ufx1S1rrFHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
> Hello.
>
> I use a web service that I created through a custom control on a windows
> form and it works fine.
> However, if usethis control through a webform , i get an security error
> when i call the web service
> aying:
>
> "The application attempted to perform an operation not
> allowed by the security policy. The operation required the
> SecurityException. To grant this application the required
> permission please contact your system administrator, or
> use the Microsoft .NET security policy administration tool.
>
> Request for the permission of type
> System,Net.WebPermission..."
>
> What can i do?
> I don't know how to explicitly trust the assembly.
>
> Thanks
>
>
>
>
>


.



Relevant Pages

  • Security Problem
    ... I use a web service that I created through a custom control on a windows ... use the Microsoft .NET security policy administration tool. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Modifying Secuirty Policy
    ... try to run it from server it gives me a security exception. ... security policy, ... or use the Microsoft .NET security policy administration tool ... Request for the permission of type ...
    (microsoft.public.dotnet.security)
  • Re: [TOMOYO 15/15] LSM expansion for TOMOYO Linux.
    ... This approach doesn't mess up user-supplied buffer. ... a file descriptor said "read ready" but readgets an error ... if security policy or security-id of the file has changed ... I think checking permission at dequeue time ) ...
    (Linux-Kernel)
  • Re: please help with file access and security issues
    ... If that is not the case try resetting the security policy ... > this application the required permission please contact your system ... So I sent him a little app to try and ... > Naturally the message box showed the second message about trying ...
    (microsoft.public.dotnet.security)
  • Newbie help with VB.NET 2003
    ... or use the Microsoft .NET security policy administration tool ... If you click Quit, the application will be shut down immediately ... Cannot create ActiveX Component." ...
    (microsoft.public.dotnet.languages.vb)