How to install Mediaportal on Windows 2008 R2 (x64 only) (4 Viewers)

limpwhizkid

Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    Re: AW: How to install Mediaportal on Windows 2008 R2 (x64 only)

    No i didn't need anything from Win2k8 r2. I've only used the BDA Drivers from the manufacturer of the DVB-T Receiver and the current TV Server Build.

    i used MySQL cause the SQL Express Edition 2005 has some problems on Windows Server 2k8 r2 but it's no problem to install MS SQL 2008 before installing the TV Server.

    Yeah it's running inside a virtual machine and yes the text is the same, may be that's because they you the same mechanism like standard Windows Server trial versions.

    Mike, in the screenshot it seems like youre using a firewire device inside a VM ?

    if so , how the (bleep) did you accomplish that ?
     

    Mike Lowrey

    Portal Pro
    February 4, 2009
    638
    124
    Berlin
    Home Country
    Germany Germany
    AW: How to install Mediaportal on Windows 2008 R2 (x64 only)

    No i'm not using a firewire device, the only things attached to the vm were the dvb-t receiver (usb) and my dvd burner(usb too)
     

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    Re: AW: How to install Mediaportal on Windows 2008 R2 (x64 only)

    No i'm not using a firewire device, the only things attached to the vm were the dvb-t receiver (usb) and my dvd burner(usb too)

    thanks , i was just curious, i am trying to get firewire stuff inside a vm , would make the use of VM's a lot more tempting.

    i do have this cable USB to FireWire DV Adapter - NTSC - US Version

    but its rather dodgy in use, does work , but not stable, rather have support directly for firewire inside a vm :D
     

    brettjackson

    MP Donator
  • Premium Supporter
  • June 6, 2008
    2
    0
    Hi limpwhizzkid, thanks for the article. This is a really useful feature.

    I've tried following the instructions and I'm a bit stuck. I have tried MP 1.1.0 RC1 & 2 but I don't think it's a MP problem. The problem I have is that I can't see any tuners in TV config under TV Servers.

    I've tried 2 different tuner cards - a Hauppauge Nova-T 500 and a Terratec Cinergy Hybrid T (both DVB-T), and I'm running on Windows 2008 R2 x64 Enterprise.

    I'm assuming this is going to be some kind of issue with the BDA support, but I really need to get some further pointers for investigation. Any help would be much appreciated.

    Within the tv.log file this exception is thrown twice, and looks a likely suspect to be the source of the problem within tvservice.

    2010-05-15 11:42:42.597777 [TVService(5)]: Controller: using SQLServer database connection: Password
    2010-05-15 11:42:42.598777 [TVService(5)]: ----------------------------
    2010-05-15 11:42:42.599777 [TVService(5)]: Detecting Cards
    2010-05-15 11:42:42.605777 [TVService(5)]: Detected IP TV Card 0
    2010-05-15 11:42:42.624778 [TVService(5)]: TvControllerException: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {B64016F3-C9A2-4066-96F0-BD9563314726} failed due to the following error: 80040154.
    at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
    at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType)
    at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)
    at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)
    at TvLibrary.Implementations.TvCardCollection.DetectCards()
    at TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
    at TvService.TVController.InitController()
    at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
    at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType)
    at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)
    at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)
    at TvLibrary.Implementations.TvCardCollection.DetectCards()
    at TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
    at TvService.TVController.InitController()
    2010-05-15 11:42:42.625778 [TVService(5)]: Controller: Failed to initialize TVServer
    2010-05-15 11:42:42.629779 [TVService(5)]: TV Service: Load plugins

    I'm also seeing this repeated in the error.log file

    Server stack trace:
    at TvService.TVController.get_IdServer()
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at TvControl.IController.get_IdServer()
    at SetupTv.ServiceHelper.get_IsRunning()
    2010-05-15 11:58:41.597628 [SetupTv(1)]: ServiceHelper: Could not check whether the tvservice is running. Please check your network as well.
    Error: System.NullReferenceException: Object reference not set to an instance of an object.



    Thanks
    Brett
     

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    you cant event see the ip tuner card or radio webstream card ??

    i used the installer and selected Dedicated TVserver..

    then i figured out how to enable Aero , did that..

    and I ran the installer again and installed the mediaportal client

    that worked for me..

    but I see in your logfiles that youre using SQL ? its incompatible with windows 2008 R2 !!
    or did you install 2008 before MP ?

    i actually had the same problem selecting the default option (server/client) today on a testbox.
    i dont know why , but doing it as dedicated server first ... and not the full install .. then afterwards the client.. and no problem .. it ought to be the same stuff, but i cant ask any questions since it not supported :(

    dont forget to run everything "run as adminstrator" by hand

    even the tvserver config after youre done.
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    38
    Ulm
    Home Country
    Germany Germany
    For those how have problems with the msi file, i have an alternative.

    For me the msi file didn't work, but now i figured out how to add BDA support to Win2k8 R2 without using this MSI file.

    Preconditions:
    • Installed .net Framework 3.5.1
    • Installed Desktop Expierience

    How to add BDA support to Win2k8 R2:
    1. Download my attachment
    2. Extract to your windows drive (mainly C:\). When you don't extract to your windows drive it won't work!
    3. Have a look into the folder "C:\bdaforserver\Setup For x64" and edit the file "Get BDA Vista Files.bat"
    4. Change every "en-US" string to your language. For me it was "de-DE"
    5. Save the file and run it on YOUR Windows 7 x64 PC. This is important because R2 is only x64 and you need an Windows 7 X64 PC.
    6. Open and edit the file "Setup BDA.bat"
    7. Change every "en-US" string to your language. For me it was "de-DE"
    8. Now again a very important part. Press ALT + R and type "%systemroot%\System32\DriverStore\FileRepository"
    9. A folder window should pop up. Now search a folder which begins with "bda.inf_" and copy that name to your clipboard.
    10. Now look again in the "Setup BDA.bat" file and look for the 3. row. There should be a folder in the copy path, named "bda.inf_57d991b5".
    11. Replace that folder name ("bda.inf_57d991b5") to you before copied (Clipboard!) folder name you've found in "%systemroot%\System32\DriverStore\FileRepository"
    12. Now save the file ("Setup BDA.bat").
    13. Copy the whole "C:\bdaforserver" folder to your Win2k8 R2 server to C:\.
    14. Go to folder "C:\bdaforserver\Setup For x64\" and run "Setup BDA.bat" on your server as administrator! This is important! There could be some access denied errors but you can ignore them, because these file existed already.
    15. After the next restart it should work without problems! You can install your BDA driver now. For me it worked even after the installation of the BDA drivers :D

    Btw: This script is not created by me. It was created by some guy on the win2008workstation.com forum.
     

    Attachments

    • bdaforserver.rar
      806.3 KB

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    For those how have problems with the msi file, i have an alternative.

    For me the msi file didn't work, but now i figured out how to add BDA support to Win2k8 R2 without using this MSI file.

    Preconditions:
    • Installed .net Framework 3.5.1
    • Installed Desktop Expierience

    How to add BDA support to Win2k8 R2:
    1. Download my attachment
    2. Extract to your windows drive (mainly C:\). When you don't extract to your windows drive it won't work!
    3. Have a look into the folder "C:\bdaforserver\Setup For x64" and edit the file "Get BDA Vista Files.bat"
    4. Change every "en-US" string to your language. For me it was "de-DE"
    5. Save the file and run it on YOUR Windows 7 x64 PC. This is important because R2 is only x64 and you need an Windows 7 X64 PC.
    6. Open and edit the file "Setup BDA.bat"
    7. Change every "en-US" string to your language. For me it was "de-DE"
    8. Now again a very important part. Press ALT + R and type "%systemroot%\System32\DriverStore\FileRepository"
    9. A folder window should pop up. Now search a folder which begins with "bda.inf_" and copy that name to your clipboard.
    10. Now look again in the "Setup BDA.bat" file and look for the 3. row. There should be a folder in the copy path, named "bda.inf_57d991b5".
    11. Replace that folder name ("bda.inf_57d991b5") to you before copied (Clipboard!) folder name you've found in "%systemroot%\System32\DriverStore\FileRepository"
    12. Now save the file ("Setup BDA.bat").
    13. Copy the whole "C:\bdaforserver" folder to your Win2k8 R2 server to C:\.
    14. Go to folder "C:\bdaforserver\Setup For x64\" and run "Setup BDA.bat" on your server as administrator! This is important! There could be some access denied errors but you can ignore them, because these file existed already.
    15. After the next restart it should work without problems! You can install your BDA driver now. For me it worked even after the installation of the BDA drivers :D

    Btw: This script is not created by me. It was created by some guy on the win2008workstation.com forum.

    well you got my going on my testbox.. (which didnt run with the msi ..)...

    but there is an error in your instructions..

    [*]Now again a very important part. Press ALT + R and type "%systemroot%\System32\DriverStore\FileRepository"

    this you say a user has to do on a windows7 x64 box.. but that has to be done on the windows2008 r2 machine instead..
    then it works flawless..

    i updated my first post with an edited copy of your info , ( EN-US system) , and tested to work on my testbox..

    Thanks for the headsup to get me going.. hope other people will benefit from it aswell :D
     

    dedi

    Portal Pro
    January 27, 2010
    118
    22
    Home Country
    Switzerland Switzerland
    I just wanted to note that I use Windows Home Server 2 (Veil), but only as Multiseat Client. I did not got any problems yet.
     

    BKCH

    MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    Hi guys,

    Can't for the life of me get my DVB-T tuner working in Windows Server 2008R2 :(

    My card is a kworld PCIe dual DVB-T turner - I've tried both the MSI and bdaforserver approach - neither work for me :( (I also have a HD PVR on this server and that works just fine)

    It actually seems the server side is working but I get errors on the client - when I use VLC to connect to the RSP stream it's there (a little poor quality but there). I've attached logs but the following seems to be the key error:

    010-06-10 23:11:31.417344 [Info.][MPMain(1)]: Added filter: CyberLink Video Decoder (PDVD9) to graph
    2010-06-10 23:11:31.567352 [Info.][MPMain(1)]: Added filter: ffdshow Audio Decoder to graph
    2010-06-10 23:11:31.567352 [Info.][MPMain(1)]: TSReaderPlayer: Render TsReader outputs
    2010-06-10 23:11:31.569353 [Debug][MPMain(1)]: Filter: TsReader - try to connect: Audio
    2010-06-10 23:11:31.748363 [Debug][MPMain(1)]: Filter: TsReader - try to connect: Video
    2010-06-10 23:11:33.715475 [Debug][MPMain(1)]: - failed
    2010-06-10 23:11:33.715475 [Debug][MPMain(1)]: Filter: TsReader - try to connect: Subtitle
    2010-06-10 23:11:33.718475 [Debug][MPMain(1)]: - failed
    2010-06-10 23:11:33.719475 [Debug][MPMain(1)]: Check graph connections for: CyberLink Video Decoder (PDVD9)
    2010-06-10 23:11:33.720476 [Debug][MPMain(1)]: - remove done
    2010-06-10 23:11:33.720476 [Debug][MPMain(1)]: Check graph connections for: Enhanced Video Renderer
    2010-06-10 23:11:33.720476 [Debug][MPMain(1)]: Check graph connections for: Default DirectSound Device
    2010-06-10 23:11:33.720476 [Debug][MPMain(1)]: Check graph connections for: ffdshow Audio Decoder
    2010-06-10 23:11:33.720476 [Debug][MPMain(1)]: Check graph connections for: TsReader
    2010-06-10 23:11:33.722476 [Warn.][MPMain(1)]: VMR9: Pin: 0 not connected: 80040209
    2010-06-10 23:11:33.723476 [Warn.][MPMain(1)]: VMR9: Pin: 1 not connected: 80040209
    2010-06-10 23:11:33.723476 [Warn.][MPMain(1)]: VMR9: Pin: 2 not connected: 80040209
    2010-06-10 23:11:33.723476 [Info.][MPMain(1)]: TSReaderPlayer: Failed vmr9 not connected
    2010-06-10 23:11:33.725476 [Info.][MPMain(1)]: TSReaderPlayer: cleanup DShow graph False
    2010-06-10 23:11:33.727476 [Debug][MPMain(1)]: VMR9: Dispose
    2010-06-10 23:11:33.734476 [Debug][MPMain(1)]: SubtitleRenderer: starting cleanup
    2010-06-10 23:11:33.792480 [Debug][MPMain(1)]: SubtitleRenderer: cleanup done
    2010-06-10 23:11:33.792480 [Debug][MPMain(1)]: VMR9: Inactive
    2010-06-10 23:11:33.794480 [Debug][MPMain(1)]: Remove filter from graph: Enhanced Video Renderer 1
    2010-06-10 23:11:33.794480 [Debug][MPMain(1)]: Remove filter from graph: Default DirectSound Device 0
    2010-06-10 23:11:33.795480 [Debug][MPMain(1)]: Remove filter from graph: ffdshow Audio Decoder 1
    2010-06-10 23:11:33.795480 [Debug][MPMain(1)]: Remove filter from graph: TsReader 0
    2010-06-10 23:11:33.798480 [Info.][MPMain(1)]: TSReaderPlayer: Disabling DX9 exclusive mode
    2010-06-10 23:11:33.798480 [Info.][MPMain(1)]: TSReaderPlayer:GetInterfaces() failed
    2010-06-10 23:11:33.799480 [Info.][MPMain(1)]: TSReaderPlayer: Disabling DX9 exclusive mode
    2010-06-10 23:11:33.799480 [Info.][MPMain(1)]: g_Player: ended
    2010-06-10 23:11:33.800480 [Warn.][MPMain(1)]: tvhome:startplay. Phase 2 - 9105 ms - Done starting g_Player.Play()
    2010-06-10 23:11:33.913487 [Debug][MPMain(1)]: WindowManager: route TvPlugin.TVGuide:600->MediaPortal.Dialogs.GUIDialogOK:2002
    2010-06-10 23:11:33.914487 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogOK init


    Does anyone have any ideas???
     

    Users who are viewing this thread

    Top Bottom