Search code examples
.netasp.nettext-to-speechsapi

Interop.SpeechLib.dll COM Exception


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!


Solution

  • I had to reinstall Windows Server to get this to work