Scheduled agent not working

Hi I am having an scheduled agent,but it is not working.When i check my logs i got the following error

AMgr: Agent (‘Desk’ in ‘mail\ITHelp.nsf’) error message: Error creating product object

Subject: Scheduled agent not working

If possible, you will need to run the agent in a test environment or somewhere with the script debugger on to find the line creating this error

You can then search this forum for “error creating product object”

Subject: RE: Scheduled agent not working

There is no issue with script,Manually it is working but i need to scheduled

Subject: RE: Scheduled agent not working

If there was no issue with the script, it would run, in the first place.

There is a bunch of possible reasons, why the code would run locally on your machine but not scheduled on the server. Without knowing your code and the configuration, it’s pointless to shoot in the dark.

But you could e.g. use the remote debugger to see, what line is causing the error without having to give us more details.

Subject: Scheduled agent not working

http://www-10.lotus.com/ldd/nd6forum.nsf/search?SearchView&Query=error%20creating%20product%20object%20&SearchOrder=1&SearchMax=0&SearchWV=FALSE&SearchFuzzy=FALSE&Start=1&Count=100

Subject: RE: Scheduled agent not working

Thanks Problem was i have declared Notesui class and Notesworkspace class.I have removed both the objects,now it is working.