Copying files from 1 UNC path to another permission issue

  • Thread starter Thread starter jinh
  • Start date Start date
J

jinh

Hi all,

I'm new to C# & Microsoft VS 2008.
I created a simple Windows Form Application which allow the user to click on
a button to copy 1 file or folder from 1 UNC path to another.
When I tested it in my development computer, it works great.
But when I copy the *.exe file to a test computer, I got this error:
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

What am I doing wrong?
Your advice & suggestion would be so much appreciated!

Thank you very much in advance!
 
Development machine = XP, deployed machine = Vista?

or maybe

Developer = machine admin, deployed user != admin?
 
Back
Top