473,320 Members | 2,012 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

SAPI permission

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
0 1241

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: AndyNY | last post by:
I am trying to write a dll in C# using SAPI 5.1 SDK. The DLL is supposed to take in a prerecorded WAV file and provide both the recognized text and a wav file created from Text to speech on the...
0
by: Bob | last post by:
I have a C# windows application that uses SAPI 5.1 speech recognition. I would like to use dynamic grammars but am having trouble finding the right command syntax and method parameters to use for...
2
by: Winston Wong | last post by:
Dear All, I am using MFC and SAPI 5.1. I want to get the pronunciation of a word. For example, give L"thank" and then get its pronunciation. Which function/class should I use? Many thanks!...
1
by: New Devil | last post by:
hi how can i use SAPI with TAPI in C# ... give me any idea how to make a simple program to use SAPI with TAPI in C# ........... Best Regards ibrahim@islamabad.net Ibrahim Zaman Posted Via...
2
by: Zap | last post by:
Hello, This my code in asp : <% set spvoice = server.createobject("SAPI.SpVoice") set spfilestream = server.createobject("SAPI.SpFileStream") rem spfilestream .Format.Type = 6
0
by: matetelki | last post by:
Hi! As I've found tons of VB and C# sample codes, I was trying to transform it into PHP code, using the COM objects. My aim is to create a simple html, that creates a wav from a text. Here's...
1
by: ma | last post by:
Hello, I download SAPI 5.1 and open coffes0 project and tried to compile it using MSVC2005. I am getting the following error which I don't know to solve. Would you please help me? Is there...
0
by: =?Utf-8?B?cm9iIGx5bmNo?= | last post by:
I have a dotnet fw 2.0 vb application that is speech enabled. It works great if logged in as ADMIN, however if I am a simple POWERUSER it fails! I am mostly certain it is a Trust/Permission...
1
by: weheh | last post by:
I'm running Python 2.3 and calling pyTTS. I've had it working forever. Today, I ran out of disk space. After deleting some of my personal files, for no apparent reason, pyTTS no longer runs. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.