ASP.NET Security Exception

Posted by Neo1975 on Stack Overflow See other posts from Stack Overflow or by Neo1975
Published on 2009-09-29T21:53:48Z Indexed on 2010/05/11 19:04 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I moved an ASP.NET application from a XP to a new server and now I have this exception:

'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral,

On this line code:

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("it-IT");

My server is so configurated: Windows XP 2003 Sever SharePoint MS Visual Studio 2008 Team System Workgroup Server

I tried to change security setting, machine.config. Someone can help me explain me where and how to change what?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about exception

Related posts about security