2005-04-08, 04:33 AM
I think CDK Scheduler is having a problem with single quotes in descriptions. This is really bad if you record any Stargate SG-1's as almost every episode description has the word "Goa'uld" in it... Here is the exception:
Code:
Unhandled Exception: System.Data.OleDb.OleDbException: Syntax error (missing operator) in query expression 'name='Stargate SG-1' and sub_title='Need' and description='Smitten Daniel learns Goa'uld secrets from an alien princess.''.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.ExecuteReader()
at RecTracker.RecordingTracker.hasShowBeenRecorded(String title, String subtitle, String description, String uniqueid)
at RecordingUtils.RecordingUtils.isDuplicateRecorded(Recordings recording, Programme program)
at RecordingUtils.RecordingUtils.passedRestrictions(Recordings recording, Programme program, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.pAddProgramList(RecordingUtils recordingUtil, IList programList, Recordings priorityRecordings, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.pAddPrograms(RecordingUtils recordingUtil, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.Main(String[] args)