Receiving the following error when attempting to run a CLR stored proc. Any help is much appreciated.
Msg 10314, Level 16, State 11, Line 1 An error occurred
Applied all of the above suggestion and it failed. Then I recompiled my source code with "Any CPU" option, and it worked!
This link helped: SQL Server failed to load assembly with PERMISSION