Hi,
I have a ASP.NET targeted framework 4.0 application written in VB.
In the code I'm executing this line:
Today = (Month(now).tostring + "/" + Day(now).tostring)
In development this goes great. In production I receive a Security Exception.
----
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Insufficient security permissions to set the system date.
----
In the 'old' frameworks I could play around with the rights. However this is kicked out in .net framework 4.
Does anyone know how to fix this ?
...
Go to the complete details ...