Hello!

I have a problem with SAPI 5.0 vs IIS 6.0.
I call SAPI from ASP page and method Speek return error '80004005'

My Sample:

<%@ Language = JScript %>
<%
var TTS = Server.CreateObject("Sapi.SpVoice");
TTS.Speek("Test Message",1);
%>

but methods TTS.GetVoices(); and voice list is show TTS Voices
(however only if my anonimus process under IIS have Administration rights)

Re: SAPI 5.0 vs IIS 6.0 - call method Speek return error '80004005' by Bernard

Bernard
Thu Nov 04 22:19:16 CST 2004

from the error code this is related to permissions.
so I would try - filemon (sysinternals.com) to trace for any access error.

--
Regards,
Bernard Cheah
http://www.tryiis.com/
http://support.microsoft.com/
http://www.msmvps.com/bernard/



"Ivan Shmakov" <Ivan Shmakov@discussions.microsoft.com> wrote in message
news:95ACDB41-E654-4596-85C9-AAB050FC922D@microsoft.com...
> Hello!
>
> I have a problem with SAPI 5.0 vs IIS 6.0.
> I call SAPI from ASP page and method Speek return error '80004005'
>
> My Sample:
>
> <%@ Language = JScript %>
> <%
> var TTS = Server.CreateObject("Sapi.SpVoice");
> TTS.Speek("Test Message",1);
> %>
>
> but methods TTS.GetVoices(); and voice list is show TTS Voices
> (however only if my anonimus process under IIS have Administration rights)