skip to main | skip to sidebar

Things I Need To Remember

Sunday, August 10, 2008

Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, ... failed (CLR Procedure)

Solution:

1) ALTER DATABASE [Database Name] SET TRUSTWORTHY ON

2) Change the Permission Set of the CLR Code to External (Visual Studio's Project Properties)
 a) Properties > Database > Permissions Level
 b) Set to external
Posted by Tomas at 1:15 AM

No comments:

Post a Comment

Newer Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
Tomas
View my complete profile

Archive

  • ►  2013 (1)
    • ►  March (1)
  • ►  2012 (1)
    • ►  February (1)
  • ►  2011 (7)
    • ►  November (2)
    • ►  October (1)
    • ►  September (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2010 (7)
    • ►  July (1)
    • ►  April (1)
    • ►  February (2)
    • ►  January (3)
  • ►  2009 (33)
    • ►  December (1)
    • ►  October (4)
    • ►  September (4)
    • ►  July (1)
    • ►  June (5)
    • ►  May (10)
    • ►  April (2)
    • ►  February (3)
    • ►  January (3)
  • ▼  2008 (21)
    • ►  December (2)
    • ►  November (3)
    • ►  October (7)
    • ►  September (5)
    • ▼  August (4)
      • Embed a hyperlink into data view web part XSLT
      • The server could not complete your request. Conta...
      • Change Contents Types Display Form
      • Request for the permission of type 'System.Data.Sq...