Anyone know what this is ?
(http://www.celestial-images.com/RadioDJ-Error.jpg)
Win7 - Premium. Applied updates to .Net to try and fix this. No Joy. It appears to be related in some manner to events. If I create the following event and run it it throws this error.
1 Stop
2 Run Application C:\blah blah blah\ .bat file to replace the TTS xml file.
3 Load Rotation General Rotation
4 Clear Playlist
5 Play
Only this one Computer throws this error. My Test Laptop, also Win7 does not.
Any suggestions would be welcomed. Searching for this error doesn't yield much that's useful.
Thanks
Bill
Update,
Ran a lot of tests with various Events and it looks like it may have been a UAC problem. Though its curious why it only affected Events. But Running RadioDJ as Administrator seems to get past this. Though more testing is in order.
UAC is very sensitive when it comes to access files outside of the user's folder. If you .bat also copies/replaces files, it's even worse.
Marius,
Stripping down the event to the bare minimum told me that it wasn't the .bat file. It also seemed to load a track or rotation without error. But stopping and starting did throw this error.
1 Stop|
2 Start|
Threw the error.
Regards
Bill
The exception trace indicates it is coming after or in Plugin_TTS.PluginClass.ReadXMLTemplate method. Looks like one of TTS template XML files is misformatted. Exact file is determined from track type.
There must be something missing in the XML template as the exception trace tries to read past available properties - "There is no row at index 3". Is suspect it is NowPlaying.xml, because original file contains 4 <Message> rows and "index 3" is in fact 4th.
I've never used TTS, so don't really know how templates work.
Hi Andy,
Interesting ..... I *assumed* (which is usually a mistake) that the line in this template:
<Tracks2Speak>3</Tracks2Speak>
the "3" indicated something other than the number of records. If as you say it is an index, based on zero then this makes sense.
good Info - Thank You. The comedy here is that the .bat file copies over the NowPlaying file with basically empty records. Effectively turning TTS off. The test system(s), 1 Win7 and 1 XP have never thrown this error and the XML files are the same. The production system, using an ASI soundcard so swapping them around wasn't as simple, had an egregious error in that the RadioDJ executable was not marked "Run As Administrator". An oversight - and making this change seemed to solve it.
So hopefully that this is now solved. And I guess I have some additional reading to do regarding XML 8)
Regards
Bill