Interop.SpeechLib.dll COM Exception

0

I am using SpeechLib for a very simple text to voice conversion. Works great locally. When I deploy the applcation on to the server, I get the exception:

could not be found. (Exception from HRESULT: 0x80030002 (STG_E_FILENOTFOUND))

I have done the following with no luck:

  • Set the AppPool to run using the LocalSystem
  • Have given write priveleges to the folder where SpeechLib creates the wav file

I have exactly the same issue by users at:

User1

User2

Has anyone found a solution to this issue?

Thanks!

.net
asp.net
text-to-speech
sapi
asked on Stack Overflow Dec 30, 2009 by Nick • edited May 23, 2017 by Community

2 Answers

0

I think the important question here is to whom have you given the rights to the folder where SpeechLib creates the wav file and who exactly is the request running as (are you impersonating someone possibly? Are you set up to run as someone else)?

That being said, more info is definitely needed, but I get the impression you are not assigning the permissions to the output folder correctly.

The second link that you gave on SO has an accepted answer. That also suggests to me it is a permissions issue as well.

answered on Stack Overflow Dec 30, 2009 by casperOne
0

I had to reinstall Windows Server to get this to work

answered on Stack Overflow Jan 6, 2010 by Nick

User contributions licensed under CC BY-SA 3.0