none
Referencing Speech SDKs from a WCF Service on a Windows Server RRS feed

  • Question

  • Hello,

    I have a question about application deployment.

     

    I have a WCF Service that references Microsoft.Speech library. When i create the service locally I directly reference the Microsoft.Speech assembly (C:\Program Files\Microsoft Speech Platform SDK\Assembly\Microsoft.Speech.dll).

    When I deploy it to a Windows Server IIS and try to connect to it from a client running on my local machine, it fails to find the assembly.

    Could not load file or assembly 'Microsoft.Speech, Version=10.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

     

    My question is, when i create the reference locally on my service, how does it maintain that reference when I deploy it? My Server has the Microsoft Speech Platform Server Runtime (10.x) installed. Does the assembly version need to match exactly? When the service runs does it look in the GAC for the runtime assembly? Should I copy the assembly into my service and reference it from the relative path?

     

    Thanks


    My educational lectures on C# and .Net in general (ranging from beginner level topics to advanced topics): mariocatch.wordpress.com
    Saturday, April 30, 2011 4:47 AM

All replies

  • Any help would be greatly appreciated.
    My educational lectures on C# and .Net in general (ranging from beginner level topics to advanced topics): mariocatch.wordpress.com
    Saturday, April 30, 2011 10:06 PM
  • This forum is for Microsoft Speech Server Authoring questions and not the Microsoft Speech API, sorry.
    -- How To Ask a Question: http://support.microsoft.com/kb/555375 -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
    Saturday, April 30, 2011 11:07 PM