2005-03-23, 12:20 PM
The failure
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
Unhandled Exception: System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
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 pri
orityRecordings, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.pAddPrograms(RecordingUtils recordingUtil, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.Main(String[] args)
[/QUOTE]
The .log file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
3/23/2005 6:14:25 AM.330 VERBOSE [8] installDirectory is C:\Program Files\devnz\gbpvr\
3/23/2005 6:14:25 AM.330 VERBOSE [8] configurationFile is config.xml
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
3/23/2005 6:14:25 AM.345 VERBOSE [8] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/DontAntiAlias
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/DontAntiAlias : false
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/LoggingLevel
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/LoggingLevel : Debug
[/QUOTE]
The .xml file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<?xml version="1.0" encoding="UTF-8"?>
<GBPVR d1p1:noNamespaceSchemaLocation="C:\Program Files\devnz\gbpvr\PriorityRecordings.xsd" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance">
<Configuration>
<MissingRecordingPriority>0</MissingRecordingPriority>
<Conflicts>Delete</Conflicts>
<DuplicatesAllowed>Yes</DuplicatesAllowed>
</Configuration>
<Recording priority="1">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Special Victim</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Tuesday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="2">
<Channel>8</Channel>
<Search>
<Title>
<TextSearch>Home Edition</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
</Recording>
<Recording priority="3">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Trial by Jury</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Friday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="4">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Criminal Intent</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Sunday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="5">
<Channel>5</Channel>
<ProgramName>Medium</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Monday</DaysOfWeek>
</LimitDays>
<Padding>
<PrePadding>2</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="6">
<Channel>5</Channel>
<ProgramName>Committed</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
</Recording>
<Recording priority="7">
<Channel>25</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Saturday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="10:30" />
<End time="11:00" />
</ScheduleTime>
</Recording>
<Recording priority="8">
<Channel>5</Channel>
<ProgramName>Scrubs</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Tuesday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="20:00" />
<End time="20:30" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="9">
<Channel>46</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<ScheduleTime>
<Start time="22:00" />
<End time="22:30" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="10">
<Channel>28</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Saturday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="10:30" />
<End time="11:00" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="11">
<Channel>59</Channel>
<ProgramName>Good Eats</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
</GBPVR>
[/QUOTE]
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
Unhandled Exception: System.Data.OleDb.OleDbException: IErrorInfo.GetDescription failed with E_FAIL(0x80004005).
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 pri
orityRecordings, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.pAddPrograms(RecordingUtils recordingUtil, ArrayList scheduleArray)
at PriorityRecording.RecordingManager.Main(String[] args)
[/QUOTE]
The .log file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
3/23/2005 6:14:25 AM.330 VERBOSE [8] installDirectory is C:\Program Files\devnz\gbpvr\
3/23/2005 6:14:25 AM.330 VERBOSE [8] configurationFile is config.xml
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
3/23/2005 6:14:25 AM.345 VERBOSE [8] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/DontAntiAlias
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/DontAntiAlias : false
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue() loading new key/value into cache: /settings/LoggingLevel
3/23/2005 6:14:25 AM.345 VERBOSE [8] getValue: /settings/LoggingLevel : Debug
[/QUOTE]
The .xml file
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<?xml version="1.0" encoding="UTF-8"?>
<GBPVR d1p1:noNamespaceSchemaLocation="C:\Program Files\devnz\gbpvr\PriorityRecordings.xsd" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance">
<Configuration>
<MissingRecordingPriority>0</MissingRecordingPriority>
<Conflicts>Delete</Conflicts>
<DuplicatesAllowed>Yes</DuplicatesAllowed>
</Configuration>
<Recording priority="1">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Special Victim</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Tuesday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="2">
<Channel>8</Channel>
<Search>
<Title>
<TextSearch>Home Edition</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
</Recording>
<Recording priority="3">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Trial by Jury</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Friday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="4">
<Channel>5</Channel>
<Search>
<Title>
<TextSearch>Criminal Intent</TextSearch>
</Title>
</Search>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Sunday</DaysOfWeek>
</LimitDays>
</Recording>
<Recording priority="5">
<Channel>5</Channel>
<ProgramName>Medium</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<LimitDays>
<DaysOfWeek>Monday</DaysOfWeek>
</LimitDays>
<Padding>
<PrePadding>2</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="6">
<Channel>5</Channel>
<ProgramName>Committed</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
</Recording>
<Recording priority="7">
<Channel>25</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Saturday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="10:30" />
<End time="11:00" />
</ScheduleTime>
</Recording>
<Recording priority="8">
<Channel>5</Channel>
<ProgramName>Scrubs</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Tuesday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="20:00" />
<End time="20:30" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="9">
<Channel>46</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<ScheduleTime>
<Start time="22:00" />
<End time="22:30" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="10">
<Channel>28</Channel>
<ProgramName>X-Men</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<LimitDays>
<DaysOfWeek>Saturday</DaysOfWeek>
</LimitDays>
<ScheduleTime>
<Start time="10:30" />
<End time="11:00" />
</ScheduleTime>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
<Recording priority="11">
<Channel>59</Channel>
<ProgramName>Good Eats</ProgramName>
<Quality>Medium</Quality>
<CaptureSource>1</CaptureSource>
<Duplicates>
<Recorded>No</Recorded>
<Scheduled>No</Scheduled>
</Duplicates>
<Padding>
<PrePadding>1</PrePadding>
<PostPadding>2</PostPadding>
</Padding>
</Recording>
</GBPVR>
[/QUOTE]