views:

19

answers:

1

Hello, I have a web application using NAudio that works great on my development machine (Windows XP, IIS 5.1), but when I put it on the server (Windows 2003 Server 32-bit, IIS 6), I get the following error:

NoDriver calling waveInOpen Exception Details: NAudio.MmException: NoDriver calling waveInOpen [MmException: NoDriver calling waveInOpen NAudio.MmException.Try(MmResult result, String function) in C:\Documents and Settings\ploeb\Desktop\ISM Project\Source Code\ISM\NAudio\Wave\MmeInterop\MmException.cs:39 NAudio.Wave.WaveIn.OpenWaveInDevice() in C:\Documents and Settings\ploeb\Desktop\ISM Project\Source Code\ISM\NAudio\Wave\MmeInterop\WaveIn.cs:148 NAudio.Wave.WaveIn.StartRecording() in C:\Documents and Settings\ploeb\Desktop\ISM Project\Source Code\ISM\NAudio\Wave\MmeInterop\WaveIn.cs:157

Can you please help??

Thanks, Paul

A: 

My guess is that either the "Windows Audio" service is not started or that the server either has no sound hardware, or the driver for it is not installed.

If so, this article should help: http://www.petri.co.il/enable_sound_in_windows_2003.htm

codekaizen
I have tried the steps in that article, but it still doesn't work. The server does not have a sound card. It is a VPS.
Paul
Without the hardware or the correct emulation, it won't work. It looks like a standard Win32 function is being used in "OpenWaveInDevice". Try running Sound Recorder (a Windows program, it may not be installed by default on Win2k3) to see if you get the same error. If you do, you'll need to troubleshoot to see if the virtual hardware will be able to support what you need.
codekaizen