SAPI permission

C

celine langlois

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top