Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Scheduler returns an error View modes: 
User avatar
Member
Member
Gabriëlle - 2/9/2009 2:12:43 PM
   
Scheduler returns an error
Hi,

I'm getting this error in the event log every minute. Since the error doesn't display much info, I don't know where to look. All the scheduled tasks are still the same after installation, I didn't make any changes to them, what could it be?

EventID: 1767

EventType: E

EventTime: 2/9/2009 9:03:50 PM

Source: Scheduler

EventCode: Run

EventDescription: EXCEPTION MESSAGE: Kan geen verbinding met de externe server maken; STACK TRACE: bij System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
bij System.Net.WebClient.DownloadData(Uri address)
bij System.Net.WebClient.DownloadData(String address)
bij CMS.Scheduler.SchedulingHelper.RunSchedulerRequest(String url)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/10/2009 7:03:13 AM
   
RE:Scheduler returns an error
Hi,

Could you please translate this into English: "Kan geen verbinding met de externe server maken"

I am sorry for bothering you but I do not understand the error message. Thank you.

Best Regards,
Juraj Ondrus

User avatar
Guest
Gabriëlle - 2/10/2009 8:15:13 AM
   
RE:Scheduler returns an error
Hi Juraj,

Oh yes sorry, the errors are displayed in Dutch to me. It means 'Cannot connect to the external server'.

Best regards,

Gabriëlle

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/11/2009 3:49:02 AM
   
RE:Scheduler returns an error
Hi,

Thanks, I got it know. But I need more details - are you scheduling some custom code or it is from the default scheduled task? Have you tried to restart the scheduler? What were the changes before this error occurred?

Thank you,
Juraj Ondrus

User avatar
Guest
Gabriëlle - 2/11/2009 12:51:34 PM
   
RE:Scheduler returns an error
Hi Juraj,

That's odd, I was receiving this error for a couple of days on both my installations...I was looking for the cause of it, but couldn't find anything. Opened the eventlog again today and no errors anymore. No idea what went wrong, but it seems to work OK now, hopefully it stays this way. Thanks for the help though.

Best regards,

Gabriëlle

User avatar
Member
Member
richard.pendergast-notatallstrange - 3/18/2009 11:05:30 PM
   
RE:Scheduler returns an error
We are getting the same error from the scheduler:

Event ID: 90542
Event type: Error
Event time: 3/19/2009 2:45:12 PM
Source: Scheduler
Event code: Run
IP address:
Description: EXCEPTION MESSAGE: Unable to connect to the remote server; STACK TRACE: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at CMS.Scheduler.SchedulingHelper.RunSchedulerRequest(String url)
Machine name:
Event URL:

We are not using any custom scheduled tasks.

At first we thought the error was email related, as we found it while trying to track down why email was not being sent by the scheduler, but since then we have found that even if we manually run "Time zone recalculate" we get the same error.

We are using Kentico 4.

User avatar
Member
Member
zhaojicheng-artmtech - 3/24/2009 12:33:27 PM
   
RE:Scheduler returns an error
perhaps the "domainname.com"not properly configured. you can try

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/25/2009 6:04:43 AM
   
RE:Scheduler returns an error
Hi,

The Site Domain Name set in Site Manger -> Sites -> edit your site -> General tab have to be the set to the domain you are using or under which you are accessing the site.
Moreover, could you please check on your server (e.g. using remote desktop), if you are able to browse your site? The server needs to "see it self".

Best Regards,
Juraj Ondrus

User avatar
Member
Member
richard.pendergast-notatallstrange - 4/15/2009 3:08:52 AM
   
RE:Scheduler returns an error
Thanks for your help. It turns out that the server was not in fact able to see itself by domain name. By adding relevant entries to the server hosts file we were able to get the scheduler happening again.

User avatar
Member
Member
ryan.wheale-gmail - 5/1/2009 1:21:01 PM
   
RE:Scheduler returns an error
This solution worked for me as well. I modified the host file to map my domain to my local ip address... and the errors stopped coming. Please disregard my post below.

~Ryan

User avatar
Member
Member
ryan.wheale-gmail - 4/29/2009 1:54:37 PM
   
RE:Scheduler returns an error
I am currently in correspondence with Kentico Support via email, but I wanted to post this here to see if anybody had any suggestions.

I currently access and edit my site using the same domain configured in the Site Settings. My site is not yet live and I cannot publically give out the domain, so we'll call it abc.com.

In my site settings (Site Manger -> Sites -> edit your site -> General tab -> Site Domain Name) I have it set to abc.com. When I access the cms desk and site manager, I use abc.com. My smtp server is set as localhost in the Site Settings. However I am getting a error every minute. I have not set up and custom scheduling or anything of that nature.

Any suggestions?
Thanks in advance.

~Ryan

User avatar
Certified Developer 11
Certified Developer 11
jashut-gmail - 8/25/2010 3:50:39 AM
   
RE:Scheduler returns an error
hi did you get any solutions for this?

I get this error every min. I cheked site/Site domain name, its all good. work environment windows server 2003 and sql server 2005 express.

thanks in advance

Source: Scheduler

EventCode: Run

EventDescription: EXCEPTION MESSAGE: The remote server returned an error: (404) Not Found.; STACK TRACE: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadData(Uri address)
at System.Net.WebClient.DownloadData(String address)
at CMS.Scheduler.SchedulingHelper.RunSchedulerRequest(String url)

Cheers
Jash

User avatar
Certified Developer 11
Certified Developer 11
jashut-gmail - 8/25/2010 3:59:32 AM
   
RE:Scheduler returns an error
by the way it works fine on my development PC (vista)

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/25/2010 6:09:16 AM
   
RE:Scheduler returns an error
Hi,

Could you please see this Knowledge base article?

What version of CMS do you use?
Also, there are several other threads about scheduler in our DevNet forums where you can find additional information.

Best regards,
Juraj Ondrus