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. General Programming
  3. Visual Basic
  4. System.Security.SecurityException

System.Security.SecurityException

Scheduled Pinned Locked Moved Visual Basic
sysadminsecurityhelp
2 Posts 2 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.
  • M Offline
    M Offline
    mshola
    wrote on last edited by
    #1

    I have an application which works fine on my home computer, however when I try to run the same application over the network on the computer in the office I get an error An unhandled exception of type system.security.securityexception occurred in MSOTest001.exe Addtional information:System.Security.Permissions.SecurityPermission This error is driving me nuts...I hope there is someone who can advise me as of what to do. Thanks Regards Mohammed

    N 1 Reply Last reply
    0
    • M mshola

      I have an application which works fine on my home computer, however when I try to run the same application over the network on the computer in the office I get an error An unhandled exception of type system.security.securityexception occurred in MSOTest001.exe Addtional information:System.Security.Permissions.SecurityPermission This error is driving me nuts...I hope there is someone who can advise me as of what to do. Thanks Regards Mohammed

      N Offline
      N Offline
      Nathan Blomquist
      wrote on last edited by
      #2

      Hello, Does your test app access the file system or anything else like that? Running an app from a network share is a security risk. So .NET sandboxes the app and doesn't let it do certain things. If you try copying the application to the harddrive, does it still cause the security exception? To fix the problem of sandboxing you will need to grant the application permissions to run from the network. Hope this helps, Nathan --------------------------- Hmmm... what's a signature?

      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