W
Wally Pipp
Hello All,
I've just inherited a PC with XP, so I loaded VS2005 on it and was running a
simple windows application when I got a SecurityException just trying to
open a file with the following message:
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
When I use the following:
FileStream fs = File.Open(@"C:\txtFiles\File2.txt", FileMode.Open );
I went to Control Panel->Administrative Tools->MS ...Framework 2.0->My
Computer->Runtime Security Policy->Increase Assembly Trust for mscorlib.dll,
but it didn't help.
Any suggestions?
Thanks,
Wally
I've just inherited a PC with XP, so I loaded VS2005 on it and was running a
simple windows application when I got a SecurityException just trying to
open a file with the following message:
Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
When I use the following:
FileStream fs = File.Open(@"C:\txtFiles\File2.txt", FileMode.Open );
I went to Control Panel->Administrative Tools->MS ...Framework 2.0->My
Computer->Runtime Security Policy->Increase Assembly Trust for mscorlib.dll,
but it didn't help.
Any suggestions?
Thanks,
Wally