1

HI All,

I have successfully created a Quartz.NET remote server running inside a windows service. I followed examples 12 in the source and slightly modified it to use AdoJobStore with sqlite.

On remote client I created a windows form application and successfully connected with the server. Everything went fine until the point where I'm trying to actually add jobs.

        JobDetail detail = new JobDetail(job.JobName, "default", typeof(NativeJob));
        detail.Description = job.Description;            
        JobDataMap map = new JobDataMap();
        map.Put(NativeJob.PropertyCommand, job.Command);
        map.Put(NativeJob.PropertyParameters, job.Arguments);            
        detail.JobDataMap = map;

        // create trigger
        Trigger trigger = new CronTrigger(job.JobName, "default", job.CronExpression);

        //Add job w/ trigger
        _scheduler.ScheduleJob(detail, trigger);    

The last line above failed with Exception :

Unable to find assembly 'System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'.

The SQLite assembly is there. Oddly enough this doesn't happen when I'm using RamJobStore. Anybody please help.

  • I finally replaced SQLite with SqlServer and it works fine. No more trouble finding the assembly. If anybody had any luck using SQLite with Quartz.NET please let me know – suparthawijaya Nov 11 '10 at 07:16

1 Answers1

2

You're probably running into the SQlite x86 vs x64 issue or the SQlite on .NET 4 issue.

Community
  • 1
  • 1
Mauricio Scheffer
  • 96,120
  • 20
  • 187
  • 273