Windows Vista Beta | WinVistaBeta.com - Message | Request for the permission of type 'System.Security.Permissions.Fi

September 07, 2008  
Subject: Request for the permission of type 'System.Security.Permissions.Fi
Group: microsoft.public.windows.developer.winfx.general
Date: 7/31/2007 1:00:01 PM
From: =?Utf-8?B?RFZNUFg=?= [Email Address Protection]

I've been trying to run XAML browser applications on the C drive using visual
studio 2005, but I receive the error
System.Security.SecurityException: Request for the permission of type
'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I have tried setting the trust level to full in the application
configuration file, and adding;

[assembly:FileIOPermission(SecurityAction.RequestMinimum, Unrestricted =
true)]

[assembly: PermissionSetAttribute(SecurityAction.RequestMinimum, Name =
"FullTrust")]

to the AssemblyInfo.cs file. I have also set intranet trust to full under
the .Net configuration tool.

Can anyone help me fix this error?
Thanks.

Back