Oct 10, 2019 03:25 AM|Yongqing Yu|LINK
According to your error message, I recommend that you can choose 'This is a full trust application' option.
You can refer to these links:
Request for the permission of type 'System.Security.Permissions.SecurityPermission'
Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=184.108.40.206