[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.
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
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.
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
Re: [2005] app works localy but breaks when I run from network drive?
if i used clickonce wouldnt the app be running localy anyway?
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.
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