Home All Groups Group Topic Archive Search About

SECURITY PROBLEMS IN VB.NET

Author
16 Nov 2006 6:55 AM
Peter
3 times I have had a blue screen while working in Visual Studio .Net. After
restarting the security setting for my project is weird....

This message appears when trying to run/debug:

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

Additional information: Begäran om behörighet av typen
System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 misslyckades."

(Translated: Request of rights of type
System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.)

It appears when the application try to access a database or open the splash
screen...
The only way to correct it I found was to create a new project and use some
cut and paste.....

Why and what can I do?

//Peter

Author
16 Nov 2006 9:36 AM
Master Programmer
Ahh, it sounds like you need to replace the motherboard and format the
hard drive

The Grand Master

Peter wrote:
Show quoteHide quote
> 3 times I have had a blue screen while working in Visual Studio .Net. After
> restarting the security setting for my project is weird....
>
> This message appears when trying to run/debug:
>
> "An unhandled exception of type 'System.Security.SecurityException' occurred
> in mscorlib.dll
>
> Additional information: Begäran om behörighet av typen
> System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089 misslyckades."
>
> (Translated: Request of rights of type
> System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.)
>
> It appears when the application try to access a database or open the splash
> screen...
> The only way to correct it I found was to create a new project and use some
> cut and paste.....
>
> Why and what can I do?
>
> //Peter