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. .NET (Core and Framework)
  4. Project location is not fully trusted

Project location is not fully trusted

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpcsharpdotnetsysadminsecurity
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.
  • H Offline
    H Offline
    hemrk
    wrote on last edited by
    #1

    Actually i am devloping one windows application. it is on my network drive. its running on my PC. but when i try to run my exe from different machine from the same folder , it gives me error security exception. i try to open my project on othe pc, it gives me error that project location is not fully trusted. and when i am giving trust to my application exe from .net framework configuration tool it gives me error that hash for this assembly can not be generated. pls. reply as soon as possible.. i am just stuck Hemaxi

    E 1 Reply Last reply
    0
    • H hemrk

      Actually i am devloping one windows application. it is on my network drive. its running on my PC. but when i try to run my exe from different machine from the same folder , it gives me error security exception. i try to open my project on othe pc, it gives me error that project location is not fully trusted. and when i am giving trust to my application exe from .net framework configuration tool it gives me error that hash for this assembly can not be generated. pls. reply as soon as possible.. i am just stuck Hemaxi

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      The runtime doesn't trust the location you're running it from, because your developing it on your machine VS has probably set all the required permissions.  To run it from another PC you need to goto: Control Panel -> Administrative Tools -> Microsoft .NET [version (e.g. 2.0)] Configuration.  Inside the configuration pane select "Runtime Security Policy" -> Increase Assembly Trust, a wizard will popup and guide you through the steps required to allow that program to run from the network (note this can be configured on an app by app basis or for the entire machine).


      You know you're a Land Rover owner when the best route from point A to point B is through the mud. Ed

      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