TV Server and Window 2008 Win2k8 Server (2 Viewers)

AndyWhittaker

Portal Member
September 4, 2004
23
0
Macclesfield, UK
Home Country
United Kingdom United Kingdom
TV-Server Version: Snapshot 18105
MediaPortal Version:
MediaPortal Skin: BlueTwo
Windows Version: Windows 2008 6.0 Build 6001
CPU Type: Pentium 4 3.6GHz
HDD: N/A
Memory: 2GB
Motherboard: Dell
Motherboard Chipset: E7221
Motherboard Bios:
Video Card: E7221 Integrated
Video Card Driver: Standard VGA
Sound Card: None
Sound Card AC3: N/A
Sound Card Driver: N/A
1. TV Card: Blackgold Dual DVB-T PCIe
1. TV Card Type: GDI
1. TV Card Driver: 6.0.0.25
MPEG2 Video Codec:
MPEG2 Audio Codec:

Hi,

I've been running MediaPortal TV Server for the past year on my Dell Server box with Windows 2003 server (Win2k3) installed - great!

However, I've just installed Windows 2008 Enterprise on the box and now TV Server runs but doesn't detect the TV Card.

Logs attached:
 

limpwhizkid

Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    I got it running on windows 2008 .. but needs a lot of modifications.. to much to type now :) ..
    its certainly not that basic as with windows 2003..

    you need lots of modifications with gpedit.msc and set several stuff to lower security..

    also .. needs running as administrator, free up all 3 (yes THREE) firewalls to change... (it wont allow udp)..

    and change the Dcom settings..

    and lots more..

    my advise.. if your not that familiar with Windows internally.. leave it alone..its a big hassle..

    <correction .. read your website.. like the ecufix ;) ..and you do know something about programming.. if you have time to spend on it .. go ahead.. 2008 is way different then with 2003.>

    When I have figured out everything i will post some kind of manual here later on ..
     

    AndyWhittaker

    Portal Member
    September 4, 2004
    23
    0
    Macclesfield, UK
    Home Country
    United Kingdom United Kingdom
    msvidctl.dll is missing

    Thanks for that!

    However it looks like a dll is missing.

    DCOM is saying there is an error:

    System.Runtime.InteropServices.COMException (0x80040154)

    And then gives more clues:

    Retrieving the COM class factory for component with CLSID {C6B14B32-76AA-4A86-A7AC-5C79AAF58DA7} failed due to the following error: 80040154.

    Hmmm, so I looked in the registry under HKCR\CLSID for C6B14B32-76AA-4A86-A7AC-5C79AAF58DA7 and it's not there. I searched for the same key in my Vista box and it was found. Looking for the InprocServer32 folder reveals:

    C:\Windows\System32\msvidctl.dll

    This is missing on Win2k8!

    I'll get back with more when I know more.... :D
     

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    Thanks for that!

    However it looks like a dll is missing.

    DCOM is saying there is an error:

    System.Runtime.InteropServices.COMException (0x80040154)

    And then gives more clues:

    Retrieving the COM class factory for component with CLSID {C6B14B32-76AA-4A86-A7AC-5C79AAF58DA7} failed due to the following error: 80040154.

    Hmmm, so I looked in the registry under HKCR\CLSID for C6B14B32-76AA-4A86-A7AC-5C79AAF58DA7 and it's not there. I searched for the same key in my Vista box and it was found. Looking for the InprocServer32 folder reveals:

    C:\Windows\System32\msvidctl.dll

    This is missing on Win2k8!

    I'll get back with more when I know more.... :D

    that is the directx streaming video active x control ..

    you can add it manually :)
     

    AndyWhittaker

    Portal Member
    September 4, 2004
    23
    0
    Macclesfield, UK
    Home Country
    United Kingdom United Kingdom
    Here's what I've found out so far, as I understand it.

    You need to obtain the latest versions of these dlls:

    EndDec.dll
    MSVidCtl.dll
    sbe.dll
    sbeio.dll

    Copy them into your system32 directory and run:

    regsvr32 %systemroot%\System32\encdec.dll
    regsvr32 %systemroot%\System32\msvidctl.dll
    regsvr32 %systemroot%\System32\sbe.dll

    This correctly sets up the CLSIDs. I rebooted, reinstalled the latest snapshot of TV Server and it still doesn't work :(

    Here's the error:
    2008-03-21 11:23:57.054213 [5]: Exception :confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at TvLibrary.Implementations.TvCardCollection.DetectCards()
    at TvLibrary.Implementations.TvCardCollection..ctor()
    at TvService.TVController.Init()
    2008-03-21 11:23:57.054213 [5]: Exception :Object reference not set to an instance of an object.
    2008-03-21 11:23:57.054213 [5]: site :Void DetectCards()
    2008-03-21 11:23:57.069813 [5]: source :TVLibrary
    2008-03-21 11:23:57.069813 [5]: stacktrace: at TvLibrary.Implementations.TvCardCollection.DetectCards()
    at TvLibrary.Implementations.TvCardCollection..ctor()
    at TvService.TVController.Init()

    ...

    2008-03-21 11:24:11.172304 [1]: Exception :confused:ystem.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
    Parameter name: SelectedIndex
    at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at SetupTv.Sections.TvRecording.LoadComboBoxDrive()
    at SetupTv.Sections.TvRecording.LoadSettings()
    at SetupTv.SetupTvSettingsForm.LoadSectionSettings(TreeNode currentNode)
    at SetupTv.SetupTvSettingsForm.SettingsForm_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2008-03-21 11:24:11.172304 [1]: Exception :InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
    Parameter name: SelectedIndex
    2008-03-21 11:24:11.172304 [1]: site :Void set_SelectedIndex(Int32)
    2008-03-21 11:24:11.172304 [1]: source :confused:ystem.Windows.Forms
    2008-03-21 11:24:11.172304 [1]: stacktrace: at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at SetupTv.Sections.TvRecording.LoadComboBoxDrive()
    at SetupTv.Sections.TvRecording.LoadSettings()
    at SetupTv.SetupTvSettingsForm.LoadSectionSettings(TreeNode currentNode)
    at SetupTv.SetupTvSettingsForm.SettingsForm_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2008-03-21 11:24:15.945934 [1]: Exception :confused:ystem.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
    Parameter name: SelectedIndex
    at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at SetupTv.Sections.TvCombinations.OnSectionActivated()
    at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)
    2008-03-21 11:24:15.945934 [1]: Exception :InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
    Parameter name: SelectedIndex
    2008-03-21 11:24:15.945934 [1]: site :Void set_SelectedIndex(Int32)
    2008-03-21 11:24:15.945934 [1]: source :confused:ystem.Windows.Forms
    2008-03-21 11:24:15.945934 [1]: stacktrace: at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at SetupTv.Sections.TvCombinations.OnSectionActivated()
    at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)

    I'm not sure I have the knowledge of what MediaPortal is doing to figure what's missing here....

    Andy
     

    AndyWhittaker

    Portal Member
    September 4, 2004
    23
    0
    Macclesfield, UK
    Home Country
    United Kingdom United Kingdom
    Given Up!

    I have spent a lot of time trying to get this to work and have concluded that I should put a Vista SP1 clean installation onto my server. There were a lot of dlls missing including:

    BdaPlgIn.ax
    MSDvbNP.ax
    mpg2splt.ax
    sbe.dll
    sbio.dll
    MpgMug.ax
    msnp.ax

    These dlls wouldn't regsvr32 at all:

    MSMpeg2adec.dll
    MSMpeg2enc.dll
    MSMpeg2vdec.dll

    What I ended up doing last is to copy the whole of the contents of inf and system32 from a Vista SP1 Ultimate into the Windows 2008 server installation to ensure I had all of the missing dlls and set-ups.

    Still doesn't work although :( Although the graph building does progress a lot further.... the TV cards (FlyDVB-T SAA7134 and Black Gold Dual PCIe DVB-T SAA7162 based cards) are now recognised in MP but when you come to tune it just skips through....

    008-03-23 10:03:37.192612 [Info.][Config Main]: DVBGraphBDA: Adding filter <Microsoft DVBT Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft DVBT Network Provider>
    2008-03-23 10:03:37.192612 [Info.][Config Main]: DVBGraphBDA: Added filter <Microsoft DVBT Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft DVBT Network Provider>
    2008-03-23 10:03:37.255012 [Info.][Config Main]: DVBGraphBDA: Adding filter <713x BDA DVBT Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7134&subsys_03015168&rev_01#4&2d68bceb&0&00f0#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{3ff44ee5-8547-402a-94f3-d447f4d7c400}>
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Added filter <713x BDA DVBT Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7134&subsys_03015168&rev_01#4&2d68bceb&0&00f0#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{3ff44ee5-8547-402a-94f3-d447f4d7c400}>
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Adding filter <713x BDA Digital Capture> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7134&subsys_03015168&rev_01#4&2d68bceb&0&00f0#{fd0a5af4-b41d-11d2-9c95-00c04f7971e0}\{5bb3dbd0-9e1e-424c-9281-6b5e7109f100}>
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Added filter <713x BDA Digital Capture> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7134&subsys_03015168&rev_01#4&2d68bceb&0&00f0#{fd0a5af4-b41d-11d2-9c95-00c04f7971e0}\{5bb3dbd0-9e1e-424c-9281-6b5e7109f100}>
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Adding configured filters...DONE
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Adding configured pin connections...
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Connecting <Microsoft DVBT Network Provider>:0 with <713x BDA DVBT Tuner>:0
    2008-03-23 10:03:37.567014 [Info.][Config Main]: DVBGraphBDA: Found sourcePin: <0> <System.__ComObject>
    2008-03-23 10:03:37.582614 [Info.][Config Main]: DVBGraphBDA: Found sinkPin: <0> <System.__ComObject>
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA:FAILED unable to connect pins:0x80040217
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA: Connecting <713x BDA DVBT Tuner>:0 with <713x BDA Digital Capture>:0
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA: Found sourcePin: <0> <System.__ComObject>
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA: Found sinkPin: <0> <System.__ComObject>
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA: Pins connected...
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA:CreateGraph() connect interface pin->sample grabber
    2008-03-23 10:03:37.629415 [Info.][Config Main]: DVBGraphBDA:CreateGraph() create MPEG2-Demultiplexer
    2008-03-23 10:03:37.676215 [Info.][Config Main]: DVBGraphBDA:CreateGraph() add mpeg2 demuxer to graph
    2008-03-23 10:03:37.691815 [Info.][Config Main]: Exception :confused:ystem.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    at System.Runtime.InteropServices.ComTypes.IMoniker.BindToObject(IBindCtx pbc, IMoniker pmkToLeft, Guid& riidResult, Object& ppvResult)
    at MediaPortal.TV.Recording.DVBGraphBase.findNamedFilter(Guid ClassID, String FriendlyName, Object& device)
    at MediaPortal.TV.Recording.DVBGraphBDA.CreateGraph(Int32 Quality)
    2008-03-23 10:03:37.691815 [ERROR][Config Main]: Exception :confused:ystem.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    at System.Runtime.InteropServices.ComTypes.IMoniker.BindToObject(IBindCtx pbc, IMoniker pmkToLeft, Guid& riidResult, Object& ppvResult)
    at MediaPortal.TV.Recording.DVBGraphBase.findNamedFilter(Guid ClassID, String FriendlyName, Object& device)
    at MediaPortal.TV.Recording.DVBGraphBDA.CreateGraph(Int32 Quality)
    2008-03-23 10:03:37.691815 [Info.][Config Main]: Exception :Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    2008-03-23 10:03:37.691815 [ERROR][Config Main]: Exception :Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
    2008-03-23 10:03:37.691815 [Info.][Config Main]: site :Void BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx, System.Runtime.InteropServices.ComTypes.IMoniker, System.Guid ByRef, System.Object ByRef)
    2008-03-23 10:03:37.691815 [ERROR][Config Main]: site :Void BindToObject(System.Runtime.InteropServices.ComTypes.IBindCtx, System.Runtime.InteropServices.ComTypes.IMoniker, System.Guid ByRef, System.Object ByRef)
    2008-03-23 10:03:37.691815 [Info.][Config Main]: source :mscorlib
    2008-03-23 10:03:37.691815 [ERROR][Config Main]: source :mscorlib
    2008-03-23 10:03:37.691815 [Info.][Config Main]: stacktrace: at System.Runtime.InteropServices.ComTypes.IMoniker.BindToObject(IBindCtx pbc, IMoniker pmkToLeft, Guid& riidResult, Object& ppvResult)
    at MediaPortal.TV.Recording.DVBGraphBase.findNamedFilter(Guid ClassID, String FriendlyName, Object& device)
    at MediaPortal.TV.Recording.DVBGraphBDA.CreateGraph(Int32 Quality)
    2008-03-23 10:03:37.691815 [ERROR][Config Main]: stacktrace: at System.Runtime.InteropServices.ComTypes.IMoniker.BindToObject(IBindCtx pbc, IMoniker pmkToLeft, Guid& riidResult, Object& ppvResult)
    at MediaPortal.TV.Recording.DVBGraphBase.findNamedFilter(Guid ClassID, String FriendlyName, Object& device)
    at MediaPortal.TV.Recording.DVBGraphBDA.CreateGraph(Int32 Quality)
    2008-03-23 10:03:37.691815 [Info.][Config Main]: TVCapture.DeleteGraph() Card:1
    2008-03-23 10:03:38.705821 [Info.][Config Main]: Adding name:Black Gold Dual Tuner id:ven_1131&dev_7162&subsys_110514c7&rev_01 type:Digital_BDA
    2008-03-23 10:03:38.705821 [Info.][Config Main]: Adding name:Black Gold Dual Tuner id:ven_1131&dev_7162&subsys_110514c7&rev_01 type:Digital_BDA
    2008-03-23 10:03:38.737022 [Info.][Config Main]: TVCapture.CreateGraph() Card:1
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA:CreateGraph().
    2008-03-23 10:03:38.737022 [Warn.][Config Main]: VMR9: ctor() - DX9Device == null!
    2008-03-23 10:03:38.737022 [Debug][Config Main]: VMR9: ctor() _renderFrame == null
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA:create new filter graph (IGraphBuilder)
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA: Adding configured filters...
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA: Adding filter <Microsoft DVBT Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft DVBT Network Provider>
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA: Added filter <Microsoft DVBT Network Provider> with moniker <@device:sw:{71985F4B-1CA1-11D3-9CC8-00C04F7971E0}\Microsoft DVBT Network Provider>
    2008-03-23 10:03:38.737022 [Info.][Config Main]: DVBGraphBDA: Adding filter <713x BDA DVBT Tuner> with moniker <@device:pnp:\\?\pci#ven_1131&dev_7134&subsys_03015168&rev_01#4&2d68bceb&0&00f0#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{3ff44ee5-8547-402a-94f3-d447f4d7c400}>

    One point for the devs though...

    Trying to find out what is wrong with TVServer3 was impossible because the logs even under debug were not good enough. MediaPortal was a lot better but you'll see from above that there is some detail missing from describing was classes were not registered.


    Andy
     

    level20peon

    MP Donator
  • Premium Supporter
  • January 4, 2007
    1,082
    101
    42
    Aachen
    Home Country
    Germany Germany
    This is weird. sbe.dll and similar shouldn't be needed at all. They are for Microsofts Stream Buffer Enginge (-> sbe) which is replaced with MP's internal tsreader.ax / tswriter.ax if you use TV-engine. I once integrated the sbe into my Windows Server 2003 unti it became unnecessary... they aren't present anymore at all, so I wonder why you need them.
    I am planning to move to Windows Server 2008, too in a few weeks so I am curious.


    -level20peon
     

    AndyWhittaker

    Portal Member
    September 4, 2004
    23
    0
    Macclesfield, UK
    Home Country
    United Kingdom United Kingdom
    You are correct, they may not be needed for TV Server but TV Server wasn't giving me any clues to why the TV Cards weren't working.

    Therefore I used a combination of MediaPortal standalone and GB-PVR to try and get a working TV solution. I also used my WinXP MediaPortal TV Server client box as a comparison what was required.

    msnp.ax and msdvbnp.ax were the critical dlls that were missing from the installation because these are the network providers. From memory -> registering of these enabled TVServer to actually detect the TV card but it then complained that mpg2splt.ax was not registered and there was no MS decoder -> MSMpeg2vdec.dll but this can't be registered.

    It's a pity there isn't a simple cmd file to run to set up the system!

    Anyhow, the Tuner is the last thing that won't work because some class is not registered which stops a pin to be connected, unfortunately there is no CLSID given to point me to what that is :confused:
     

    AndyWhittaker

    Portal Member
    September 4, 2004
    23
    0
    Macclesfield, UK
    Home Country
    United Kingdom United Kingdom
    Just installed Vista Ultimate x86 with integrated SP1 and it works perfectly on exactly the same box.

    I think I'll wait until someone a lot cleverer than me creates a script to set-up Windows 2008 server automatically! Thanks for the help and interest I've had.

    Andy
     

    Users who are viewing this thread

    Top Bottom