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. Big Problem

Big Problem

Scheduled Pinned Locked Moved ASP.NET
sysadminhostingsecurityhelpworkspace
3 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.
  • R Offline
    R Offline
    R Palanivel
    wrote on last edited by
    #1

    Hi I have ZipUtility dll which is for making ZIP archive files.this is working fine in local machine.But if i referring this dll file in online(Hosting server) im getting the following Exception Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: System.Security.Permissions.SecurityPermission Advise me Regards R.Palanivel

    r_palanivel83 10:01 4 Jan '06

    S B 2 Replies Last reply
    0
    • R R Palanivel

      Hi I have ZipUtility dll which is for making ZIP archive files.this is working fine in local machine.But if i referring this dll file in online(Hosting server) im getting the following Exception Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: System.Security.Permissions.SecurityPermission Advise me Regards R.Palanivel

      r_palanivel83 10:01 4 Jan '06

      S Offline
      S Offline
      Sam Heller
      wrote on last edited by
      #2

      If the zip utility is trying to save files to the web server then it needs to have the correct permissions. This may be something your provider can do for you but they may not do it. On your local machine you most probably have the permission set up to allow this write.

      1 Reply Last reply
      0
      • R R Palanivel

        Hi I have ZipUtility dll which is for making ZIP archive files.this is working fine in local machine.But if i referring this dll file in online(Hosting server) im getting the following Exception Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: System.Security.Permissions.SecurityPermission Advise me Regards R.Palanivel

        r_palanivel83 10:01 4 Jan '06

        B Offline
        B Offline
        badgrs
        wrote on last edited by
        #3

        Sounds like the DLL needs to run in Full Trust Mode, most hosting companies only allow Partial trust mode. You can ask them to change this but don't bet on it.

        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