Hi, I developed an application that utilizes content from Windows Media Services. The entire application was written in C# on a Windows Server 2008 x86 environment using the interop assemblies provided by Microsoft. Everything works fine, except when I try to run the application on a 64-bit machine. When I run the application on the 64-bit machine, I get the following error: Unable to cast COM object of type 'Microsoft.WindowsMediaServices.Interop.WMSServerClass' to interface type 'Microsoft.WindowsMediaServices.Interop.IWMSServer'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{845FB958-4279-11D2-BF23-00805FBE84A6}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). I tried looking for an updated interop assembly, but couldn't locate anything newer than the one that I was already using. Does anyone know how to get over this hurdle?
View Complete Post