![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | re: Error on MediaElement / MediaPlayer initialization... Do you have Windows Media Player 10 installed? -----Original Message----- From: AveryZ Posted At: Saturday, December 03, 2005 12:20 AM Posted To: microsoft.public.windows.developer.winfx.avalon Conversation: Error on MediaElement / MediaPlayer initialization... Subject: re: Error on MediaElement / MediaPlayer initialization... Hi Robert, Yes i have my audio card and drivers all installed. I will be trying to play MP3's, but that can't be the problem b/c the exception is being thrown just on intitialization of the object, before it even gets passed any media! MediaElement me = new MediaElement() ; is the line that is throwing out the exception! It is most peculiar... Avery Z "robertwl@nospam.microsoft.com" wrote: > Do you have your audio card drivers installed? What kind of audio file(s) are you trying to play? > > -----Original Message----- > From: AveryZ > Posted At: Friday, December 02, 2005 9:39 AM > Posted To: microsoft.public.windows.developer.winfx.avalon > Conversation: Error on MediaElement / MediaPlayer initialization... > Subject: re: Error on MediaElement / MediaPlayer initialization... > > > I'm on WinXP SP2 and the WinFX Nov. CTP...I won't rule out the graphics card > as an issue, but it is both a fairly recent and fairly good one! I'm not > trying to use the mediaplayer for video, just for audio! > > Avery > > "robertwl@nospam.microsoft.com" wrote: > > > Which build are you on? > > > > Typically these types of errors mean that your video card driver is out of date or your video card in not capable of rendering video in hardware. I'd start by upgrading your video card driver from the manufacturer's website. > > > > Robert. > > > > -----Original Message----- > > From: AveryZ > > Posted At: Friday, December 02, 2005 1:33 AM > > Posted To: microsoft.public.windows.developer.winfx.avalon > > Conversation: Error on MediaElement / MediaPlayer initialization... > > Subject: Error on MediaElement / MediaPlayer initialization... > > > > > > Hi, > > > > When I initialize either a MediaElement or MediaPlayer object by calling the > > respective constructor, I get the following exception: > > > > COMException > > The specified procedure could not be found. (Exception from HRESULT: > > 0x8007007F) > > > > Here is the relevant part of the Stack Trace: > > at > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 > > errorCode, IntPtr errorInfo) > > at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 > > errorCode) > > at MS.Internal.HRESULT.Check(Int32 hr) > > at System.Windows.Media.MediaPlayer.CreateMedia() > > at System.Windows.Media.MediaPlayer..ctor() > > at System.Windows.Controls.MediaElement..ctor() > > at CustomControls.MusicPlayer..ctor() in f:\My Documents\... > > > > Any Ideas? Has anyone run into something like this before? (Note: I > > definetly have WMP 10 installed, I use it everyday...) > > > > Avery > > > |
My System Specs![]() |
| | #2 (permalink) |
| | re: Error on MediaElement / MediaPlayer initialization... Absolutely - and that was the first thing I thought of when first encountering the error - I wrote in my first post: > > Any Ideas? Has anyone run into something like this before? (Note: I > > definetly have WMP 10 installed, I use it everyday...) I sent a friend of mine the code, and he was able to run in without problem - so there is definetly somethign weird going on with my system in particular. Can I provide any information about the system or some kind of diagnostic file that can help figure out what is going on? While this may be an isolated case, my system setup is pretty standard run of the mill XPSP2, ..net 2.0 / vs2k5 RTM - so its possible that others may be affected with this "hiccup" (don't want to call it a bug) as well. Avery Z "robertwl@nospam.microsoft.com" wrote: > Do you have Windows Media Player 10 installed? > > -----Original Message----- > From: AveryZ > Posted At: Saturday, December 03, 2005 12:20 AM > Posted To: microsoft.public.windows.developer.winfx.avalon > Conversation: Error on MediaElement / MediaPlayer initialization... > Subject: re: Error on MediaElement / MediaPlayer initialization... > > > Hi Robert, > > Yes i have my audio card and drivers all installed. I will be trying to play > MP3's, but that can't be the problem b/c the exception is being thrown just > on intitialization of the object, before it even gets passed any media! > > MediaElement me = new MediaElement() ; > > is the line that is throwing out the exception! It is most peculiar... > > Avery Z > > "robertwl@nospam.microsoft.com" wrote: > > > Do you have your audio card drivers installed? What kind of audio file(s) are you trying to play? > > > > -----Original Message----- > > From: AveryZ > > Posted At: Friday, December 02, 2005 9:39 AM > > Posted To: microsoft.public.windows.developer.winfx.avalon > > Conversation: Error on MediaElement / MediaPlayer initialization... > > Subject: re: Error on MediaElement / MediaPlayer initialization... > > > > > > I'm on WinXP SP2 and the WinFX Nov. CTP...I won't rule out the graphics card > > as an issue, but it is both a fairly recent and fairly good one! I'm not > > trying to use the mediaplayer for video, just for audio! > > > > Avery > > > > "robertwl@nospam.microsoft.com" wrote: > > > > > Which build are you on? > > > > > > Typically these types of errors mean that your video card driver is out of date or your video card in not capable of rendering video in hardware. I'd start by upgrading your video card driver from the manufacturer's website. > > > > > > Robert. > > > > > > -----Original Message----- > > > From: AveryZ > > > Posted At: Friday, December 02, 2005 1:33 AM > > > Posted To: microsoft.public.windows.developer.winfx.avalon > > > Conversation: Error on MediaElement / MediaPlayer initialization... > > > Subject: Error on MediaElement / MediaPlayer initialization... > > > > > > > > > Hi, > > > > > > When I initialize either a MediaElement or MediaPlayer object by calling the > > > respective constructor, I get the following exception: > > > > > > COMException > > > The specified procedure could not be found. (Exception from HRESULT: > > > 0x8007007F) > > > > > > Here is the relevant part of the Stack Trace: > > > at > > > System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 > > > errorCode, IntPtr errorInfo) > > > at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 > > > errorCode) > > > at MS.Internal.HRESULT.Check(Int32 hr) > > > at System.Windows.Media.MediaPlayer.CreateMedia() > > > at System.Windows.Media.MediaPlayer..ctor() > > > at System.Windows.Controls.MediaElement..ctor() > > > at CustomControls.MusicPlayer..ctor() in f:\My Documents\... > > > > > > Any Ideas? Has anyone run into something like this before? (Note: I > > > definetly have WMP 10 installed, I use it everyday...) > > > > > > Avery > > > > > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| USB drive Initialization error | Vista hardware & devices | |||
| .NET Framework Initialization Error | Vista installation & setup | |||
| Logon Initialization Error, or something, HELP HELP HELP. | Vista General | |||