|
-
Apr 3rd, 2008, 09:38 PM
#1
Thread Starter
Fanatic Member
[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.
-
Apr 3rd, 2008, 09:41 PM
#2
Thread Starter
Fanatic Member
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
-
Apr 3rd, 2008, 11:18 PM
#3
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.
-
Apr 3rd, 2008, 11:21 PM
#4
Frenzied Member
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
-
Apr 3rd, 2008, 11:40 PM
#5
Thread Starter
Fanatic Member
Re: [2005] app works localy but breaks when I run from network drive?
if i used clickonce wouldnt the app be running localy anyway?
-
Apr 3rd, 2008, 11:41 PM
#6
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.
-
Apr 3rd, 2008, 11:46 PM
#7
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|