title: Crystal Reports for VS 2008 - "The user function manager DLL (ufmanager.dll) could not be found."
body: <p>StackOverflow, you're my only hope!</p>
  
  <p>I am unfortunate enough to have inherited an ASP.NET 3.5 application roughly 3/4 in development. This project uses Crystal Reports Basic for VS 2008 to generate a PDF file from a data source. Pretty straightforward.</p>
  
  <p>Anyway, this project compiles and runs fine on my development machine (VS 2008), but then when I publish it to the server (which has the CR Basic for VS 2008 Runtime installed), I get this error message when trying to export the report to PDF:</p>
  
  <pre><code>Error in File C:\WINDOWS\TEMP\Report {D3596595-5217-4888-A770-72427B29DE27}.rpt:
  The user function manager DLL (ufmanager.dll) could not be found.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  
  Exception Details: System.Runtime.InteropServices.COMException: Error in File C:\WINDOWS\TEMP\Report {D3596595-5217-4888-A770-72427B29DE27}.rpt:
  The user function manager DLL (ufmanager.dll) could not be found.
  </code></pre>
  
  <p>Unfortunately, a search on Google for the error message only turns up a handful of results, and they haven't helped.</p>
  
  <p>My server is running Windows 2003 x64 SP2. I've tried installing the Crystal Reports runtimes on the server (both the x86 and x64 editions). Strangely enough, the app doesn't detect the x64 version, so I'm using the x86 version.</p>
  
  <p>I see the file <strong>ufmanager.dll</strong> in <strong>C:\Program Files (x86)\Business Objects\Common\2.8\bin</strong>, but I don't know where my app is looking for it. I even tried sticking it in the "bin" folder of my app, but no luck.</p>
  
  <p>If any kind soul happens to have seen this error before and knows the fix, I would be <em>seriously</em> grateful.</p>