2006-05-11, 04:52 PM
I am having a problem with the PriorityRecording exe crashing when run
When the xml looks like this:
<?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>
</GBPVR>
the program runs an exits fine. But as soon as I add any recording block it crashes :
Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 11/05/2006
Time: 17:40:59
User: N/A
Computer: MYTV1
Description:
Application popup: PriorityRecording.exe - Common Language Runtime Debugging Services : Application has generated an exception that could not be handled.
Process id=0x468 (1128), Thread id=0xd1c (3356).
I even copied recording block from the example files like :
<Recording priority="1">
<Channel>4</Channel>
<ProgramName>Days of our Lives</ProgramName>
</Recording>
The log file does help much:
11/05/2006 17:40:59.635 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:40:59.635 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:40:59.650 VERBOSE [9] getDatabaseConnection() creating new connection
When there is no <recording> block then the log file looks like this:
11/05/2006 17:46:58.721 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:46:58.736 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:46:58.736 VERBOSE [9] getDatabaseConnection() creating new connection
11/05/2006 17:46:58.799 VERBOSE [9] getValue() loading new key/value into cache: /settings/PluginsEnabled
11/05/2006 17:46:58.799 VERBOSE [9] getValue: /settings/PluginsEnabled : true
11/05/2006 17:46:58.845 VERBOSE [9] Loading DirectRecordingSource Configuration : 2
11/05/2006 17:46:58.861 VERBOSE [9] About to connect to remote recording service
11/05/2006 17:46:58.861 VERBOSE [9] getValue() loading new key/value into cache: /settings/RecordingServiceLocation
11/05/2006 17:46:58.861 VERBOSE [9] getValue: /settings/RecordingServiceLocation : tcp://10.0.0.3:7968/RecordingRemote
The PC is xpsp2, .net 1.1 and 2, msxml 6.0 parser, latest gbpvr and the cdkschedler sp1 is applied. Any ideas?
Thanks
James
When the xml looks like this:
<?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>
</GBPVR>
the program runs an exits fine. But as soon as I add any recording block it crashes :
Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 11/05/2006
Time: 17:40:59
User: N/A
Computer: MYTV1
Description:
Application popup: PriorityRecording.exe - Common Language Runtime Debugging Services : Application has generated an exception that could not be handled.
Process id=0x468 (1128), Thread id=0xd1c (3356).
I even copied recording block from the example files like :
<Recording priority="1">
<Channel>4</Channel>
<ProgramName>Days of our Lives</ProgramName>
</Recording>
The log file does help much:
11/05/2006 17:40:59.635 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:40:59.635 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:40:59.650 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:40:59.650 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:40:59.650 VERBOSE [9] getDatabaseConnection() creating new connection
When there is no <recording> block then the log file looks like this:
11/05/2006 17:46:58.721 VERBOSE [9] installDirectory is C:\Program Files\devnz\gbpvr\
11/05/2006 17:46:58.736 VERBOSE [9] configurationFile is config.xml
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/DatabaseConnectionString : Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] databaseConnectionString is Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.mdb";User Id=admin;Password=
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingLevel
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingLevel : Debug
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingForceFlush
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingForceFlush : true
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/LoggingMaxSize
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/LoggingMaxSize : 1000000
11/05/2006 17:46:58.736 VERBOSE [9] getValue() loading new key/value into cache: /settings/AntiAlias
11/05/2006 17:46:58.736 VERBOSE [9] getValue: /settings/AntiAlias : true
11/05/2006 17:46:58.736 VERBOSE [9] getDatabaseConnection() creating new connection
11/05/2006 17:46:58.799 VERBOSE [9] getValue() loading new key/value into cache: /settings/PluginsEnabled
11/05/2006 17:46:58.799 VERBOSE [9] getValue: /settings/PluginsEnabled : true
11/05/2006 17:46:58.845 VERBOSE [9] Loading DirectRecordingSource Configuration : 2
11/05/2006 17:46:58.861 VERBOSE [9] About to connect to remote recording service
11/05/2006 17:46:58.861 VERBOSE [9] getValue() loading new key/value into cache: /settings/RecordingServiceLocation
11/05/2006 17:46:58.861 VERBOSE [9] getValue: /settings/RecordingServiceLocation : tcp://10.0.0.3:7968/RecordingRemote
The PC is xpsp2, .net 1.1 and 2, msxml 6.0 parser, latest gbpvr and the cdkschedler sp1 is applied. Any ideas?
Thanks
James