Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SAPI permission

23 views
Skip to first unread message

Zap

unread,
Mar 1, 2006, 10:27:38 AM3/1/06
to
Hello,

This my code in asp :

<%
set spvoice = server.createobject("SAPI.SpVoice")
set spfilestream = server.createobject("SAPI.SpFileStream")
rem spfilestream .Format.Type = 6


spfilestream.open Server.MapPath("test02.wav"),3
'spfilestream.open "test01.wav",3
Set spvoice.AudioOutputStream = spfilestream
spvoice.Speak "Hello World"
spfilestream.close
%>

This code genere a error :

Microsoft VBScript runtime error '800a0046'

Permission denied

test.asp, line 10

I looked :
http://support.microsoft.com/?scid=...3042&sid=global

But not this problem..

If you have a solution in asp or asp.net ??

Thank you

Zap


Bill

unread,
Mar 1, 2006, 3:17:29 PM3/1/06
to
Which line, exactly, is line 10?


"Zap" <gr...@challengecommunication.com> wrote in message
news:Y6jNf.37761$Qs1.7...@wagner.videotron.net...

gr...@challengecommunication.com

unread,
Mar 2, 2006, 10:23:39 AM3/2/06
to
Hello,

Line 10 is spvoice.Speak "Hello World"

The line spfilestream.open Server.MapPath("test02.wav"),3 make a wave
file and normaly spvoice.Speak "Hello World"
push data into...

Thank you

Zap

0 new messages