Author: jayoungers | Posted on: 10/22/2008 8:59:13 PM | Views : 291

I'm trying to create an ASP.Net 3.5 application that'll read in and display the music library that's on the hosting server.  Right now I'm importing Interop.WMPLib.dll, and using the following code:
        WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayerClass();
        WMPLib.IWMPPlaylist plist;

        plist = player.mediaCollection.getByAttribute("MediaType", "audio");
This works fine on my local Vista machine: the variable 'plist' contains all of the songs in my library.  However, once I try to run this on my server (running Windows Home Server), it returns 0 songs.
Has anyone done this before, or run into this problem?  I've tried setting it to impersonate myself running from the local machine, which didn't help.  Could it possibly be due to the differe ...

Go to the complete details ...