I have this strange exception:

An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll

Additional information: Access to the path "H:\Verktygsförråd\UT\2678859.txt" is denied.


When I am trying to do:

File.Delete(fiFiles[i].FullName);

I can delete the file when using any filemanager, but when I am trying to delete it from my program I get this. Any security settings I have missed? We are using Novell Clients+network


kind regards
Henrik