Overview:
The error message "this release of the .NET Framework does not enable CAS policy by default" occurs when a .NET application attempts to use Code Access Security (CAS), a legacy security model that is disabled by default in the .NET Framework versions 4.0 and later.
CAS policy was primarily used in older versions of the .NET Framework to control and restrict permissions for .NET code. It has been largely deprecated in favor of newer security models.
Scenario:
1. Login show error message
Solution:
2. Go to QNE Business Solution folder, in Bin folder search for winapp.exe and open with notepad. Change the loadFromRemoteSources to true
3. If doesn’t have this, copy the data between Companies put it on notepad and delete winapp.exe. After that, login QNE again system will auto generate new winapp.exe, then may paste the Companies in winapp.exe.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article