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. C#
  4. Not authorization to run a downloaded project

Not authorization to run a downloaded project

Scheduled Pinned Locked Moved C#
csharpvisual-studiosecurityquestionannouncement
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
    Mauro Vezzoli
    wrote on last edited by
    #1

    Hi, it's my first question in this site and I don't know if this one is the right forum. I've downloaded a C# project from Desktop Development -> Progress Bar called ProgressCircle written by Utezduyar. I extracted the zip file and I loaded in Visual Studio. I run... In instruction Initialize Components (the first instruction of the code) program stops and errors says "Impossible to load file or assembly 'ProgressCircle, Version=...., PublicKeyToken=....'. Impossible to warrant the authorization. (Exception HRESULT: 0x80131417). In ProgressCircle project there is a key.snk file maybe the project is protected. I have no idea. Thanks in advance, Mauro

    J 1 Reply Last reply
    0
    • M Mauro Vezzoli

      Hi, it's my first question in this site and I don't know if this one is the right forum. I've downloaded a C# project from Desktop Development -> Progress Bar called ProgressCircle written by Utezduyar. I extracted the zip file and I loaded in Visual Studio. I run... In instruction Initialize Components (the first instruction of the code) program stops and errors says "Impossible to load file or assembly 'ProgressCircle, Version=...., PublicKeyToken=....'. Impossible to warrant the authorization. (Exception HRESULT: 0x80131417). In ProgressCircle project there is a key.snk file maybe the project is protected. I have no idea. Thanks in advance, Mauro

      J Offline
      J Offline
      John Ad
      wrote on last edited by
      #2

      Hi Mauro, If it's a network share the .NET Framework has all sorts of concerns regarding security. Your best bet is to build then app locally, rather than from a share. For more information on this, please refer to the below mentioned link: http://blogs.msdn.com/shawnfa/archive/2004/12/06/276066.aspx http://forums.msdn.microsoft.com/en-US/netfxbcl/thread/8af927ca-2713-4213-94de-f8b3f2c4364e/ You may also check the Trust Level for the framework. I would suggest you to sign/strong name your assembly to run trusted over the network. Hope this helps.

      John Adams ComponentOne LLC. www.componentone.com

      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