FileLoadException / Msg 10314 Error Running CLR Stored Procedure

后端 未结 5 681
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 09:56

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         


        
5条回答
  •  [愿得一人]
    2020-12-08 10:25

    Does your assembly do file I/O? If so, you must grant the assembly permission to do this. In SSMS:

    1. Expand "Databases"
    2. Expand the node for your database
    3. Expand "Programmability"
    4. Expand "Assemblies"
    5. Right-click your assembly, choose Properties
    6. On the "General" page, change "Permission set" to "External access"

提交回复
热议问题