This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi.. reading the web.config saw the "UseAppKeepAlive" key and because my site has very low use i tryed to change it.
But when changing to True, i cant start aplication, here the error msg:
[HttpException (0x80004005): Request is not available in this context] System.Web.HttpContext.get_Request() +8789264 mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) +400
[HttpException (0x80004005): Request is not available in this context] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2723014 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295 System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231
[HttpException (0x80004005): Request is not available in this context] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8890735 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
--------------------------
The platafform is Windows 2008 server, Mysql 5.0.45 and Mojo 2.3.0.7
Hello,
I had not noticed the UseKeepAlive key in the web.config. My site has the same problem of low traffic so I was experiencing a 4-5 second delay on displaying the initial home page. The delay was coming from starting up a new w3wp.exe process to host a new instance of the application pool running mojoPortal. The default application pool in IIS has a default idle timout of 20 minutes so if nobody comes in for 20 minutes the w3wp process is terminated.
I just made a new application pool to run mojoportal and set the idle timeout to 1740 minutes which is the same as the default recycling time interval.
Then my site displays in always 1-2 seconds even though it is running on a somewhat old 3.2 GHz Pentium 4 machine.
Still this UseKeepAlice setting might be useful for those running mojoPortal hosted with a service provider that does not allow access to the IIS settings.
Hi,
If you upgrade to the latest version 2.3.1.0 you should be able to use the App Keep Alive in IIS7 with integrated pipeline mode.
This issue was previously reported/discussed on this thread.
Hope it helps,
Joe