Results 1 to 3 of 3

Thread: Running .NET app from network disk

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Location
    Bergen, Norway
    Posts
    12

    Running .NET app from network disk

    When I try to run my .NET application from a network disk I get an exception: 'System.Security.SecurityException'. When I copy the application to my local disk, it starts normally. Why could this be?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Its a security exception as it says. The framework has its own form of security and to avoid trouble with it by default it wont run assemblies that aren't local or from a trusted site. You need to go into the .NET framework security settings for any computer that has to access the remote assembly and tell it to trust that location then it will work. The .NEt framework security settings are usually in the control panel or admin tools.

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Location
    Bergen, Norway
    Posts
    12
    Thanks, it worked.

    Is it possible to alter these security-settings with an msi-installation?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width