title: Cannot add a SQLCLR assembly to database, Msg 300
body: <p>I'm having trouble adding a SQLCLR assembly into a database, but a coworker of mine has no problem.  Although we do have different levels of access, we can't figure out why I'm getting the error message that I'm getting.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>USE [mydatabase]
  GO
  
  CREATE ASSEMBLY [My.Assembly]
  AUTHORIZATION [dbo]
  FROM 'C:\Program Files\MyStuff\My.Assembly.dll'
  WITH PERMISSION_SET = UNSAFE
  GO
  </code></pre>
  
  <p>And here's my error:</p>
  
  <blockquote>
    <p>Msg 300, Level 14, State 1, Line 3<br>
    UNSAFE ASSEMBLY permission was denied on object 'server', database 'master'.</p>
  </blockquote>
  
  <p>Thoughts?</p>