 <p>Have you set your DB set to Trusrtworth ON and enabled clr?</p> <p>Try this</p> <pre><code>sp_configure 'clr enabled', 1 GO RECONFIGURE GO ALTER DATABASE [YourDatabase] SET TRUSTWORTHY ON GO </code></pre> <p>I have a guide <a href="http://anyrest.wordpress.com/2010/09/06/execute-stored-procedures-in-parallel/" rel="nofollow">here</a> on how to use CLR Stored Procedures that might help.</p>