Sunday, 22 March 2015

How To Debug Custom Timer Job

Debugging a custom timer job is very easy.

1. Deploy your code.
2. Now go to debug and select "Attach to process".
3. Search for OWSTIMER.exe.
4. Select  OWSTIMER.exe and click on Attach.
5. Now Wait for some time, the debugger will apply.

Note: If OWSTIMER.exe not found then what???

Go to run and search enter services.msc.

Search for SharePoint 2010 Timer and start that, then repeat the above process.

0 comments:

Post a Comment