I am trying to use SpeechLib on my personal website. It's a very simple app that saves some text to a wav file - standard stuff. Works great on the dev machine. But all hell breaks loose when I deploy it to the shared host.
Sometimes I get prompted for user name and password at the time of writing the wav file. Sometimes, I get the "Security exception". The site has full trust and I can write a simple txt file from my app without any issues.
On scouring the internet, I realized that the SpeechLib component temporarily writes a file to:
C:\Users\XX\AppData\Roaming\Microsoft\Speech\Files\UserLexicons
I verified this on the dev machine. It indeed does.
So, my guess was that on the shared host, ASPNET does not have rights to write to that folder(?). So, I contaced the hosting service only to be told I have to upgrade to Virtual Private Server. I am not sure if they know what they are talking about.
Has anyone gotten SpeechLib to work on the shared host. Here's the exact same issue I am facing:
http://www.eukhost.com/forums/f41/interop-speechlib-dll-6743/
Any thoughts?