This project has moved and is read-only. For the latest updates, please go here.

No driver calling acmFormatSuggest follows to class not registered issue and 32bit vs 64 bit

Dec 10, 2011 at 1:28 PM

Hi there,

I have a remote REST web service hosted on a 3rd party hosting provider.

The WCF service method takes in a Stream. The stream is always an mp3, passed through from an iPhone app.

I need to convert the stream back into a wav file. i can do this on my local machine fine but obviously not having access to the remote servers i cannot install a codec on the machine.

So i found this (changed to DmoMp3FrameDecompressor) thread here, and duly recompiled my NAudio and republished. Now i get a different error:

Retrieving the com class factory for component with CSLID bbeea841-0a63-4f52-a7ab-a9b3a84ed38 etc etc

This has something to do with 64 bit vs 32 bit according to this here. so i changed, as suggested both my service and naudio build platform target to x86. I recompiled NAudio and republished the service.

IT STILL DOESNT WORK! im not sure if its my host who doesnt have the DirectX Media Object or what the story is. I found this post here which suggested the 32 bit process, but im not sure what to do next?

What can i do? is it easier to plead with the host to install the ACM codec? if so which one? ive heard installing the codec on the windows server 2008 box doesnt work, so how can i do this?


Dec 11, 2011 at 5:50 AM

Hi Mark,

Ive struggled the entire day with this issue. Is it worth me asking my host to install the Msacm32.dll or whatever else is needed? would installing windows media player on the server do the trick?

Dec 12, 2011 at 12:33 AM

I've chatted to my host, who have said they will not install anything obviosuly being a shared web server. The other option is to reference this dll in the bin folder, although im not sure if its possible to do dllimports like this, or if this would even work. Have you got any other ideas as to how i could simply decode an mp3 stream into a wav stream?

Dec 12, 2011 at 11:29 AM

If the ACM codec or the DMO object aren't installed then your only option would be a fully managed MP3 decoder. I actually made one, available at, but the interface needs to be cleaned up a bit before it is easy to use.


Dec 15, 2011 at 9:43 PM

Thank you Mark,

Ill give that a go!