Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, July 9, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: SalesLogix Agents stuck in Pending status
David Henry
Posts: 207
 
SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 May 07 8:14 AM
-W2K3 SP1
-6.2.6.1007
-SQL2000 SP4
-SalesLogix Server and Synchronization Server Services set with admin privlaged service account with membership of policies "Log on as service", "Log on as batch job" and "Access this computer from the Network".

Any type of Agent scheduled in the WGAdmin moves from "scheduled" to "pending" status after the "scheduled" time passes and does not reschedule again. As a result AgentRunner.exe and AgentQueue.exe hang in the task manager with no CPU utilization.

[Reply][Quote]
David Henry
Posts: 207
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Jul 07 9:35 AM
Anyone?
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 07 9:36 AM
My only guess as to what might be happening is that the task has an error in it. You probably already know this, but you can't use the Application object in an agent task that you can normally use in SalesLogix code - I think that would cause what you are seeing. If you could post the code you are trying to run in the agent, that might help. Always nice to have more than one pair of eyes on code. Also, it was very nice moving to SQL Server 2005 - the ability to set up ActiveScript jobs is wonderful, and I don't ever have to worry about fickle SalesLogix agents.
[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 07 12:59 PM
Hi David,

What is your agent tasked to do?

Carla
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 07 4:00 PM
I've had this exact problem and it was a problem with the code in my agent. Make sure your agent isn't erroring out by running it from a tool bar button within the application. Also in v7.0 I had a problem with an agent I was running because it used the application object and that isn't allowed in an agent because the application isn't open.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 07 8:55 PM
Hi Jeff - I was interested in your comment about moving to SQL Server 2005. Can you elaborate on what you are able to do now that you could not do in SS 2000 please?

Cheers
Phil
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 07 9:27 AM
Man, you had to call me out on that one, didn't you? Ok, I just checked, and you can run ActiveScript jobs in SQL Server 2000 as well - so I guess everything I'm doing in SQL Server 2005 can be done in SQL Server 2000. However, there are performance benefits and greater processing capabilities in 2005. You can go to http://www.microsoft.com/sql/techinfo/whitepapers/why-upgrade.mspx to see if any of the benefits are worthwhile. I also found reviewing the job history is a bit simpler in 2005 as well.

Anyway, I didn't know about running VBScript in SQL Server until after I had upgraded to SQL Server 2005, which is why I made that less-educated remark... :P But, my point was that I have spent a bunch of time figuring out, dealing with, and getting frustrated with SalesLogix Agents, and I had a wonderful time getting SQL Server VBScript jobs to run. Since you can't use the Application object in either the SLX Agents or the SQL Server Jobs, I recommend using the SQL Server jobs - much smaller headache and greater reliability. I would think the only time you would want to use a SLX Agent is if you wanted to email one of the reports in SalesLogix or run a remote task.

Anyway, those are my thoughts, and I tried to research them a little better this time...
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 07 5:00 PM
Sorry Jeff, I wasn't trying to score any points - I promise I was genuinely interested!

As for the benefits of moving to SQL Server 2005 - I was sold within 10 minutes of migrating. The user interface is so much better, regardless of any performance improvements. There is also a suggestion that support for SS 2000 will be dropped later this year, though I am not sure that will actually happen, given the huge numbers of users who have yet to migrate.

Another advantage of running SQL Server jobs rather than SLX agents is that it doesn't matter which level of SLX you have purchased.
[Reply][Quote]
Jeff Weight
Posts: 219
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jul 07 5:13 PM
Absolutely agree on the user interface - it is much nicer than SS 2000!

Yeah, I figured you were genuinely interested. I was just caught speaking before I truly thought it out...

[Reply][Quote]
David Henry
Posts: 207
 
Re: SalesLogix Agents stuck in Pending statusYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 07 9:33 AM
Quote:
Originally posted by Ian Fitzpatrick

I've had this exact problem and it was a problem with the code in my agent. Make sure your agent isn't erroring out by running it from a tool bar button within the application. Also in v7.0 I had a problem with an agent I was running because it used the application object and that isn't allowed in an agent because the application isn't open.


Ian,

This is exactly the situation I had. For this agent the service account that runs the SLX Server service is required to have SalesLogix.exe running in memory.

To resolve this without having to physically keep the service account logged in to the console with SalesLogix.exe running I made a scheduled task that kicks off minutes before the agent kicks off. It runs SalesLogix.exe as the service account for the duration of the Agent, then closes the process.

Thank you everyone for your input. I have finally put this issue to rest!


[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/9/2025 12:42:49 PM