07-06-2011 03:41 AM
I am trying to run SAN Health as a scheduled task on windows 2008 server, but when I run the task I get the below error.
An error has occurred.
1) Check LAN connectivity and for information entered incorrectly into SAN health
2) Ensure you are using the latest version of SAN health (www.brocade.com/sanhealth)
3) Reinstall SAN health and reboot Windows to ensure all libraries are correctly installed
4) If this error continues to occur please send the following information to SHAdmin@brocade.com
a) This error message which has been saved to WorkingDir\Audit Logs\
b) The .SET file used
c) The Windows version and patch level
d) Screenshots of any relevant windows
Error Number: 5
Description: Invalid procedure call or argument
Section: Add Switches To The Audit Set
Additional Info: Selecting an Item In The Tree View
Build Number: DC06052010
INFO-07:00:05> New SAN Audit Set Started Using SAN Health Version 3.2.2
I also get (0x41301) in the scheduled task manager as the last running results.
I do know that "C:\Program Files (x86)\Brocade\SAN Health\SANHealth.exe" "E:\SAN Health Audits\Fri\Fri.Set" is correct, due to when i copy and past it to a command prompt windows it works.
I am useing the same username and password as well.
07-13-2011 10:25 AM
Per our email conversion, please check the "Run only if logged on" checkbox in the Task Scheduler. Please let us know if this solves the problem.
07-15-2011 12:29 AM
I dis change that but still did not work, i have associate the SET file with the sanhealth.EXE file. double clicking the set file or execute it from the dos prompt it works. but as soon as i make it a scheduled task and execute it or run it as a scheduled time. i still get the same above error.
08-12-2011 05:37 AM
We had to remove " from the Add arguments field, it seems that Windows 2008 automatically add " around the arguments
We have later changed it so we have the SAN Health command in a bat file