Hi Charts,
Thanks for your feedback.
Yes, this issue is really strange, when you are lauching the application in
local disk with admin account, your application should have full trust CAS
in .Net.
Ok, let's first give a evaluation to your assembly. You can open ".Net
Configuration 1.1" tool from "Administrative tools" in Control Panel. Click
"Runtime Security Policy" node the left panel. Then click "Evaluate
Assembly" link in the right panel.
In the popup dialog, input your assembly path, and click next to evaluate
your assembly permission set. Normally, it should be Unrestricted.
I original suspected that this may caused by Windows NTFS DACL permission,
however, as you said, you can delete this directory manually without any
problem, I just assume that you did not do impersonation in this console
application and it runs under your current login accout. So the NTFS should
not be a problem....
Thanks
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.