all groups > visual studio .net setup > april 2005 >
You're in the

visual studio .net setup

group:

Security exception


Security exception BillZondlo
4/7/2005 11:19:03 AM
visual studio .net setup:
We just installed Visual Studio Pro.

When I started my first project, I switched the path to save to form c:
drive to out network g:. I recieved a warning that my programs might not work
correctly but took the option to ignore.
Now when I run a simple windows form with 2 buttons that show a
folderBrowserDialog, it lets me select the path from the dialog but when I
press button2 and try to select another path from the dialog for destination
files, I get an error alert box:

"An unhandled exception of type 'System.Security.SecurityException' occurred
in mscorlib.dll

Additional information: Request for the permission of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."

Is this because I am running my project on a network?

TIA

RE: Security exception BillZondlo
4/8/2005 3:57:06 AM
Sorry for any inconvenience.
I needed to adjust the security settings via admin tools.
Seems to work fine now.

Bill

[quoted text, click to view]
AddThis Social Bookmark Button