Aug 30, 2012

Debugging an SPTimerJob

Here's a checklist to run through if you're having problems debugging an SPTimerJob:

1. Make sure your Visual Studio debugger is attached to OWSTimer.exe
2. If you've updated the DLL for your SPTimerJob, you must restart the SharePoint Timer service.
3. Don't run the job using the "Run now" option in the Timer Definition page; instead program your job for a 1 minute interval and let the service run the job itself.

No comments:

Post a Comment