Other Support Options
|
Page Tools
|
Feedback |
| Revised | : | January 6, 2006 (mc) |
| Version | : | Connector 6.0.0.3 and greater |
| Revision | : | 1 |
SYMPTOMS
When the SQL Server Agent attempts to run the ILLiad Connector batch files, it immediately returns a status of "Failed".
ERROR MESSAGES
If you right-click on the job and choose Job History, you will see an error like this:
The job failed. The Job was invoked by User MACHINENAME\ACCOUNT. The last step to run was step 1 (Run ILLiad Connector).
If you click the checkbox to view details, then you will see this or a similar additional error:
Executed as user: MACHINENAME\ACCOUNT. ...nformation ************************ C:\WINNT\system32>REM C:\WINNT\system32>REM This batch file is what the SQL Agent runs when it is scheduled to run. C:\WINNT\system32>REM C:\WINNT\system32>REM There are 4 possible commands you can send the Connector. They are: C:\WINNT\system32>REM C:\WINNT\system32>REM BorrowingDownloads - downloads statuses like Shipped, Conditional, etc. C:\WINNT\system32>REM LendingDownloads - imports new requests as well as conditionals and renewals C:\WINNT\system32>REM BorrowingUpdates - updates items to received or returned and requests renewals C:\WINNT\system32>REM LendingUpdates - updates as conditional, cancelled, shipped, etc. C:\WINNT\system32>REM C:\WINNT\system32>REM Each of these can be done individually or at the same time, by adding C:\WINNT\system32>REM them to the same command line. C:\WINNT\system32>REM C:\WINN... Process Exit Code -1073741787. The step failed.
CAUSE
The SQL Server Agent, in order to run a CmdExec type job (system commands, external applications, etc.), must have permissions. Only Administrator (local/domain) level accounts on the NT/2000 machine have permissions to run this type of job by default.
Another cause could be that the ILLiadVersion6Update.exe was not run on the server where the ILLiad Connector is running.
RESOLUTION
IF the ILLiadVersion6Update.exe has not been run (it would show under Add/Remove Programs if it had been installed), you can run the executable from the Setup .. ClientUpdates .. 6.0.0.1 folder. It is the same file that was run on the client machines.
There are 3 possible solutions to the permissions issue: Changing the account that the SQL Server Agent uses to run (recommended), overriding the setting that resticts the CmdExec jobs being only run by Admin accounts, or using a different scheduling software to run the ILLiad Connector batch files.
To change the account that the SQL Server Agent uses to run, open the Services dialog, find SQLSERVERAGENT, right-click and choose properties, click the LogOn tab and put an Administrator level account and password into the fields provided. Stop and restart the service.
To allow all users the ability to run the SQL Server Agent CmdExec jobs, right click the SQL Server Agent under Management using the SQL Server Enterprise Manager. Select the Job System tab. Under "Non-SysAdmin job step proxy account", uncheck the "Only users with SysAdmin privileges can execute CmdExe and ActiveScripting job steps. The system will prompt you for an Administrator username, password, and domain. Fill in these 3 items and hit OK.
If you elect to use a third-party scheduling software, just run the batch files as needed. The default schedule is:
USING THE WINDOWS TASK SCHEDULER
The Windows Task Scheduler is another way to run the ILLiad Connector. It is part of Windows 2000 Server, as well as Windows NT 4.0 Server machines that have had the installation of the Offline Browsing Pack, a component of Internet Explorer 5. This method is recommended if the SQL Server database is not on the ILLiad server machine.
To access the Windows Task Scheduler, follow these steps:
The new task will appear in the Scheduled Tasks applet in Control Panel. If you want to modify a task, right-click the process and select Properties to display an advanced dialog box where you can change the task parameters.
More Related Topics
|