Discussion:
.NET Application wont work because of missing SAPI,...
(too old to reply)
Kerem Gümrükcü
2008-04-29 16:55:02 UTC
Permalink
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."
Matthew
2008-04-29 20:37:01 UTC
Permalink
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
Post by 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
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."
Kerem Gümrükcü
2008-04-30 11:01:35 UTC
Permalink
Hi Matthew,
Post by 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."
Post by 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
Post by 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
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."
Matthew
2008-04-30 14:03:01 UTC
Permalink
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.
Post by Kerem Gümrükcü
Hi Matthew,
Post by 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."
Post by 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
Post by 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
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."
Steve Meyer [MSFT]
2008-05-02 18:04:43 UTC
Permalink
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.
Post by 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
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."
Matthew
2008-05-02 21:21:01 UTC
Permalink
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?
Post by Matthew
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.
Post by 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
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."
Brian Mouncer[MSFT]
2008-06-02 18:50:53 UTC
Permalink
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.
Post by 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
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."
Tom Bambrough
2008-06-04 20:18:00 UTC
Permalink
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
Post by 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.
Post by 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
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."
Loading...