KeepAlive error

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.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
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.
This thread is closed to new posts. You must sign in to post in the forums.
8/28/2008 7:58:03 AM
md
Gravatar
Total Posts 2

KeepAlive error

Error in logfile:

I want to use the keepalive function, setting webconfig is TRUE.
This page keepalive.aspx doesn't exists in the solution, sessionkeepalive.aspx is the page name.

2008-08-27 19:07:14,324 [2436] ERROR mojoPortal.Web.Global [(null)] - 204.9.77.119-en-US - /keepalive.aspx
System.Web.HttpException: The file '/keepalive.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

8/28/2008 8:11:51 AM
Gravatar
Total Posts 18439

Re: KeepAlive error

Hi,

I don't know where the request for keepalive.aspx would be coming from, the keepalive task doesn't call it as far as I know.

If you look in global.asax.cs Application_Start is where this task is queued, and its configured to call the site root not keepalive.aspx

if (WebConfigSettings.UseAppKeepAlive)
{
AppKeepAliveTask keepAlive = new AppKeepAliveTask();
keepAlive.UrlToRequest = WebUtils.GetSiteRoot();
keepAlive.MaxRunTimeMinutes = 720; //12 hours
keepAlive.MinutesToSleep = 10;
keepAlive.QueueTask();


}

I often see strange requests in my log that are just scripts poking at my site. For example I sometime see requests for DesktopDefault.aspx which is not a file that exists in mojoportal, but does exist in rainbow portal.

Best,

Joe

8/28/2008 8:47:33 AM
md
Gravatar
Total Posts 2

Re: KeepAlive error

I did a search keepalive.aspx this isn't in the code.

I saw this error direct after changing my webconfig for keepalive function.

Thanks,

MD

 

You must sign in to post in the forums. This thread is closed to new posts.