By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,079 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,079 IT Pros & Developers. It's quick & easy.

SAPI permission

P: n/a
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
Feb 28 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.