title: SSRS problem getting ASP.NET session has expired
body: <p>when viewing the report in report viewer we get the following error ASP.NET session has expired </p>
  
  <p>we use .NET 2005 ssrs 2005</p>
  
  <p>well we have a report developed and hosted on SSRS server which is same as application server for ASPX applications</p>
  
  <p>in our web application the default.aspx have a report viewer that shows the report </p>
  
  <p>deployed on test server where the link to the application is <a href="http://testserver/appname" rel="nofollow">http://testserver/appname</a>
  and report server link is <a href="http://testserver/reportserver" rel="nofollow">http://testserver/reportserver</a> </p>
  
  <p>every thing is working fine</p>
  
  <p>in production server</p>
  
  <p>we have different sitename for the application which is <a href="http://applicationname" rel="nofollow">http://applicationname</a>
  in production each application is defferent site</p>
  
  <p>so here we have <a href="http://applicationname" rel="nofollow">http://applicationname</a>  for the webapplication
  and <a href="http://servername/reportserver" rel="nofollow">http://servername/reportserver</a> for the report</p>
  
  <p>here the report viewer is not showing the report but giving the following error </p>
  
  <p>ASP.NET session has expired </p>
  
  <p>AspNetSessionExpiredException: ASP.NET session has expired]
     Microsoft.Reporting.WebForms.ReportDataOperation..ctor() +866
     Microsoft.Reporting.WebForms.HttpHandler.GetHandler() +719
     Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context) +15
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +638
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +177</p>
  
  <p>can i get some help please</p>
  
  <p><strong>update :</strong>
  tested it on the production as <a href="http://productionserver/applicationname" rel="nofollow">http://productionserver/applicationname</a> 
  it is working fine (thats when i put the application as a virtual directory under the default site)
  but when i put the application as saperate site <a href="http://applicationname" rel="nofollow">http://applicationname</a> on the same server i get the error ?!!!</p>