title: ASP .NET + IIS + Crystal Reports + Load report failed
body: <p>I am developping a web application by using the ASP .NET MVC 3 framework.<br>
  I have implemented an ASPX page containing a CrystalReportViewer control.</p>
  
  <p>I instantiate a ReportDocument object in my Page_Load event method of my ASPX page.<br>
  Then I load a RPT file by using the Load method of my ReportDocument.</p>
  
  <p>My RPT is correctly loaded when I use the VS2010 development web server and I can view it through my viewer.<br>
  But the call to the Load method of my ReportDocument raises an exception when I use my IIS 5.1 local web server.</p>
  
  <p>Here are some information about the exception :</p>
  
  <ul>
  <li>Exception Type : CrystalReportsException</li>
  <li>Message : Load report failed</li>
  <li><p>StackTrace :</p>
  
  <p>à CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()<br>
  à CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)<br>
  à CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)<br>
  à ASP.aspnetforms_editionresultats_aspx.Page_Load(Object sender, EventArgs e) dans .aspx:ligne 43<br>
  à System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)<br>
  à System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)<br>
  à System.Web.UI.Control.OnLoad(EventArgs e)<br>
  à System.Web.UI.Control.LoadRecursive()<br>
  à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</p></li>
  </ul>
  
  <p>Does someone know why the exception is raised when I use IIS ?</p>