System. Exception: attempts to perform operations prohibited by the CLR host

Source: Internet
Author: User

Message 6522, level 16, status 1, process insertcurrency_string, row 0th
The. NET Framework error occurs when you execute a user-defined routine or aggregate "insertcurrency_string:
System. Exception: attempts to perform operations prohibited by the CLR host.
System. Exception:
In sqlserverclrcallnet. clrfunction. callsapfunupdatedatavb (string strfunname, listdictionary strargs, listdictionary strtableargs, listdictionary strrettabs, listdictionary & strresult)
In sqlserverclrcallnet. clrfunction. getresultsetstring (string SnO)
.

 

 

 

Message 6522, level 16, status 1, process insertcurrency_string, row 0th
The. NET Framework error occurs when you execute a user-defined routine or aggregate "insertcurrency_string:
System. Security. hostprotectionexception: attempts to perform operations prohibited by the CLR host.

Protected Resources (accessible only with full trust) are: All the protected resources (only available with full trust) were: All

Required resources: externalprocessmgmt the demanded resources were:

System. Security. hostprotectionexception:
In vblib. vbsap .. ctor (string sapsystem, string applicationserver, string client, string systemnumber)
In sqlserverclrcallnet. clrgetmara. getmara (string SnO, string & strmess)

 

Cause:

The SQL Server common language integration (CLR) program cannot be usedHostprotectionattribute(Will specifyExternalprocessmgmt,Externalthreading,Mayleakonabort,Securityinfrastructure,Selfaffectingprocessmgmnt,Selfaffectingthreading,Sharedstate,SynchronizationOrUIValueSystem. Security. permissions. hostprotectionresourceColumn operators. List of the following data tablesMicrosoft. VisualBasic. dllThe component members and type-based master machines do not have the valid HPA value.

Http://msdn.microsoft.com/zh-tw/library/ms403281 (V = SQL .100). aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.