问题描述
我需要获取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!!
推荐答案
这篇关于Quartz.Net应用程序抛出错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!