Security Exception

Discussion in 'ASP .Net' started by J.P., Jun 17, 2004.

  1. J.P.

    J.P. Guest

    Hi,
    I'm trying to consume a web service and keep getting the following error:
    [SecurityException: Request for the permission of type
    System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089 failed.]

    Any idea what might be causing this and how to work around it? Any help is
    appreciated.
    J.P., Jun 17, 2004
    #1
    1. Advertising

  2. J.P.

    Sahil Malik Guest

    Sounds like a Code Access Security issue....

    Try changing that site to FULL TRUST on your caller.

    - Sahil Malik
    Independent Consultant
    You can reach me thru my blog at -
    http://www.dotnetjunkies.com/weblog/sahilmalik/



    "J.P." <> wrote in message
    news:...
    > Hi,
    > I'm trying to consume a web service and keep getting the following error:
    > [SecurityException: Request for the permission of type
    > System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral,
    > PublicKeyToken=b77a5c561934e089 failed.]
    >
    > Any idea what might be causing this and how to work around it? Any help is
    > appreciated.
    >
    >
    >
    Sahil Malik, Jun 19, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron
    Replies:
    1
    Views:
    346
    John C. Bollinger
    Aug 4, 2003
  2. Marco
    Replies:
    1
    Views:
    2,410
    Roedy Green
    Jan 28, 2006
  3. Akram Baig
    Replies:
    0
    Views:
    326
    Akram Baig
    Apr 7, 2011
  4. Dinis Cruz

    Asp.Net Security Analyser (new security tool by DDPlus)

    Dinis Cruz, Oct 8, 2003, in forum: ASP .Net Security
    Replies:
    2
    Views:
    135
    Dinis Cruz
    Oct 11, 2003
  5. Michael Randrup
    Replies:
    3
    Views:
    298
    Henning Krause [MVP]
    Mar 27, 2006
Loading...

Share This Page