.net app from shared folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jawallaby

    #1

    .net app from shared folder

    We have created a .net app that runs properly from a local dir (C:\AppFolder)
    but crashes when run from a network drive (R:\AppFolder).

    Can someone tell me what the scoop is with that?


  • Norman Yuan

    #2
    Re: .net app from shared folder

    You need to give some sort of trust to code from outside of the running
    computer. In .NET all code from outside running computer is considered
    unsafe be default. Go to "Control panel"->"Administrativ e Tools"->"MS .NET
    1.0<1.1> Configuration" to set proper trust level to that network share will
    solve this easily.

    "Jawallaby" <Jawallaby@disc ussions.microso ft.com> wrote in message
    news:68A60FD3-8929-4955-B888-808DC043CDB8@mi crosoft.com...[color=blue]
    > We have created a .net app that runs properly from a local dir
    > (C:\AppFolder)
    > but crashes when run from a network drive (R:\AppFolder).
    >
    > Can someone tell me what the scoop is with that?
    >
    >[/color]


    Comment

    • Eric Moreau

      #3
      Re: .net app from shared folder

      You need to adjust the security.

      Open the Control Panel
      Open Administrative tools
      Open Microsoft .Net Framework 1.1 Wizards
      Click Adjust .Net Security
      click Next
      Select Local Intranet
      Change the level of trust to Full
      click next
      click Finish

      --


      HTH

      Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
      (http://aspnet2.com/mvp.ashx?EricMoreau)
      Conseiller Principal / Senior Consultant
      Concept S2i inc. (www.s2i.com)

      "Jawallaby" <Jawallaby@disc ussions.microso ft.com> wrote in message
      news:68A60FD3-8929-4955-B888-808DC043CDB8@mi crosoft.com...[color=blue]
      > We have created a .net app that runs properly from a local dir
      > (C:\AppFolder)
      > but crashes when run from a network drive (R:\AppFolder).
      >
      > Can someone tell me what the scoop is with that?
      >
      >[/color]


      Comment

      Working...