Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. System.Security.SecurityException: That assembly does not allow partially trusted callers.

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

Scheduled Pinned Locked Moved ASP.NET
helpsysadminsecurity
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pujafaldu
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • P pujafaldu

      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

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      I cant see any way around this other than getting the host to trust my assemblies or you allow partially trusted assemblies in your assemblyinfo

      Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      P 1 Reply Last reply
      0
      • M Manas Bhardwaj

        I cant see any way around this other than getting the host to trust my assemblies or you allow partially trusted assemblies in your assemblyinfo

        Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

        P Offline
        P Offline
        pujafaldu
        wrote on last edited by
        #3

        hi.. Thanks for relpy.. But how can i allow partially trusted assemblies in my assemblyinfo ???

        E 1 Reply Last reply
        0
        • P pujafaldu

          hi.. Thanks for relpy.. But how can i allow partially trusted assemblies in my assemblyinfo ???

          E Offline
          E Offline
          Elayaraja Sambasivam
          wrote on last edited by
          #4

          You can't doit from your assembly. that should should be done in the hosted assambly.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups