title: published website w/ Crystal Reports not running on server IIS 7.5
body: <p>I have 2 visual studio 2010 projects that use Crystal reports ver 13.02 differently.  </p>
  
  <p>1 works and the other is getting an <code>object reference not set to an instance of an object</code> error. </p>
  
  <p>The first app, I developed from the ground up as a web application, that uses several existing crystal reports and are working using the crystal reports viewer. Its is a web application project using <code>asp.net 4.0 framework</code> in <code>c#</code>. </p>
  
  <p>The other project was an older VB website project that I upgraded from <code>.net 2.0</code> to <code>4.0</code> and was working fine until I had to upgrade it to 13.02. This project does not use the viewer but only prints the data to the report. On my development laptop under visual studio it runs and prints fine, but not when published to both my laptop's <code>IIS 7.5</code> and the server's <code>IIS 7.5</code>.</p>
  
  <p>I get this error and have exhausted every possible option. It can't be the driver as the web applications project works fine on both my machine and the server. I'm suspicious that I will be forced to convert the project to a web applications project before an answer is found... but would prefer to find an answer to resolve it as it is. </p>
  
  <p><strong>Update</strong>
  After further debugging I have discovered that the problem is the PrintToPrinter method that, again, works fine in development mode, but not when published.</p>