I am having a problem getting permission to run any kind of bindings in the config file. I have a assembly that consumes a local WCF resource. The config file and error are below. It looks like some kind of permission error. The dbo has external access, trustworthy is on. All assembles required are unsafe. The function is being executed as dbo. I have spent hours and hours looking through posts about this error and have came up empty. The config was made by VS2015<?xml version="1.0" encoding="utf-8" ?>
A .NET Framework error occurred during execution of user-defined routine or aggregate "test":
System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.serviceModel/bindings: Request failed. (c:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Binn\sqlservr.exe.Config line 4) ---> System.Security.SecurityException: Request failed.