Results 1 to 7 of 7

Thread: [2005] app works localy but breaks when I run from network drive?

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    [2005] app works localy but breaks when I run from network drive?

    Hi all

    If i try to run my app from my desktop no problems

    If i try to run it from a network drive //data/.net/app.exe it gives me lots of errors and cant find pictures for pictureboxes that exist in the same directory as the app itself.

    im pretty sure its a permission issue but im not sure where to even start looking for answers on this.

    Thanks

    Robert.

  2. #2

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: [2005] app works localy but breaks when I run from network drive?

    request for permission of type 'system.security.permissions.fileiopermission, mscorlib, version=2.0.0.0, culture=neutral,publickkeytoken=blabblabblab failed


    I'm googleing this now but if you have any ideas please chime in

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: [2005] app works localy but breaks when I run from network drive?

    .NET has its own security and by default it doesn't trust items not on the local system. You need to adjust the .NET security settings of the machines using it on the share with the Security Wizard thing or using caspol. You should be able to find info on it here on the forums.

  4. #4
    Frenzied Member Icyculyr's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    1,934

    Re: [2005] app works localy but breaks when I run from network drive?

    If this application is deployed via ClickOnce, I have seen before, security settings for the ClickOnce applications

    They're found under Project -> Project Properties -> Security

    Cheers

  5. #5

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: [2005] app works localy but breaks when I run from network drive?

    if i used clickonce wouldnt the app be running localy anyway?

  6. #6
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339

    Re: [2005] app works localy but breaks when I run from network drive?

    If it is deployed via Click Once then it will run locally and not from a network drive.

  7. #7
    Frenzied Member Icyculyr's Avatar
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    1,934

    Re: [2005] app works localy but breaks when I run from network drive?

    Can't you run a ClickOnce app from a network drive?

    hmm, I guess not..

    Cheers

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