KeepAlive Task Error

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/6/2010 6:46:47 PM
Gravatar
Total Posts 115
mojoPortal Community Expert

KeepAlive Task Error

I recently moved to a new server. The move was from a shared hosting enviroment to my own dedicated server.

Windows Server 2008R2

SQL Server 2008

MojoPortal 2.3.3.2

Ever since I moved the server I get the following error in the logs using the KeepAlive task

2010-01-06 17:34:32,731 ERROR mojoPortal.Web.AppKeepAliveTask - System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at mojoPortal.Web.AppKeepAliveTask.DoKeepAlive()

1/7/2010 4:46:53 AM
Gravatar
Total Posts 18439

Re: KeepAlive Task Error

In IIS 7 you need to specify the url for the keep alive task. Previously you were probably hosted on Win 2003 IIS 6.

Hope it helps,

Joe

1/7/2010 7:35:33 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: KeepAlive Task Error

No I had the url to my site specified in the web.config.

<add key="UseAppKeepAlive" value="true" />
<add key="AppKeepAliveUrl" value="http://www.xxx.com/Default.aspx" />

But you are correct in that before I was running under IIS6. Are there any settings in IIS7 that could not be set properly?

1/7/2010 7:57:24 AM
Gravatar
Total Posts 18439

Re: KeepAlive Task Error

It can be any number of problems. Basically the keep alive task is doing a server side web request. This may be blocked by trust policy configuration, like by default medium trust does not allow outbound web requests usually hosts modify the trust policy to allow it, failure to resolve dns correctly, or a firewall that is blocking the outbound requests.

Hope it helps,

Joe

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