Microsoft Speech SDK (en)
 

.NET Application wont work because of missing SAPI,...


 
.NET Application wont work because of missing SAPI,... Post Reply
29.04.2008 18:55 Kerem Gümrükcü

Hi,

i am doing some basic "System.Speech" development and experimenting
with SpeechRecognizer. But my application fails with a Message that
say his:

System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
gefunden.

   bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
recognizer, Boolean inproc)

   bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()

   bei
System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
value)

   bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender, EventArgs
e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
---------------------------
OK
---------------------------

It say that the SpeechRecognition is not available on this system. SAPI and
SpeechRecognition Modules
could not be found. I dont know where to go from here.What exactly is
missing here? What do i have
to install on my system in order to make it work,...

The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
and application has been developed with VStudio 2008 C#,...

Any hep is really appreciated,...

Sorry for Crossposting, but sometimes it really needs a long
time to get some answer on questions. Sometimes never...

TIA

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

RE: .NET Application wont work because of missing SAPI,... Post Reply
29.04.2008 13:37 Matthew

The speech recognition portion of the managed speech library depends on SAPI
5.3. According to this MS representative, there is not a SAPI 5.3
redistributable and it cannot be installed on Windows XP - it only exists on
Vista.

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.netspeechsdk&tid=f879c9d6-4c31-4807-8099-583e76db02ae&cat=en_US_16183bc9-21d2-4bc1-a9a0-3eb79c9e22a0&lang=en&cr=US&sloc=&p=1





"Kerem Gümrükcü" wrote:

> Hi,
>
> i am doing some basic "System.Speech" development and experimenting
> with SpeechRecognizer. But my application fails with a Message that
> say his:
>
> System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> gefunden.
>
>    bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> recognizer, Boolean inproc)
>
>    bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
>
>    bei
> System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> value)
>
>    bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender, EventArgs
> e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> ---------------------------
> OK
> ---------------------------
>
> It say that the SpeechRecognition is not available on this system. SAPI and
> SpeechRecognition Modules
> could not be found. I dont know where to go from here.What exactly is
> missing here? What do i have
> to install on my system in order to make it work,...
>
> The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> and application has been developed with VStudio 2008 C#,...
>
> Any hep is really appreciated,...
>
> Sorry for Crossposting, but sometimes it really needs a long
> time to get some answer on questions. Sometimes never...
>
> TIA
>
> Regards
>
> Kerem
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>
>
>
Re: .NET Application wont work because of missing SAPI,... Post Reply
30.04.2008 13:01 Kerem Gümrükcü

Hi Matthew,

>The speech recognition portion of the managed speech library depends on
>SAPI
>5.3. According to this MS representative, there is not a SAPI 5.3
>redistributable and it cannot be installed on Windows XP - it only exists
>on
>Vista.

This is really not good. What about the case (my case) if you develop
on Windows XP and your application goes to XP and Vista based
System later. There must be at least a minimal runtime that could
be used for testing purposes. Using e.g. Virtual PC to run Vista
in a Bochs is no Option for me. For special Driver Stuff i write, i
do this very often, but i wont do this for just testing a little speech
recognition software written on the fly. Ok we are planing to build
some applications with SR and SS but this will be some things
that will be done in a few months. For now we have to see
"who" can do "what" for us,...

This again pushes me towards a lot of great open source
solutions doing great speech syntesis and recognition. Though
i have to write warppers arround the (mostly) C/C++ Code
to make it work, or export its interfaces, but they are written
mainly platform indipendend and for any windows (NT based)
Systems,...

This is a big disapointment for me about the tight integration
of this technology into Vista only,...


Regards

Kerem


--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Matthew" schrieb im Newsbeitrag
news:62288ABB-BED4-4073-9E46-AE4B7BE80806@microsoft.com...
> The speech recognition portion of the managed speech library depends on
> SAPI
> 5.3. According to this MS representative, there is not a SAPI 5.3
> redistributable and it cannot be installed on Windows XP - it only exists
> on
> Vista.
>
> http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.netspeechsdk&tid=f879c9d6-4c31-4807-8099-583e76db02ae&cat=en_US_16183bc9-21d2-4bc1-a9a0-3eb79c9e22a0&lang=en&cr=US&sloc=&p=1
>
>
>
>
>
> "Kerem Gümrükcü" wrote:
>
>> Hi,
>>
>> i am doing some basic "System.Speech" development and experimenting
>> with SpeechRecognizer. But my application fails with a Message that
>> say his:
>>
>> System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
>> System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
>> gefunden.
>>
>>    bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
>> recognizer, Boolean inproc)
>>
>>    bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
>>
>>    bei
>> System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
>> value)
>>
>>    bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
>> EventArgs
>> e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
>> ---------------------------
>> OK
>> ---------------------------
>>
>> It say that the SpeechRecognition is not available on this system. SAPI
>> and
>> SpeechRecognition Modules
>> could not be found. I dont know where to go from here.What exactly is
>> missing here? What do i have
>> to install on my system in order to make it work,...
>>
>> The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
>> and application has been developed with VStudio 2008 C#,...
>>
>> Any hep is really appreciated,...
>>
>> Sorry for Crossposting, but sometimes it really needs a long
>> time to get some answer on questions. Sometimes never...
>>
>> TIA
>>
>> Regards
>>
>> Kerem
>>
>> --
>> -----------------------
>> Beste Grüsse / Best regards / Votre bien devoue
>> Kerem Gümrükcü
>> Microsoft Live Space: http://kerem-g.spaces.live.com/
>> Latest Open-Source Projects: http://entwicklung.junetz.de
>> -----------------------
>> "This reply is provided as is, without warranty express or implied."
>>
>>
>>

Re: .NET Application wont work because of missing SAPI,... Post Reply
30.04.2008 07:03 Matthew

Hi Kerem,

MS states that applications developed using the 5.1 SDK will be forward
compatible with 5.3 on Vista. It appears there are circumstances where this
is not true however. Look at the thread below on Using SAPI 5.1 in Windows
Vista for some background.

Hopefully we can get someone from MS to provide a clear explanation as to
what techniques using the 5.1 SDK would break that forward compatability.

"Kerem Gümrükcü" wrote:

> Hi Matthew,
>
> >The speech recognition portion of the managed speech library depends on
> >SAPI
> >5.3. According to this MS representative, there is not a SAPI 5.3
> >redistributable and it cannot be installed on Windows XP - it only exists
> >on
> >Vista.
>
> This is really not good. What about the case (my case) if you develop
> on Windows XP and your application goes to XP and Vista based
> System later. There must be at least a minimal runtime that could
> be used for testing purposes. Using e.g. Virtual PC to run Vista
> in a Bochs is no Option for me. For special Driver Stuff i write, i
> do this very often, but i wont do this for just testing a little speech
> recognition software written on the fly. Ok we are planing to build
> some applications with SR and SS but this will be some things
> that will be done in a few months. For now we have to see
> "who" can do "what" for us,...
>
> This again pushes me towards a lot of great open source
> solutions doing great speech syntesis and recognition. Though
> i have to write warppers arround the (mostly) C/C++ Code
> to make it work, or export its interfaces, but they are written
> mainly platform indipendend and for any windows (NT based)
> Systems,...
>
> This is a big disapointment for me about the tight integration
> of this technology into Vista only,...
>
>
> Regards
>
> Kerem
>
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
> "Matthew" schrieb im Newsbeitrag
> news:62288ABB-BED4-4073-9E46-AE4B7BE80806@microsoft.com...
> > The speech recognition portion of the managed speech library depends on
> > SAPI
> > 5.3. According to this MS representative, there is not a SAPI 5.3
> > redistributable and it cannot be installed on Windows XP - it only exists
> > on
> > Vista.
> >
> > http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.netspeechsdk&tid=f879c9d6-4c31-4807-8099-583e76db02ae&cat=en_US_16183bc9-21d2-4bc1-a9a0-3eb79c9e22a0&lang=en&cr=US&sloc=&p=1
> >
> >
> >
> >
> >
> > "Kerem Gümrükcü" wrote:
> >
> >> Hi,
> >>
> >> i am doing some basic "System.Speech" development and experimenting
> >> with SpeechRecognizer. But my application fails with a Message that
> >> say his:
> >>
> >> System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> >> System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> >> gefunden.
> >>
> >>    bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> >> recognizer, Boolean inproc)
> >>
> >>    bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
> >>
> >>    bei
> >> System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> >> value)
> >>
> >>    bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
> >> EventArgs
> >> e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> >> ---------------------------
> >> OK
> >> ---------------------------
> >>
> >> It say that the SpeechRecognition is not available on this system. SAPI
> >> and
> >> SpeechRecognition Modules
> >> could not be found. I dont know where to go from here.What exactly is
> >> missing here? What do i have
> >> to install on my system in order to make it work,...
> >>
> >> The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> >> and application has been developed with VStudio 2008 C#,...
> >>
> >> Any hep is really appreciated,...
> >>
> >> Sorry for Crossposting, but sometimes it really needs a long
> >> time to get some answer on questions. Sometimes never...
> >>
> >> TIA
> >>
> >> Regards
> >>
> >> Kerem
> >>
> >> --
> >> -----------------------
> >> Beste Grüsse / Best regards / Votre bien devoue
> >> Kerem Gümrükcü
> >> Microsoft Live Space: http://kerem-g.spaces.live.com/
> >> Latest Open-Source Projects: http://entwicklung.junetz.de
> >> -----------------------
> >> "This reply is provided as is, without warranty express or implied."
> >>
> >>
> >>
>
>
>
Re: .NET Application wont work because of missing SAPI,... Post Reply
02.05.2008 11:04 Steve Meyer [MSFT]

Hi Kerem,

System.Speech.Recognition.SpeechRecognizer will attempt to instantiate the
default recognizer.  And if it can't find it, it will throw a
System.PlatformNotSupportedException.  Do you know which SR engine is your
default?  If not, you can look this up in the Speech control panel.

-- Steve Meyer

This posting is provided "AS IS" with no warranties, and confers no rights.

"Kerem Gümrükcü" wrote in message
news:%232DYOnhqIHA.4904@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> i am doing some basic "System.Speech" development and experimenting
> with SpeechRecognizer. But my application fails with a Message that
> say his:
>
> System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> gefunden.
>
>   bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> recognizer, Boolean inproc)
>
>   bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
>
>   bei
> System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> value)
>
>   bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
> EventArgs e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> ---------------------------
> OK
> ---------------------------
>
> It say that the SpeechRecognition is not available on this system. SAPI
> and SpeechRecognition Modules
> could not be found. I dont know where to go from here.What exactly is
> missing here? What do i have
> to install on my system in order to make it work,...
>
> The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> and application has been developed with VStudio 2008 C#,...
>
> Any hep is really appreciated,...
>
> Sorry for Crossposting, but sometimes it really needs a long
> time to get some answer on questions. Sometimes never...
>
> TIA
>
> Regards
>
> Kerem
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>
Re: .NET Application wont work because of missing SAPI,... Post Reply
02.05.2008 14:21 Matthew

Which managed speech objects that deal with speech recognition are backwards
compatible with the 5.1 engine?

According to http://www.codeproject.com/KB/vista/SAPISophia.aspx the grammar
objects are not.

Are you saying that it is possible to build a functional SR application
against the 5.1 engine using .Net managed speech? If so do you have links to
any resources which discuss this?

"Steve Meyer [MSFT]" wrote:

> Hi Kerem,
>
> System.Speech.Recognition.SpeechRecognizer will attempt to instantiate the
> default recognizer.  And if it can't find it, it will throw a
> System.PlatformNotSupportedException.  Do you know which SR engine is your
> default?  If not, you can look this up in the Speech control panel.
>
> -- Steve Meyer
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Kerem Gümrükcü" wrote in message
> news:%232DYOnhqIHA.4904@TK2MSFTNGP03.phx.gbl...
> > Hi,
> >
> > i am doing some basic "System.Speech" development and experimenting
> > with SpeechRecognizer. But my application fails with a Message that
> > say his:
> >
> > System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> > System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> > gefunden.
> >
> >   bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> > recognizer, Boolean inproc)
> >
> >   bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
> >
> >   bei
> > System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> > value)
> >
> >   bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
> > EventArgs e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> > ---------------------------
> > OK
> > ---------------------------
> >
> > It say that the SpeechRecognition is not available on this system. SAPI
> > and SpeechRecognition Modules
> > could not be found. I dont know where to go from here.What exactly is
> > missing here? What do i have
> > to install on my system in order to make it work,...
> >
> > The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> > and application has been developed with VStudio 2008 C#,...
> >
> > Any hep is really appreciated,...
> >
> > Sorry for Crossposting, but sometimes it really needs a long
> > time to get some answer on questions. Sometimes never...
> >
> > TIA
> >
> > Regards
> >
> > Kerem
> >
> > --
> > -----------------------
> > Beste Grüsse / Best regards / Votre bien devoue
> > Kerem Gümrükcü
> > Microsoft Live Space: http://kerem-g.spaces.live.com/
> > Latest Open-Source Projects: http://entwicklung.junetz.de
> > -----------------------
> > "This reply is provided as is, without warranty express or implied."
> >
>
>
Re: .NET Application wont work because of missing SAPI,... Post Reply
02.06.2008 11:50 Brian Mouncer[MSFT]

You are getting this error because there aren't any SR engines installed on
the machine.
Vista, and XP Tablet edition ship with SR and TTS engines, but Win98, XP,
and Server OSes don't.
We shipped engines(6.1) in earlier versions of Office, so you can get
engines that route.

If you are an ISV and need engines to distribute with your software, we make
available a redist package of the 6.1 engines.  If you're just
experimenting, the simples route is to use Vista as it comes with out latest
8.0 engines.

Hope that helps,

Brian.

"Kerem Gümrükcü" wrote in message
news:%232DYOnhqIHA.4904@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> i am doing some basic "System.Speech" development and experimenting
> with SpeechRecognizer. But my application fails with a Message that
> say his:
>
> System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> gefunden.
>
>   bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> recognizer, Boolean inproc)
>
>   bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
>
>   bei
> System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> value)
>
>   bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
> EventArgs e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> ---------------------------
> OK
> ---------------------------
>
> It say that the SpeechRecognition is not available on this system. SAPI
> and SpeechRecognition Modules
> could not be found. I dont know where to go from here.What exactly is
> missing here? What do i have
> to install on my system in order to make it work,...
>
> The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> and application has been developed with VStudio 2008 C#,...
>
> Any hep is really appreciated,...
>
> Sorry for Crossposting, but sometimes it really needs a long
> time to get some answer on questions. Sometimes never...
>
> TIA
>
> Regards
>
> Kerem
>
> --
> -----------------------
> Beste Grüsse / Best regards / Votre bien devoue
> Kerem Gümrükcü
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>

Re: .NET Application wont work because of missing SAPI,... Post Reply
04.06.2008 13:18 Tom Bambrough

Brian,

How do I obtain the 6.1 redistributable. I already have 5.1 from
Microsoft.com/speech.

I ran across a bug that is fixed in 6.1 so I of course like to ship 6.1 with
product instead trying to find a work around.

Tom

"Brian Mouncer[MSFT]" wrote:

> You are getting this error because there aren't any SR engines installed on
> the machine.
> Vista, and XP Tablet edition ship with SR and TTS engines, but Win98, XP,
> and Server OSes don't.
> We shipped engines(6.1) in earlier versions of Office, so you can get
> engines that route.
>
> If you are an ISV and need engines to distribute with your software, we make
> available a redist package of the 6.1 engines.  If you're just
> experimenting, the simples route is to use Vista as it comes with out latest
> 8.0 engines.
>
> Hope that helps,
>
> Brian.
>
> "Kerem Gümrükcü" wrote in message
> news:%232DYOnhqIHA.4904@TK2MSFTNGP03.phx.gbl...
> > Hi,
> >
> > i am doing some basic "System.Speech" development and experimenting
> > with SpeechRecognizer. But my application fails with a Message that
> > say his:
> >
> > System.PlatformNotSupportedException: Die Spracherkennung ist auf diesem
> > System nicht verfügbar. SAPI und die Spracherkennungsmodule wurden nicht
> > gefunden.
> >
> >   bei System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer
> > recognizer, Boolean inproc)
> >
> >   bei System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
> >
> >   bei
> > System.Speech.Recognition.SpeechRecognizer.add_SpeechHypothesized(EventHandler`1
> > value)
> >
> >   bei SpeechToCommand.STCMainForm.STCMainForm_Load(Object sender,
> > EventArgs e) in C:\projects\SpeechToCommand\STCMainForm.cs:Zeile 41.
> > ---------------------------
> > OK
> > ---------------------------
> >
> > It say that the SpeechRecognition is not available on this system. SAPI
> > and SpeechRecognition Modules
> > could not be found. I dont know where to go from here.What exactly is
> > missing here? What do i have
> > to install on my system in order to make it work,...
> >
> > The Operating System is Windows XP SP2 Up2Date. the .NET ist 3.5
> > and application has been developed with VStudio 2008 C#,...
> >
> > Any hep is really appreciated,...
> >
> > Sorry for Crossposting, but sometimes it really needs a long
> > time to get some answer on questions. Sometimes never...
> >
> > TIA
> >
> > Regards
> >
> > Kerem
> >
> > --
> > -----------------------
> > Beste Grüsse / Best regards / Votre bien devoue
> > Kerem Gümrükcü
> > Microsoft Live Space: http://kerem-g.spaces.live.com/
> > Latest Open-Source Projects: http://entwicklung.junetz.de
> > -----------------------
> > "This reply is provided as is, without warranty express or implied."
> >
>
>
>
 
 
 Write Us|  Add to favorites
 
 
 ©2007 TERASENS GmbH. All rights reserved. Copyright Notice