<?xml version="1.0" encoding="utf-8"?><rss xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0"><channel><title>Arcana Scheduler Knowledge Base</title><link>http://www.arcanadev.com/support/kb.aspx</link><description>Showing the most recent 20 articles from the Arcana Scheduler Knowledge Base</description><language>en-us</language><pubDate>Fri, 13 Jan 2012 22:08:28 GMT</pubDate><lastBuildDate>Fri, 13 Jan 2012 22:08:28 GMT</lastBuildDate><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>I02000059: Programs run by the scheduler are visible only to a user connected to the computer's "console" session</title><link>http://www.arcanadev.com/support/kb/I02000059.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;The user interface for a program, script, etc. run by adTempus or the Arcana Scheduler is visible only if you are logged in to the "console" session for the computer. If you are connected to the computer using Terminal Services or Remote Desktop, you will not be able to see the program's user interface.&lt;/p&gt;
&lt;h2&gt;More Information&lt;/h2&gt;
&lt;p&gt;Using Terminal Services or Remote Desktop, Windows allows more than one user to be connected to a computer at the same time. Each connected user is hosted in a separate user session, which is isolated from all other sessions.&lt;/p&gt;
&lt;p&gt;Each computer has a "console" session, which is either the session for the user physically at the computer, or a remote session configured to connect to the console session.&lt;/p&gt;
&lt;p&gt;When adTempus or the Arcana Scheduler runs a job that is configured to allow user interaction, the program is run in the console session. Therefore, only the user logged in to the console session can interact with the program. If you are connected to a different session, you will not see the program's user interface.&lt;/p&gt;
&lt;h3&gt;Connecting to the Console Session&lt;/h3&gt;
&lt;p&gt;To view interactive programs, you must be connected to the console session. You can do this in one of three ways:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Log in at the computer itself (i.e., the monitor and keyboard physically attached to the computer). &lt;/li&gt;
    &lt;li&gt;Use Remote Desktop/Terminal Services to connect to the console session. By default, when you connect to the computer through Remote Desktop or Terminal Services, Windows creates a new session for you, and does not connect you to the console session. However, it is possible to connect to the console session as described in Microsoft Knowledge Base article &lt;a href="http://support.microsoft.com/kb/278845" target="_blank"&gt;How to Connect to and Shadow the Console Session with Windows Server (278845)&lt;/a&gt;. &lt;/li&gt;
    &lt;li&gt;Use another remote access tool such as VNC or pcAnywhere that connects to the console session. &lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Running Programs in a User Session&lt;/h3&gt;
&lt;p&gt;Beginning with version 3.0, adTempus has the ability to start programs in a user's logon session rather than the console session. See article &lt;a href="http://www.arcanadev.com/support/kb/K00000294.aspx"&gt;K00000294&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h3&gt;Changes in Windows Vista, Windows Server 2008, and Later&lt;/h3&gt;
&lt;p&gt;Beginning in Windows Vista and Windows Server 2008, the behavior and availability of the console session have changed. See article &lt;a href="http://www.arcanadev.com/support/kb/K00000369.aspx"&gt;K00000369&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2&gt; &lt;/h2&gt;
</description><guid>http://www.arcanadev.com/support/kb/I02000059.aspx</guid><pubDate>Thu, 09 Dec 2010 16:34:15 GMT</pubDate></item><item><title>I02000002: Interpreting "Unacceptable Return Code" or "Completed with Errors" messages</title><link>http://www.arcanadev.com/support/kb/I02000002.aspx</link><description>
		&lt;h2&gt;Summary&lt;/h2&gt;
		&lt;p&gt;When you run a program in the Scheduler, the Scheduler may report a status of "Completed with errors." The Scheduler may also log a message similar to the following:&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;blockquote&gt;
				&lt;p&gt;
				&lt;/p&gt;
				&lt;p&gt;Program &amp;lt;YOUR program&amp;gt;terminated with unacceptable return code 1&lt;/p&gt;
				&lt;p&gt;
				&lt;/p&gt;
		&lt;/blockquote&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;h2&gt;More Information&lt;/h2&gt;
		&lt;p&gt;Whenever a program runs, it passes an exit code back to the operating system (or in this case the Scheduler) to indicate its exit status. Most programs return a value of 0 to indicate successful completion or some value greater than 0 to indicate a warning or error.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;When you set up a program in the Scheduler, you can specify on the Advanced page a value for the "Highest acceptable return code." The value defaults to 0 if you do not change it. Whenever the program exits with a return code higher than the value you specify, the Scheduler reports the status as "Completed with errors." If you have checked the "Abnormal termination" box in the Logging section on the Advanced page, the Scheduler will log the unacceptable return code to the Event Log.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;The Scheduler can only detect the exit code and inform you of the code; it does not know what the code means. This meaning will depend entirely on the application being run. Check the documentation for the application in question to see whether the return codes are documented.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;If you cannot find documentation on the return codes, you should look for signs of unexpected or erroneous behavior on the part of the application.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;If the application appears to be running properly, you can either ignore the return code or set the "Highest acceptable return code" to a higher value so the Scheduler will not treat it as an error.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;h3&gt;Setting the Exit Code&lt;/h3&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;If you are writing your own application the method you use to return an exit code will depend on your programming environment.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;For a C, C++, or C# application the exit code is the return value from the main() function.&lt;/p&gt;
		&lt;p&gt;For a VB.NET application, the exit code is the return value from from the Main function.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;To return an exit code from a VB6 application you may be able to use the Windows API ExitProcess function. This approach was previously detailed in Microsoft Knowledge Base article Q178357 (article no longer available), but is no longer supported or recommended by Microsoft due to the problems discussed in article &lt;a href="http://support.microsoft.com/support/kb/articles/Q288/2/16.ASP" target="_new"&gt;Q288216&lt;/a&gt;. In addition to the problems described by Microsoft note that calling the ExitProcess function while your program is being debugged in the Visual Basic development environment will cause the Visual Basic IDE itself to terminate, along with your program.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;For other development environments consult the appropriate documentation&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;A batch file returns the exit code of the last program executed by the batch file. If you want to set the exit code to a specific value, use this statement in your batch file:&lt;/p&gt;
		&lt;blockquote dir="ltr" style="MARGIN-RIGHT: 0px"&gt;
				&lt;p&gt;exit /b &lt;em&gt;exitcode&lt;/em&gt;&lt;/p&gt;
		&lt;/blockquote&gt;
		&lt;p dir="ltr"&gt;Where &lt;em&gt;exitcode&lt;/em&gt; is the exit code you want to return. Note that this statement will terminate the batch file immediately.&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;h4&gt;See Also&lt;/h4&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
				&lt;a href="http://www.arcanadev.com/support/kb/K00000061.aspx"&gt;Solving problems with scheduled programs&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;
				&lt;a href="http://www.arcanadev.com/support/kb/I02000046.aspx"&gt;Diagnosing problems with batch files&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;
				&lt;a href="http://www.arcanadev.com/support/kb/I02000049.aspx"&gt;All scheduled programs terminate immediately after being started, with a return code of 128&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
		&lt;p&gt;
		&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/I02000002.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000028: Diagnosing installation problems</title><link>http://www.arcanadev.com/support/kb/I02000028.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;When installation of the Arcana Scheduler fails (i.e., when the installation rolls back), the log file produced by the installer may provide information that will help to resolve the problem.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This log is produced automatically if you are installing version 2.2.20 or later of the Arcana Scheduler. The file will be located in the system temporary directory (the folder pointed to by the TEMP environment variable) and will be called "adsmsi.log".&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Please include this file when you contact technical support for help with an installation problem.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;The following articles discuss specific problems you may encounter during installation:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="K00000163.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/K00000163.aspx"&gt;K00000163&lt;/a&gt;&lt;/A&gt;: Setup fails with error 1603.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="K00000074.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/K00000074.aspx"&gt;K00000074&lt;/a&gt;&lt;/A&gt;: "Error 1305.Error reading from file" during installation.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="I02000026.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/I02000026.aspx"&gt;I02000026&lt;/a&gt;&lt;/A&gt;: Installation rolls back while installing or starting the Arcana Scheduler service ("Info 1923" reported in installation log).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="I02000030.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/I02000030.aspx"&gt;I02000030&lt;/a&gt;&lt;/A&gt;: "Error opening installation log file" when attempting to install&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="I00000002.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/I00000002.aspx"&gt;I00000002&lt;/a&gt;&lt;/A&gt;: Error message "Failed to install ISKernel Files" during installation&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="B00000001.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/B00000001.aspx"&gt;B00000001&lt;/a&gt;&lt;/A&gt;: Prompt "Please insert the disk: 1" during installation&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/I02000028.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000049: All scheduled programs terminate immediately after being started, with a return code of 128</title><link>http://www.arcanadev.com/support/kb/I02000049.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;All scheduled programs terminate immediately after being started, with a return code of 128. This problem generally affects "console-mode" (non-GUI) programs, when the "Allow program to interact with desktop" option is not checked in the Program Properties in the Arcana Scheduler.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This problem may occur when the computer runs out of desktop heap (see Microsoft Knowledge Base article &lt;a href="http://support.microsoft.com/support/kb/articles/q156/4/84.asp"&gt;Q156484&lt;/a&gt;. This causes the programs to terminate during intialization, and the operating system supplies the return code of 128.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;More Information&lt;/h2&gt;
&lt;p&gt;If the "Allow program to interact with desktop" option is checked for the program, a dialog box similar to one of the following may be displayed by the program:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Initialization of the dynamic library &amp;lt;SYSTEM&amp;gt;\system32\user32.dll failed. The process is terminating abnormally.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Initialization of the dynamic library &amp;lt;SYSTEM&amp;gt;\system32\kernel32.dll failed. The process is terminating abnormally.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Generally this problem is caused by the operating system or an application "leaking" desktop heap memory. When enough memory has been lost due to the problem, the errors will occur. Restarting the computer will restore the lost memory. Increasing the heap size as described below will defer the problem, but will not resolve it if it is due to memory leaks. The only solution to these leaks is to track down the application that is causing the leak.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the problem occurs immediately after restarting, it may be due to a large number of services running on the system. You may need to adjust the heap size as described in Microsoft Knowledge Base article &lt;a href="http://support.microsoft.com/support/kb/articles/q142/6/76.asp"&gt;Q142676&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Status&lt;/h2&gt;
&lt;p&gt;This problem is due to memory leaks in the operating system or in applications or services. Arcana Development has conducted extensive testing of version 2.3.0.9 of the Scheduler and does not believe that the Scheduler is the source of any desktop heap leaks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using an earlier version of the Scheduler it is possible that the Scheduler is contributing to the problem. You should &lt;a href="http://www.arcanadev.com/scheduler/upgrade.htm"&gt;upgrade to the current version&lt;/a&gt; and see if the problem continues.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/I02000049.aspx</guid><pubDate>Fri, 21 Oct 2011 17:55:10 GMT</pubDate></item><item><title>B02000052: Refresh method of ActiveX API's ADSSession object does not work properly</title><link>http://www.arcanadev.com/support/kb/B02000052.aspx</link><description>
		&lt;h2&gt;Summary&lt;/h2&gt;
		&lt;p&gt;Calls to the ADSSession object's Refresh method do not actually refresh job information. After calling Refresh and re-retrieving a job, all properties remain the same even when the job is changed.&lt;/p&gt;
		&lt;h2&gt;More Information&lt;/h2&gt;
		&lt;p&gt;For example, if you start a job using the API, then refresh the Session and retrieve the job, the job's status will not reflect the fact that the job is running--it will still list the status the job had when the Session was originally connected.&lt;/p&gt;
		&lt;h2&gt;Status&lt;/h2&gt;
		&lt;p&gt;This problem has been corrected in adscom.dll version 2.3.0.3, which is available in version 2.3.0.7 of the Arcana Scheduler setup package. See the &lt;a href="http://www.arcanadev.com/scheduler/download.htm"&gt;download&lt;/a&gt; page to obtain the current version.&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/B02000052.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000038: Using the Arcana Scheduler ActiveX API with DCOM</title><link>http://www.arcanadev.com/support/kb/I02000038.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;The Arcana Scheduler ActiveX API can be used with DCOM to allow connections to remote computers. No special steps need to be taken other than verifying DCOM configuration settings as described in article &lt;A href="I02000035.aspx"&gt;&lt;a href="http://www.arcanadev.com/support/kb/I02000035.aspx"&gt;I02000035&lt;/a&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Consult a reference guide for your development environment to determine how to instantiate remote objects.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For Visual Basic, use the CreateObject function, specifying the name of the computer whose Scheduler you want to connect to.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For C++ and other languages using the Windows API directly, use the CoCreateInstanceEx function.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;For more information on the ActiveX API, see the &lt;A href="http://www.arcanadev.com/scheduler/api"&gt;API page&lt;/A&gt; or the ActiveX API documentation installed with the Scheduler. &lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/I02000038.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000240: Scheduled programs fail with message "error occurred while loading the profile"</title><link>http://www.arcanadev.com/support/kb/K00000240.aspx</link><description>&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Each time the Arcana Scheduler runs programs that have the "Allow program to interact with desktop" option checked, it logs the following warning message in the Application log in the Windows Event Viewer:&lt;/p&gt;
&lt;blockquote dir="ltr" style="margin-right: 0px;"&gt;
&lt;p&gt;An error occurred while loading the profile for user &lt;em&gt;userid&lt;/em&gt; for program &lt;em&gt;taskname&lt;/em&gt;. The program may not run correctly as a result. Not enough quota is available to process this command.&lt;br /&gt;
(10751:1816)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This problem is caused by a buildup of security access tokens on the virtual desktop on which the program runs. This may occur if too many logon sessions are attempting to use the virtual desktop, or if applications fail to properly remove access tokens they have associated with the virtual desktop.&lt;/p&gt;
&lt;p&gt;To date, testing by Arcana Development suggests that this problem is being caused by applications other than the Arcana Scheduler, and that the Arcana Scheduler is merely suffering the consequences of these problems.&lt;/p&gt;
&lt;h2&gt;Resolution&lt;/h2&gt;
&lt;p&gt;To eliminate the problem, restart the computer. This will eliminate the problem at least temporarily. &lt;/p&gt;
&lt;h2&gt;More Information&lt;/h2&gt;
&lt;p&gt;Note that this problem does not affect scheduled programs that do not have the "Allow program to interace with desktop" option checked.&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/K00000240.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>B02000040: One-time holidays are not saved correctly</title><link>http://www.arcanadev.com/support/kb/B02000040.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;When you use the Configuration Editor to add a custom one-time holiday to the Scheduler, the holiday is not saved correctly. One-time holidays therefore cannot be established.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;This problem affects one-time only holidays (e.g., "April 13, 2001"). Fixed (e.g., "January 1") and floating (e.g., "Third Tuesday of April") holidays are not affected.&lt;/P&gt;
&lt;H2&gt;Status&lt;/H2&gt;
&lt;P&gt;This problem is corrected in version 2.3 of the Arcana Scheduler. To download the latest version, see the &lt;A href="http://www.arcanadev.com/scheduler/download.htm"&gt;download&lt;/A&gt; page.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/B02000040.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>B02000045: Error initializing user32.dll or kernel32.dll when running scheduled programs</title><link>http://www.arcanadev.com/support/kb/B02000045.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;Scheduled programs fail to start and the Arcana Scheduler reports an error similar to one of the following in the Event Log:&lt;/P&gt;
&lt;P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Initialization of the dynamic library &amp;lt;SYSTEM&amp;gt;\system32\user32.dll failed. The process is terminating abnormally.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Initialization of the dynamic library &amp;lt;SYSTEM&amp;gt;\system32\kernel32.dll failed. The process is terminating abnormally.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;In some cases the Scheduler will start the program or batch file and one of the errors listed above will be presented in a pop-up dialog box from the operating system.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;This problem has two primary causes.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;
&lt;OL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;
&lt;LI&gt;If you have a large number of services running on the computer, the operating system may run out of desktop heap for them. To resolve the problem you will need to increase the desktop heap as described in Microsoft Knowledge Base article &lt;A href="http://support.microsoft.com/support/kb/articles/q142/6/76.asp"&gt;Q142676&lt;/A&gt;. Note: If this is the source of your problem, it will generally begin occurring very soon after restarting the computer. If the problem only appears after the computer has been running for quite some time, see cause 2 below. 
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;LI&gt;Applications, services, and the operating system may "leak" desktop heap memory. Over time this reduces the amount of heap available, eventually leading to the error. Increasing the desktop heap as described in cause 1 above will increase the time it takes for the problem to appear, but will not resolve the problem. To eliminate the problem you will need to determine which application is causing the leak, which is generally not a simple task. 
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/li&gt;&lt;/p&gt;&lt;/OL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Also see Arcana Development Knowledge Base article &lt;a href="http://www.arcanadev.com/support/kb/I02000049.aspx"&gt;I02000049&lt;/a&gt;.&lt;/P&gt;
&lt;H2&gt;Workaround&lt;/H2&gt;
&lt;P&gt;The error occurs because the operating system has run out of memory for the desktop heap.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;See the More Information section below for information on possible solutions.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;H2&gt;Status&lt;/H2&gt;
&lt;P&gt;Versions of the Scheduler prior to 2.3 had a problem which could cause the Scheduler to "leak" desktop heap memory, contributing to the problem (see cause 2 in the More Information" section below). The problem was corrected in version 2.3, and after extensive testing we do not believe that the Scheduler is the source of any leaks.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description><guid>http://www.arcanadev.com/support/kb/B02000045.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000057: Moving/copying Arcana Scheduler configuration information to another computer</title><link>http://www.arcanadev.com/support/kb/I02000057.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;To copy scheduled tasks between two computers you need only copy the configuration file(s) for the tasks in question. Instructions on how to do this are below and in the Arcana Scheduler online help (look for "Copying schedule information between computers" in the Arcana Scheduler online help index or click &lt;a href="http://www.arcanadev.com/scheduler/documentation/webhelp/default.htm#ADScheduler/Service/HC_Technical.htm"&gt;here&lt;/a&gt;, then see the "Data Files" section).&lt;/p&gt;
&lt;h2&gt;Details&lt;/h2&gt;
&lt;p&gt;The Scheduler Service stores information on scheduled programs in the schedules\1 subdirectory of the Arcana Scheduler program directory (e.g., c:\program files\arcana development\arcana scheduler\schedules\1). You should not attempt to edit any of the files in this directory.&lt;/p&gt;
&lt;p&gt;The directory contains one file (with the extension .cfg) for each scheduled program. The description you provided for the program is used as the file name.&lt;/p&gt;
&lt;p&gt;To copy one or more scheduled programs between two computers, simply find the correct configuration files and copy them to the corresponding directory on the other computer. For the Scheduler on the destination computer to recognize the new programs, you must stop and restart the Arcana Scheduler service.&lt;/p&gt;
&lt;p&gt;Please note:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The target computer must be running the same or a later version of the Arcana Scheduler as what is running on the source computer. &lt;/li&gt;
    &lt;li&gt;After you copy the configuration files to the target computer, you must stop and restart the Arcana Scheduler on that computer for it to recognize the new tasks. &lt;/li&gt;
    &lt;li&gt;If the Arcana Scheduler is not licensed on the target computer (i.e., is running in evaluation mode) the new tasks will not be imported by the Scheduler. Tasks can only be copied to a licensed installation. &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;More Information&lt;/h2&gt;
&lt;p&gt;For information on transferring your license to another computer see article &lt;a href="article.aspx?a=I02000058"&gt;&lt;a href="http://www.arcanadev.com/support/kb/I02000058.aspx"&gt;I02000058&lt;/a&gt;&lt;/a&gt;.&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/I02000057.aspx</guid><pubDate>Fri, 13 Jan 2012 22:08:28 GMT</pubDate></item><item><title>K00000257: Impact of changes to daylight saving time</title><link>http://www.arcanadev.com/support/kb/K00000257.aspx</link><description>&lt;H2&gt;Introduction&lt;/H2&gt;
&lt;P&gt;Beginning in 2007, daylight saving time in the U.S. and Canada will begin earlier and end later than previously. As a result, computer systems will have to make the transition into and out of daylight saving time on a different schedule.&lt;/P&gt;
&lt;P&gt;Arcana Development's scheduling applications (adTempus and the Arcana Scheduler) retrieve daylight saving time information from the operating system. Therefore no updates to adTempus or the Arcana Scheduler are necessary to support this change, but you must apply the appropriate update to the operating system (or manually change the time on your computer in accordance with the new schedule).&lt;/P&gt;
&lt;P&gt;For more information on updating Windows to recognize the new dates, see the Microsoft Web site at &lt;A href="http://www.microsoft.com/windows/timezone/dst2007.mspx"&gt;www.microsoft.com/windows/timezone/dst2007.mspx&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Historical Data in adTempus&lt;/H2&gt;
&lt;P&gt;Date/time information in adTempus is stored as a Universal Coordinated Time (UTC or GMT) value and converted to local time as necessary. This conversion must take daylight saving time into account. Because the conversion will now be applying the new daylight saving time rules to historical data, times displayed for data older than November 5, 2006, may be off by one hour. Because of the low impact of this discrepancy, Arcana Development does not plan to release an update to address it.&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000257.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000242: Schedule Administrator and Configuration Editor fail on some systems with Data Execution Prevention enabled</title><link>http://www.arcanadev.com/support/kb/K00000242.aspx</link><description>&lt;H2&gt;Symptoms&lt;/H2&gt;
&lt;P&gt;When the Arcana Scheduler is installed on a computer running Windows Server 2003 (SP1 or later) or Windows XP (SP2 or later) with Data Execution Prevention (DEP) enabled, the Schedule Administrator and Configuration Editor may fail to run.&lt;/P&gt;
&lt;P&gt;If Dr. Watson (or another application exception handler) is not installed, running one of these tools may appear to produce no result, or the program may appear briefly in the Task Manager and then disappear.&lt;/P&gt;
&lt;P&gt;If Dr.Watson (or another application exception handler) is installed, it will report a failure of the program (adscheduleadmin.exe or adschedulerconfig.exe)&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;Add "adscheduleadmin.exe" and "adschedulerconfig.exe" to the Data Execution Prevention exception list in Windows.&lt;/P&gt;
&lt;P&gt;To add programs to the DEP exception list:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;From the Windows Control Panel, open the System tool. 
&lt;LI&gt;In the &lt;STRONG&gt;Performance&lt;/STRONG&gt; section of the &lt;STRONG&gt;Advanced&lt;/STRONG&gt; page, click &lt;STRONG&gt;Settings&lt;/STRONG&gt;. 
&lt;LI&gt;Select the &lt;STRONG&gt;Data Execution Prevention&lt;/STRONG&gt; page. 
&lt;LI&gt;Under the exception list, click &lt;STRONG&gt;Add...&lt;/STRONG&gt; and browse to the Arcana Scheduler program directory (by default, "c:\program files\arcana development\arcana scheduler") to add the specified programs.&lt;/LI&gt;&lt;/li&gt;&lt;/li&gt;&lt;/li&gt;&lt;/OL&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;Note that this problem does not occur on all computers with DEP enabled; if you are not experiencing the problem there is no need to add exceptions for the Arcana Scheduler programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000242.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000241: Connecting to the Arcana Scheduler through a firewall</title><link>http://www.arcanadev.com/support/kb/K00000241.aspx</link><description>&lt;P&gt;The Arcana Scheduler uses a communications mechanism called "named pipes" for communication between the Schedule Administrator and the Arcana Scheduler service. If the computer on which the Arcana Scheduler service is running is protected by a firewall and you wish to be able to connect to the Arcana Scheduler service using a copy of the Schedule Administrator running on a different computer, the firewall must allow incoming traffic on port 139.&lt;/P&gt;
&lt;P&gt;Note that port 139 is often disabled by firewalls because it is also part of Windows File and Printer Sharing.&lt;/P&gt;
&lt;P&gt;The port requirements for the Arcana Scheduler are not configurable. Our newer scheduling product, &lt;A href="http://www.arcanadev.com/adtempus/"&gt;adTempus&lt;/A&gt;, uses TCP/IP rather than named pipes for client/server communication, and its port usage can be configured.&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000241.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000003: Providing scheduled programs with access to network drives</title><link>http://www.arcanadev.com/support/kb/I02000003.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;P&gt;Providing a scheduled application with access to network drives can be confusing to set up, partly because of the different way that NetWare and Windows NT network resources are treated by the operating system.&lt;/P&gt;
&lt;h2&gt;More Information&lt;/h2&gt;

&lt;p&gt;The following points should be kept in mind when using network drives.&lt;/p&gt;

&lt;h4&gt;System vs. User Account&lt;/h4&gt;

&lt;p&gt;Network connections cannot be established when running a program under the System account. Always specify a user account and password for your program if you need to use network drives.&lt;/p&gt;

&lt;h4&gt;Using Existing Network Drive Mappings&lt;/h4&gt;
&lt;P&gt;Programs run by the Scheduler generally will not have access to network drive letters unless those letters are mapped by the Scheduler (see next section). 

&lt;br /&gt;
&lt;P&gt;This is because drive letter mappings (e.g., those assigned using Windows Explorer) are defined at the user level, not the system level. These drive mappings are only valid while the user who made them is logged into the computer interactively.

&lt;br /&gt;
&lt;P&gt;Even if you are running scheduled programs under an account for which drive mappings are defined, the programs will not have access to those mappings, because the Scheduler does not load them when it logs on to that user account.

&lt;br /&gt;
&lt;P&gt;For Windows Network resources, if you are running the job under a user account, and that user account is also logged into the computer interactively, the drive letters for that user account may be available to scheduled programs. However, you should not rely on this being the case, because your scheduled programs will then fail if the user is not logged in interactively, or if another user is logged in.

&lt;br /&gt;
&lt;P&gt;Instead you should always use UNC designations for network resources, or have the Scheduler map the drive letters.

&lt;br /&gt;
&lt;h4&gt;Mapping New Drive Letters&lt;/h4&gt;

&lt;p&gt;When mapping drive letters to network resources, the Scheduler cannot use a drive letter that is already in use. For example, if drive F: is mapped to \\server\share1 as part of your interactive session, you cannot map that drive letter to the same or any
&lt;br /&gt;
other network drive with the Scheduler. If you attempt to do so, you may receive an error similar to the following:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;
An error occurred while connecting F to \\server\share1 for program &amp;lt;program&amp;gt;. The program may not run correctly as a result. An attempt was made to remember a device that had previously been remembered.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;If your program needs to refer to \\server\share1 using a drive letter, you must map an unused drive letter to it within the Scheduler.&lt;/p&gt;

&lt;h4&gt;Access to NetWare Resources&lt;/h4&gt;

&lt;p&gt;Due to Windows NT security features/limitations, a program run by the Scheduler does not have access to a NetWare drive unless that drive has been specifically connected to by the Scheduler. Specifically:&lt;/p&gt;

&lt;p&gt;If your program refers to the drive by UNC name (e.g., \\server\share1), you must explicitly define this resource on the Network page. To do this, add a network resource that is not mapped to a drive letter. Be sure to specify a valid account name and
&lt;br /&gt;
password.&lt;/p&gt;

&lt;p&gt;If your program refers to the drive by drive letter (e.g., F:), that drive must be
&lt;br /&gt;
mapped within the Scheduler. For example, you can use the Windows Explorer (or some other
&lt;br /&gt;
mechanism) to map drive letter N: to the NetWare drive \\server\share1. This mapping will
&lt;br /&gt;
be available to you during your interactive session. However, if an application run by the
&lt;br /&gt;
Scheduler attempts to use drive N:, it will report an error such as&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Invalid Path or File Name&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If your program needs access to \\server\share1, you must explicitly map it to a
&lt;br /&gt;
different drive letter within the Scheduler.&lt;/p&gt;

&lt;h4&gt;Access to Windows Network Resources&lt;/h4&gt;

&lt;p&gt;In contrast to NetWare resources, scheduled programs can access network resources by
&lt;br /&gt;
UNC name without specifically defining those resources in the Scheduler, provided that:

&lt;br /&gt;
&lt;ul&gt;
  &lt;li&gt;You have scheduled the program to run under a valid user account.&lt;/li&gt;
  &lt;li&gt;The account has permission for the resource you are trying to use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, your program can read the file "\\server\share1\somefile.txt"
&lt;br /&gt;
even if you do not define this network resource in any way on the Network tab.&lt;/p&gt;

&lt;p&gt;However, if your program needs to refer to the network resource using a drive letter,
&lt;br /&gt;
the same restriction applies as for NetWare resources: if your program refers to the drive
&lt;br /&gt;
by drive letter (e.g., F:), that drive must be mapped within the Scheduler. For example,
&lt;br /&gt;
you can use the Windows Explorer (or some other mechanism) to map drive letter N: to the
&lt;br /&gt;
NetWare drive \\server\share1. This mapping will be available to you during your
&lt;br /&gt;
interactive session. However, if an application run by the Scheduler attempts to use drive
&lt;br /&gt;
N:, it will report an error such as&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Invalid Path or File Name&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If your program needs access to \\server\share1, you must explicitly map it to a
&lt;br /&gt;
different drive letter within the Scheduler.&lt;/p&gt;
&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description><guid>http://www.arcanadev.com/support/kb/I02000003.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000229: Using the Arcana Scheduler in a clustered environment</title><link>http://www.arcanadev.com/support/kb/K00000229.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;Although the Arcana Scheduler is not "cluster aware," it can be managed as a generic service in a clustered environment to provide a failover configuration.&lt;/P&gt;
&lt;H2&gt;Background&lt;/H2&gt;
&lt;P&gt;The Arcana Scheduler stores information about scheduled programs in a subdirectory named "schedules\1" under the Arcana Scheduler program directory.&lt;/P&gt;
&lt;P&gt;User-defined holidays and security settings are stored in the Registry under key "HKEY_LOCAL_MACHINE\Software\Arcana Development\Arcana Scheduler" (note that the Arcana Scheduler online help gives the wrong location).&lt;/P&gt;
&lt;P&gt;For more information on the data storage, see the &lt;A href="http://www.arcanadev.com/link.aspx?a=743959BF262F49B7A15F8DA7C8C0800B"&gt;"Technical Information" topic&lt;/A&gt; in the Arcana Scheduler online help index.&lt;/P&gt;
&lt;H2&gt;Arcana Scheduler Installation and Configuration&lt;/H2&gt;
&lt;P&gt;Because the directory where the Scheduler stores its files is not configurable and is always a subdirectory of the program's installation location, it is not possible to install the Arcana Scheduler locally on each node and have the Scheduler store configuration data on a shared storage device. Instead you must use one of the following approaches:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;On each node, install the Arcana Scheduler software, selecting a directory on the shared storage device as the target for the installation. In this configuration, the two nodes will share both the program files and data files.&lt;/LI&gt;
&lt;LI&gt;Install the software locally on each node, and use an external process to keep the configuration files synchronized between the two nodes.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In either case, after you have completed your initial configuration you will need to copy the necessary Registry settings between the two computers, if you have customized security or holiday settings.&lt;/P&gt;
&lt;H2&gt;Clustering Configuration&lt;/H2&gt;
&lt;P&gt;Using the operating system's cluster administration tools, configure the cluster to manage Arcana Scheduler as a generic service, so that Windows will start adTempus on the secondary node during failover.&lt;/P&gt;
&lt;H2&gt;Licensing&lt;/H2&gt;
&lt;P&gt;In an active/passive configuration (where the Arcana Scheduler will only be active on one node at a time), you are only required to purchase a single Arcana Scheduler license. You can use the same license file on both nodes of the cluster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000229.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000199: Running a Microsoft Access macro</title><link>http://www.arcanadev.com/support/kb/K00000199.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;Using the proper command line parameters, you can tell Microsoft Access to open a database and execute a particular macro.&lt;/p&gt;
&lt;h2&gt;More Information&lt;/h2&gt;
&lt;p&gt;To start Microsoft Access, specify "msaccess.exe" (be sure to include the proper path to the executable) as the &lt;strong&gt;Application&lt;/strong&gt; (Arcana Scheduler) or &lt;strong&gt;Target&lt;/strong&gt; (adTempus).&lt;/p&gt;
&lt;p&gt;For the &lt;strong&gt;Command-Line Parameters&lt;/strong&gt;, use the following:&lt;/p&gt;
&lt;blockquote dir="ltr" style="margin-right: 0px;"&gt;
&lt;p&gt;&lt;em&gt;database&lt;/em&gt; /x &lt;em&gt;macro&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p dir="ltr"&gt;Where &lt;em&gt;database&lt;/em&gt; is the complete path and name of the database, and &lt;em&gt;macro&lt;/em&gt; is the name of the macro (be sure to enclose the macro name in quotation marks if it contains spaces or punctuation).&lt;/p&gt;
&lt;p dir="ltr"&gt;Note that you must include a "Quit" command in your macro (or equivalent code elsewhere) to close Microsoft Access when your macro finishes, or it will remain running.&lt;/p&gt;
&lt;h3 dir="ltr"&gt;Additional Command-Line Options&lt;/h3&gt;
&lt;p dir="ltr"&gt;Consult the Microsoft Access Help file for information on additional command-line options that can be used to control Access. For example, if your database is password-protected, you will need to use the &lt;strong&gt;/user&lt;/strong&gt; and &lt;strong&gt;/pwd&lt;/strong&gt; options, and possibly the &lt;strong&gt;/wrkgrp&lt;/strong&gt; option.&lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/K00000199.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000219: Scheduler cannot terminate programs being run by a batch file</title><link>http://www.arcanadev.com/support/kb/K00000219.aspx</link><description>&lt;H2&gt;Symptoms&lt;/H2&gt;
&lt;P&gt;If an Arcana Scheduler or adTempus job runs a batch file that in turn runs other programs, terminating the job in the scheduler only terminates the batch file. Any program(s) that the batch file has already started are not affected.&lt;/P&gt;
&lt;H2&gt;Cause&lt;/H2&gt;
&lt;P&gt;The scheduler only has control over the process that it starts, which in this case is the batch file. The scheduler does not have any information about the programs started by the batch file, and therefore cannot terminate them.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;The same circumstance arises if the program run by the scheduler spawns another program to do part of its work.&lt;/P&gt;
&lt;H2&gt;Workaround&lt;/H2&gt;
&lt;P&gt;If you need for the scheduler to be able to monitor and control each program in a batch file, you must eliminate the batch file and have the scheduler run each program separately:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In Arcana Scheduler, create a separate job for each program, and link the jobs together (using options on the &lt;STRONG&gt;Actions&lt;/STRONG&gt; page of the job's properties) to run the jobs in sequence. &lt;/LI&gt;
&lt;P&gt;&lt;/P&gt;
&lt;LI&gt;In adTempus, create a separate step within the job for each program.&lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;Status&lt;/H2&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;B&gt;adTempus&lt;/b&gt;&lt;br&gt;This behavior is by design.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;B&gt;Arcana Scheduler&lt;/b&gt;&lt;br&gt;This behavior is by design.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000219.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000218: Running a scheduled program every X days</title><link>http://www.arcanadev.com/support/kb/K00000218.aspx</link><description>&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;The Arcana Scheduler does not have native support for running a program every X days. For example, there is no way to schedule a program to run every 10 days or every other week. &lt;/P&gt;
&lt;P&gt;Using a script and the Arcana Scheduler API, however, it is possible to achieve the same effect.&lt;/P&gt;
&lt;H2&gt;More Information&lt;/H2&gt;
&lt;P&gt;The Arcana Scheduler API provides full programmatic control over the Scheduler, allowing you to change the the schedule for a program. Using the API it is therefore possible for the Scheduler to run a job that modifies its own schedule.&lt;/P&gt;
&lt;P&gt;Download &lt;A href="kbfiles/K00000218.zip"&gt;&lt;a href="http://www.arcanadev.com/support/kb/K00000218.aspx"&gt;K00000218&lt;/a&gt;.zip&lt;/A&gt;&amp;nbsp;and extract "adsxdays.vbs" to the Arcana Scheduler program directory (or any other convenient location). This script uses the API to change a job to run on the day that is X number of days from the current date. For example, if you run the script on February 1, it will reconfigure the job to run on February 15.&lt;/P&gt;
&lt;P&gt;To use this script you must:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Schedule your job to run on the first day you want it to execute. 
&lt;LI&gt;Use a batch file so that the Scheduler runs "adsxdays.vbs" in addition to your program.&lt;/LI&gt;&lt;/li&gt;&lt;/OL&gt;
&lt;H3&gt;Set the Initial Execution Date&lt;/H3&gt;
&lt;P&gt;To set the initial execution date, you need to set your program to run on a specified day in a specified month in a specified year, as shown in the following example. Also set the program to run at whatever time(s) on that day you wish.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.arcanadev.com/support/kb/kbfiles/K00000218-1.gif" border=0&gt;&lt;/P&gt;
&lt;H3&gt;Configure the Job to Run the Script&lt;/H3&gt;
&lt;P&gt;Suppose your Arcana Scheduler job&amp;nbsp;originally ran the program "myprogram.exe". Instead of running "c:\programs\myprogram.exe" directly, you will change it to run a batch file that runs the adsxdays.vbs script and then runs your program. For example, change the "Application" from "c:\programs\myprogram.exe" to "c:\programs\runmyprogram.bat". Create "runmyprogram.bat" to appear as follows (assuming you want the job to run every 14 days):&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;PRE&gt;cscript "c:\program files\arcana development\arcana scheduler\adsxdays.vbs" "Sample Job" 14
c:\programs\myprogram.exe&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P dir=ltr&gt;The adsxdays.vbs script requires two command-line parameters:&lt;/P&gt;
&lt;UL dir=ltr&gt;
&lt;LI&gt;
&lt;DIV&gt;The name of the job to modify. The name is case-sensitive, so be sure to specify it exactly as it appears in the Scheduler. Also be sure to enclose the name in quotes if it contains spaces or punctuation.&lt;/DIV&gt;
&lt;LI&gt;
&lt;DIV&gt;The number of days in the future to schedule the job. If you specify "14", the job will be scheduled to run 14 days from the current date. Note that the schedule is always calculated based on the current date when the script runs, not on the last date the job was scheduled to run.&lt;/DIV&gt;&lt;/LI&gt;&lt;/li&gt;&lt;/UL&gt;
&lt;H3&gt;Test the Job&lt;/H3&gt;
&lt;P&gt;Now run your job from within the Scheduler. After it runs, display the job's properties again. You should see that the scheduled date has changed to the date two weeks from today.&lt;/P&gt;
&lt;P&gt;Each time the job runs, it will reschedule itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description><guid>http://www.arcanadev.com/support/kb/K00000218.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>K00000204: After upgrading to new version, existing configuration is not found if upgrade is installed to a new location</title><link>http://www.arcanadev.com/support/kb/K00000204.aspx</link><description>&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After you install a new version of the Arcana Scheduler, your scheduled programs do not appear when you run the Schedule Administrator.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This problem can occur if you install the upgrade to a different directory than the previous installation. Due to a problem with the setup program, it always uses the default location ("c:\program files\arcana development\arcana scheduler") unless you change the location, even if the previous version was installed to a different location.&lt;/p&gt;
&lt;h2&gt;Resolution&lt;/h2&gt;
&lt;p&gt;To avoid the problem when installing the upgrade, be sure to install the upgrade to the same location as the previous version, if you installed the previous version to a location other than the default.&lt;/p&gt;
&lt;p&gt;If you have already installed, there are two options:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;If you want the software to be in the other location, uninstall it and rerun the setup. Choose the "Custom" installation type, which allows you to change the installation destination. After you reinstall to the "old" location, the Scheduler should find your previous configuration information.
    &lt;p&gt;&amp;nbsp;&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;If you do not care where the software is installed, you can copy your configuration information from the old location to the new. Locate the directory where the previous version was installed. Copy your license file (a file with the extension ".alc" and the "schedules" folder from the old directory to the new. &lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote dir="ltr" style="margin-right: 0px;"&gt;
&lt;p&gt;Now restart the Arcana Scheduler service and reconnect with the Schedule Administrator. Your scheduled programs should now appear. Select About from the Help menu and make sure your license information appears correctly. If it does not, double check that you copied the license file properly.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;&lt;/h2&gt;
</description><guid>http://www.arcanadev.com/support/kb/K00000204.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item><item><title>I02000022: Diagnosing e-mail notification problems</title><link>http://www.arcanadev.com/support/kb/I02000022.aspx</link><description>&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;If e-mail notification is not working correctly, you can review a log file created by the Scheduler for diagnostic information. This log file can be viewed with any text editor (such as Notepad) and records a transcript of the conversation with the mail server.&lt;/p&gt;
&lt;p&gt;If this log does not provide enough information for you to determine the problem, please contact us for assistance.&lt;/p&gt;
&lt;h2&gt;Locating the Log File&lt;/h2&gt;
&lt;p&gt;The procedure for locating the log file depends on the version of the Scheduler you are using. Please consult the appropriate section below for more information.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Versions Prior to 2.3&lt;/h3&gt;
&lt;p&gt;To enable logging of e-mail activity, run the Registry Editor and locate the key&lt;/p&gt;
&lt;div class="literal"&gt;
&lt;pre&gt;HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Arcana Scheduler\Configuration&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;To this key add a new DWORD value called "DebugMail" and set its value to 1.&lt;/p&gt;
&lt;p&gt;Then use the Test option in the Configuration Editor to send a test message. The Scheduler will generate a log file called "adschedulermail.log" in the Arcana Scheduler program directory. &lt;/p&gt;
&lt;h3&gt;Versions 2.3.0.x, 2.3.1.x&lt;/h3&gt;
&lt;p&gt;A log file called "smtp.log" is automatically created in the "program files\arcana development\notification agent" directory.&lt;/p&gt;
&lt;h3&gt;Versions 2.3.2.x and Later&lt;/h3&gt;
&lt;p&gt;A log file called "adssmtp.log" is automatically created in the Arcana Scheduler program directory.&lt;/p&gt;
&lt;h2&gt;Common Problems&lt;/h2&gt;
&lt;p&gt;Common e-mail problems are discussed below.&lt;/p&gt;
&lt;h3&gt;User ID specified when not needed&lt;/h3&gt;
&lt;p&gt;Most SMTP servers DO NOT require (or accept) a user ID and password. If you have specified login credentials, try removing them. If the e-mail log shows an error (or ends) after the instruction "AUTH LOGIN", this indicates that you should remove the user ID. For example: &lt;/p&gt;
&lt;div class="output"&gt;
&lt;pre&gt;EasyMail SMTP version 5, 0, 0, 0
01/25/00 11:18:19   Opening Socket.
Connecting to: mail.arcanadev.com
EHLO arcanadev.com
220 mail.arcanadev.com ESMTP
250-mail.arcanadev.com
250-PIPELINING
250 8BITMIME
AUTH LOGIN
502 unimplemented (#5.5.1)
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
</description><guid>http://www.arcanadev.com/support/kb/I02000022.aspx</guid><pubDate>Tue, 05 May 2009 13:28:11 GMT</pubDate></item></channel></rss>
