Why am I getting a System.Security.Permissions.SecurityPermission error in my .NET Application?
问题 I am trying to develop a text-to-speech editor in .NET 3.5 using C#. I encountered the following exception: System.Security.Permissions.SecurityPermission . How to handle it? 回答1: The system is saying that there has been an attempt to do something that is not allowed according to the current policy. More information is needed to give good advice here: 1) What is the full text of the exception message? There are a dozen or so situations that can cause a SecurityPermission so this is important.