System.Security.SecurityException: That assembly does not allow partially trusted callers.

Last post 09-07-2009 7:10 AM by vik20000in. 3 replies.

Sort Posts:

  • System.Security.SecurityException: That assembly does not allow partially trusted callers.

    09-07-2009, 5:27 AM
    • Member
      point Member
    • puja.faldu
    • Member since 06-18-2009, 12:02 PM
    • Posts 7

    Hi...
    I have used itextsharp.dll for exporting file type of PDF.
    It works fine on loacl server but at live server it throws error as bello...

    System.Security.SecurityException: That assembly does not allow partially trusted callers.

    Kindly help to solve this issue.

    Thanks.

    Regards,
    PUJA FALDU
     

  • Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    09-07-2009, 7:02 AM
    Answer
    • All-Star
      23,811 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Posts 4,075

    Hi,

    http://support.microsoft.com/kb/839300

    http://bloggingabout.net/blogs/rick/archive/2006/04/07/11929.aspx

    chk the above link

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    09-07-2009, 7:08 AM
    Answer
    • Contributor
      2,386 point Contributor
    • lohith.bn
    • Member since 08-03-2009, 10:14 AM
    • Bangalore
    • Posts 403

    Check these links

    http://forums.asp.net/t/1366503.aspx

    http://forums.asp.net/t/1172781.aspx

    lohith B N
    My Blog Link
    Dont forget to click "Mark as answer" on the post that helped you.
  • Re: System.Security.SecurityException: That assembly does not allow partially trusted callers.

    09-07-2009, 7:10 AM
    Answer
    • All-Star
      22,266 point All-Star
    • vik20000in
    • Member since 12-30-2005, 1:02 AM
    • Kolkata
    • Posts 3,464
    • TrustedFriends-MVPs

    I think you will have to strong name the assembly and use it from gac instead of having it in the bin folder.

    Vikram
    www.vikramlakhotia.com


    Please mark the answer if it helped you
Page 1 of 1 (4 items)