title: Configuring federated passive Relying Party for IIS 7 classic mode error (Failed to Execute URL)
body: <p>I have an ASP.Net Relying Party that uses Microsoft Identity Model and WIF for passive federated identity. The web application works fine in IIS 7 under a .Net 4 integrated pipeline application pool. But when I switch it to a .Net 4 classic pipeline application pool, it fails and gives me the following error. How can this be fixed? </p>
  
  <p><strong>Exception Details:</strong> System.Web.HttpException: Failed to Execute URL.</p>
  
  <p><strong>Stack Trace:</strong> </p>
  
  <p>[HttpException (0x80004005): Failed to Execute URL.]
     System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +4040320
     System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +590
     System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +286
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +405
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +375</p>
  
  <p><strong>Edit</strong></p>
  
  <p>This error occurs when I browse to the website without specifying a page. Example:</p>
  
  <p>1 - <em>http://www.relyingparty3.com</em> causes error </p>
  
  <p>2 - <em>http://www.relyingparty3.com/Default.aspx</em> works fine</p>