我SQL
使用SQL/CLR
. sa
我可以通过但不能由公共用户调用它的方法。
错误信息是:
System.Data.SqlClient.SqlException: no permission to execute。
System.Data.SqlClient.SqlException:
in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
in System.Data.SqlClient.SqlDataReaderSmi.InternalNextResult(Boolean ignoreNonFatalMessages)
in System.Data.SqlClient.SqlDataReaderSmi.NextResult()
in System.Data.SqlClient.SqlCommand.RunExecuteReaderSmi(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
in System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
in System.Data.SqlClient.SqlCommand.ExecuteReader()
in MyAssembly.MyType.Parse(SqlString param)
如何授予公共用户调用方法的权限?谢谢!