Click here to Skip to main content
16,015,755 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using a job definition in my SharePoint application and while installing the application i need the job definition to run on all the Web Front End Servers to do some initial settings.

A problem that occurs is that the jobdefintion do not starts working.

But when i go for restarting the timerservice it works however it causes a popup from Microsoft Just In time Debugger showing an unhandled exception.

why this error is causing "An unhandled exception ('system.security.cryptography.cryptographicexception') occured in owstimer.exe[4792]"
Is there any way to prevent this error programmatically..
(OR)

How can i initiate a jobdefinition to work without resetting the SharePoint TimerService?

Please provide your valuable suggestions...
Posted
Updated 28-Nov-11 20:23pm
v2

1 solution

If you are deploying via a feature, which you should be, you can add code in the feature activated event handler to initialize the timer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900