我的SharePoint产品中的SharePoint Timer服务重置问题 [英] Problem with the SharePoint Timer service reset in my SharePoint product

查看:91
本文介绍了我的SharePoint产品中的SharePoint Timer服务重置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在SharePoint应用程序中使用作业定义,并且在安装该应用程序时,我需要该作业定义在所有Web前端服务器上运行以进行一些初始设置.

发生的问题是作业定义无法开始工作.

但是当我重新启动timerservice时,它可以工作,但是会导致Microsoft Just In time Debugger弹出一个消息,显示未处理的异常.

为什么此错误导致"owstimer.exe [4792]中发生未处理的异常("system.security.cryptography.cryptographicexception")"
有什么方法可以通过编程防止此错误..
(或)

如何在不重置SharePoint TimerService的情况下启动作业定义?

请提供宝贵的建议...

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...

推荐答案

如果要通过某个功能进行部署,应该在功能激活的事件处理程序中添加代码以进行初始化计时器.
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.


这篇关于我的SharePoint产品中的SharePoint Timer服务重置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆