Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTS Driver Error
I am not sure what happened, maybe an update within Windows, but I am getting an error now when my scheduled events runs a TTS driver command.  I use this to announce the weather in the morning.  Nothing on software or hardware has changed other than Windows updates.

11/17 01:34:29-CQCServer, CQCServer, WMPAudioPlayerThread_2
    CQCMedia, CQCMedia_WMPAudioPlayer.cpp.1047, Failed/Cannot Do, Error: 5910/0/0
    Could not build the filter graph for file 'C:\Program Files\CQC\CQCData\Server\Data\CQSLSpeech\TTS\CQSLS_TTSData3.wav'
    DirectShow error: 80040256
      <CQCServer> CQCMedia_WMPAudioPlayer.cpp - 1083

11/17 01:34:29-CQCServer, CQCServer, WMPAudioPlayerThread_2
    CQCMedia, CQCMedia_WMPAudioPlayer.cpp.840, Failed/App Status
    An exception occured in the audio player processing loop, restarting loop
11/17 01:34:29-CQCServer, CQCServer, CQCDrv_TTSThread134
    CQSLSpeechS, CQSLSpeechS_DriverImpl.cpp.581, Failed/Cannot Do
    An error occuring trying to play speech output file
    C:\Program Files\CQC\CQCData\Server\Data\CQSLSpeech\TTS\CQSLS_TTSData3.wav
I attempted to roll back the Windows updates to an earlier date, but it just screwed up Windows Server 2016 - couldn't RDP and updates wouldn't work. I ended up having to restore the system state from an earlier backup to fix that issue, but still have the problem with the TTS Driver. Since this is a C++ driver, I can't really debug myself, but have been thinking about a way to build a simple driver using some of the tools available. Will respond back if I am able to put something together.
TTS still working for me, but I think I had added some program that blocks Windows updates a while back. I don't have a ton of time right now to play around but if you need me to try something let me know. Maybe over xmas break I'll take an image of my server and let windows update and see if I have the same issue if that would help.
-Mike G
Well, after some more debugging, I determined it is definitely a security issue that has changed. I had been using an account that has Administrative rights as the Logon account for the CQC Application Shell. I switched this to Local System for a test, and it started working again. However, when I did this, the DataLog Driver that uses ODBC stopped working. It shows its working within the ODBC applet, but CQC can't connect to it. (This is all on Windows Server Essentials 2016)

So, it seems I need to figure out which things that Local System has privileges for, to my login account that has administrative privileges.

And I may do, as you, and block access to Windows Update. I am sure it is some security hole they are plugging up in an update, but since I don't allow access from the outside other than CQC, I am not too worried.
I finally got it back working! I ended up setting up the CQC App Shell service with Local System login, and that fixed the TTS issue. To get the DataLogDB driver working, I had to add NT Authority/System as a user in the Microsoft SQL Server Management Studio. I then gave it dbo (Database Owner) rights for the CQCData database that was set up for the DataLogDB driver.

I remember that there was a reason why we didn't use the System login for the CQC App Shell a long, long time ago, and did a search but couldn't find it. It looks, at least for now, that everything is back working like it did before.
Well that's great to hear you're back up and running!
-Mike G
Another issue, but not a show stopper for me. It looks like switching to "NT Authority\System" as the login by the CQC App Shell also affects the Sonos Media Renderer. I have both this and the Sonos Zone Player driver running, and the Zone Player works fine. I rarely use the Media Renderer so until I figure this one out, will live without it, and of course it works fine if I use the CQC Admin login. I get a Network System Error in the Sonos driver using the "NT Authority\System" login.

So to summarize:
1. TTS quit working using the CQCAdmin login to the CQC App Shell and I am thinking it was caused by a Windows Update in October or so.
2. Switching to the "NT Authority\System" Login fixes the TTS Driver, but the Datalog driver doesn't work when doing so. However, including the user "NT Authority\System" as a DBO within the MS SQL Server Management Studio fixes this problem.
3. The Sonos Media Renderer Driver doesn't work either when switching to System.

I am sure it is security related, but will wait and see if another Windows Update fixes this, so for now I will leave it as it is.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Event Server Error Bugman 4 766 06-05-2022, 08:54 AM
Last Post: Bugman
  Driver for Amazon 4k Stick Darrie 3 750 01-15-2022, 02:21 PM
Last Post: znelbok
  Help with Log File Error karenlee 4 987 10-28-2021, 08:17 AM
Last Post: Dean Roddey
  CQSL Interface Driver connects but no control NightLight 3 813 10-26-2021, 01:12 PM
Last Post: NightLight
  Template scaling error NishanF 1 1,085 11-10-2020, 03:21 PM
Last Post: NishanF
  Error Running Installer to Enable SSL gReatAutomation 2 1,329 10-26-2020, 07:41 AM
Last Post: gReatAutomation
  Error trying to edit scheduled events George M 15 3,032 09-27-2020, 09:27 AM
Last Post: George M
  ClickPLC driver now failing after upgrade znelbok 2 1,158 09-21-2020, 10:48 PM
Last Post: znelbok
  Pentair driver tom 5 2,272 08-02-2020, 11:29 PM
Last Post: kblagron
  Web Camera: libvlc.dll error simplextech 15 6,559 07-23-2020, 05:22 AM
Last Post: batwater

Forum Jump:

Users browsing this thread: 1 Guest(s)