I'm using the Application Initialization module for IIS 7.5 on a Windows 2008 Server for a web site that's mapped to port 8080. After setting up the warmup module, I was able to get it to trigger Application_Start()
in Global.asax
, but not any of the pages I set up as initialization pages. When I added logging in Application_BeginRequest()
, it showed that the warmup module was calling the pages on localhost:80
instead of localhost:8080
. I tried using Server.TransferRequest
but that didn't work. Response.Redirect shouldn't work since these are dummy requests and there is no client to respond to the redirect. I was also wondering how any of this mattered at all, the web application was sent the request, as evidenced by triggerring Application_BeginRequest()
, but then why didn't it proceed to render any of my pages? Logging on Application_Error()
didn't show any errors on the requests to localhost:80
pages.
Does anyone have an idea on what is causing this issue and how to fix it?