none
Исключение System.Runtime.InteropServices.COMException RRS feed

  • Общие обсуждения

  • при реализации 

    ТЕСТ - КОНТАКТЫ  (необходимо переключить ВЕРСИЮ САЙТА == Специальная версия для людей с ограниченными возможностями)

    НАЖАТЬ НУЖНО КНОПКУ == ОЗВУЧИТЬ СОДЕРЖИМОЕ СТРАНИЦЫ

    получаю ошибку 

    Server Error in '/' Application.
    
    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 from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    
    Exception Details: 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 from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    
    Source Error: 
    
    
    Line 38:     {
    Line 39:         //creating the object of SpeechSynthesizer class
    Line 40:         SpeechSynthesizer sp = new SpeechSynthesizer();
    Line 41:         //SpeechSynthesizer sp = new SpeechSynthesizer();
    Line 42:         //setting volume 
    
    Source File: d:\hst\json-krakoss_80ada4e6\http\contact\Default.aspx.cs    Line: 40 
    
    Stack Trace: 
    
    
    [COMException (0x80040154): 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 from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).]
       Microsoft.Speech.Synthesis.SpeechSynthesizer..ctor() +251
       contact_Default.btnVoice_Click(Object sender, EventArgs e) in d:\hst\json-krakoss_80ada4e6\http\contact\Default.aspx.cs:40
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9633690
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
       System.Web.UI.<ProcessRequestMainAsync>d__14.MoveNext() +5226
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34249

    прошу помочь

    С уважением Юрий




    11 марта 2016 г. 6:36