title: Using quartz.net on medium trust hosting
body: <p>I need scheduling functionality on my .NET MVC website and I came across Quartz.net library which can do exactly what I need. </p>
  
  <p>The problem is I'm running my site on a hosting (GoDaddy) and when I added <code>Quartz.net 2.0.1</code> to my project I've got <code>"that assembly does not allow partially trusted callers"</code> exception. After some research I found out that many people have the same problem and some solved it by removing Common.Logging library from Quartz.net.</p>
  
  <p>I followed some of the advice and removed all references to Common.Logging but I still have problems. It looks like it's not enough and now I'm getting <code>Inheritance security rules violated while overriding member</code> exception, more details:</p>
  
  <pre><code>Inheritance security rules violated while overriding member: 
  Quartz.Util.DirtyFlagMap`2&lt;TKey,TValue&gt;.GetObjectData
  (System.Runtime.Serialization.SerializationInfo, 
  System.Runtime.Serialization.StreamingContext)'.
  Security accessibility of the overriding method must match the 
  security accessibility of the method being overriden.
  </code></pre>
  
  <p>It looks like I really need to change something in Quartz.net to make it work.</p>
  
  <p>Has anyone run Quartz.net on medium trust? If so what needs to be done? May be someone can suggest some alternatives?</p>