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