在这种情况下,我们需要SQL中的公钥令牌权限 [英] In which case we required public key token permission in SQL
本文介绍了在这种情况下,我们需要SQL中的公钥令牌权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I have Created a Sql CLR Project to Read the files.
When I execute the stored procedure with a file path as input parameter its showing error
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
What is the reason behind this error and how to solve it.
推荐答案
根据这个
"Permissions.FileIOPermission"
我想你必须给执行用户在该位置写入的权限。
只需将您的TRUST级别设置为FULL。
i guess you have to give your executing user permission to write on the location.
Just set your TRUST Level to FULL.
这篇关于在这种情况下,我们需要SQL中的公钥令牌权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文