Quartz.Net应用程序抛出错误。 [英] Quartz.Net application is throwing error.

查看:80
本文介绍了Quartz.Net应用程序抛出错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取Active Directory用户,组等列表和表单报告。

最初我使用了计时器控件来完成这项工作。但是如果应用程序闲置了一段时间(比如说有一天),那么游泳池就会死亡。我的应用程序最终没有从Active Directory获取数据,除非有人浏览应用程序。为了解决这个问题,我试图使用Quartz.Net调度程序。我已经在我的系统中安装了Quartz作为Windows服务。我正在尝试运行一个简单的工作,它会定期将TimeStamp定时插入DataBase。但我收到以下错误。我附上了代码。 点击此处。任何帮助将非常感激。


Hi, I need to get the Active Directory Users, group and etc lists and form reports.
Initially i have used the timer control to do this job. But if the application is idle for some time(say one day) then the pool is dying. My application ending up without getting the data from Active Directory unless someone browses the application. To address this i am trying to use the Quartz.Net scheduler. I have installed the Quartz in my system as a windows service. And i am trying to run a simple job which hits and inserts the TimeStamp into the DataBase at regular intervals forever. But i am getting the following error. I have attached the code. Click here. Any help would be appreciated greatly.

Could not load file or assembly 'QuartzBasicApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

任何帮助都会受到极大的赞赏!!

Any help would be appreciated greatly!!

推荐答案

它在我的程序集作为共享后开始工作部件。现在我能够使用石英服务,我能够安排工作。现在我的应用程序不依赖于应用程序池,即使我停止应用程序池和我的网站....仍然工作按固定的定期间隔触发。谢谢大家。
It started working after making my assembly as a shared assembly. Now i could able to use quartz services and i am able to schedule jobs. Now my application is not dependent on application pool i.e., even if i stop app pool and my web site....still the jobs are triggering at fixed regular intervals. Thanks everyone.


这篇关于Quartz.Net应用程序抛出错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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