Proposed Answer Speech Platform 11

  • Tuesday, February 28, 2012 4:30 PM
     
     

    New Windows 2008 64bit server, installed Speech Platform Runtime (x64), 
    Speech Text to Speech Voice (en-US, Helen), Speech Recognition Language - TELE (en-US), Visual Studio C# 2010 express

    Created a project that just uses only the speech synthesis part of this sample, http://msdn.microsoft.com/en-us/library/hh338697.aspx.

    I just want a simple synthesis sample to hear/test text to speech. 

    Compile and run my sample but it produces the below error

    There doesn't seem to be an obvious solution. 


    C:\Users\rschuster\Documents\Visual Studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\bin\Release>ConsoleApplication1.exe 

    Unhandled Exception: System.Runtime.InteropServices.COMException: Retrieving the 
     COM class factory for component with CLSID {D941651C-44E6-4C17-BADF-C36826FC3424} 
    failed due to the following error: 80040154 Class not registered (Exception f$0 $0rom HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
       at Microsoft.Speech.Synthesis.SpeechSynthesizer..ctor()
       at ConsoleApplication1.Program.Run() in C:\Users\rschuster\documents\visual s
    tudio 2010\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs:line 24
       at ConsoleApplication1.Program.Main(String[] args) in C:\Users\rschuster\docu
    ments\visual studio 2010\Projects\ConsoleApplication1\ConsoleApplication1\Progra
    m.cs:line 19

All Replies

  • Sunday, March 11, 2012 1:19 PM
     
     Proposed Answer

    Hello Randy,

    today i got the same problem. I installed the x64 version of runtime and sdk, but my litle test program was setup to x86 platform. (Project properties -> Build -> Platform target)

    hope that helps


    • Edited by mpb Sunday, March 11, 2012 1:20 PM typos
    • Proposed As Answer by Tim Cartwright Monday, May 14, 2012 3:15 PM
    •  
  • Tuesday, March 27, 2012 3:25 PM
     
     

    Hi,

    Try to uninstall any speech platform tools on your PC and reinstall the Speech Platform 11 only


    Thanks,
    MOHAMED A. SAKR | Software Development Lead Engineer | EgyptNetwork
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Also try to Vote as Helpful

  • Monday, May 14, 2012 3:14 PM
     
     
    That did not help Mohamed.

    //Will write code for food

  • Monday, May 14, 2012 3:15 PM
     
     
    That was it. Setting the app properties to any cpu or x64 worked. 

    //Will write code for food