For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > February 2006 > SAPI permission









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SAPI permission
celine langlois

2006-02-28, 7:03 pm

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


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com