Task Scheduler Error

We have a perl script running on Windows 2003 Server (called via Task Scheduler) that parses CSV files and inserts the records into a SQL 2000 database.  

The Task Scheduler Log (SchedLgU.Txt) states: "Result: The task completed with an exit code of (9)," which according to http://www.hiteksoftware.com/mize/Knowledge/articles/049.htm, means "The storage control block address is invalid."

Any idea what might be causing this error or how we can rectify it?

Thanks - Matt



 
LVL 1
hennessymAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SysExpertCommented:
1) has this worked in the past ?
2) Wat has changed ?

3) Does a manual run have issues ?

Mostly errors are caused by permissions of the task scheduled, and the context of the user.

I hope this helps !
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Adam314Commented:
Does the perl script create a log?  If not, could you change it so it does create a log - writing to the log every so often.  Then you could look at the log and see the last portion that ran successfully.
0
hennessymAuthor Commented:
Thanks, guys.  

Turns out the error msg was generated because the script was trying to insert nulls into fields that were not setup to allow null values.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.