System.Runtime.InteropServices.COMException (0x80004002) ...

The built-in ARGUS TV recorder for digital TV
Post Reply
kloges
Posts: 45
Joined: Mon Jul 21, 2008 12:50 am

System.Runtime.InteropServices.COMException (0x80004002) ...

Post by kloges » Tue Oct 22, 2013 1:50 am

Hi guys,

i tried to install the ArgusTV Tuner on a Windows 7 Enterprise. The OS is installed on VM which installed on ESXi 5.1 Host. Version of the Virtual Machine is vmx-09. I use two TeVii S660 Cards via USB-port passthrough to watch tv.

I can't scan for channels. Everytime when i start to the scan the cardsservice gets stopped and started again.

In the Recorder.log i can see only that the cards service gets restarted due to fatal error

2013-10-22 00:58:21,351 [INFO ][9]: Start service scanning on card #1
2013-10-22 00:58:30,782 [ERROR][9]: Exception: An unexpected error occurred
2013-10-22 00:58:30,783 [INFO ][9]: Restarting card service for card #1 'TeVii DVB-S/S2 Receiver' due to fatal error
2013-10-22 00:58:39,880 [INFO ][9]: Started card service for card #1 'TeVii DVB-S/S2 Receiver' (@device:pnp:\\?\usb#vid_9022&pid_d660#6&1c8f9ed2&0&1#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{bae3794d-d7c2-44a1-9599-26ffcd90cf34})
2013-10-22 00:58:39,880 [INFO ][9]: Start service scanning on card #1

In the Recorder.Card-1.log i can see this information

2013-10-22 00:58:39,786 [DEBUG][Graph]: Using existing tuning space
2013-10-22 00:58:39,786 [INFO ][Graph]: Started card service for card #1 'TeVii DVB-S/S2 Receiver'
2013-10-22 00:58:39,817 [INFO ][Heartbeat]: Heartbeat thread started.
2013-10-22 00:58:39,895 [INFO ][Graph]: Start scanning.
2013-10-22 00:58:39,895 [DEBUG][Graph]: Starting graph
2013-10-22 00:58:40,863 [DEBUG][Graph]: Added BDA tuner for device TeVii DVB-S/S2 Receiver
2013-10-22 00:58:40,863 [DEBUG][Graph]: Using BDA tuner without receiver
2013-10-22 00:58:40,909 [DEBUG][Graph]: Saved graph to C:\ProgramData\ARGUS TV\Graphs\Card-1.grf
2013-10-22 00:58:40,909 [DEBUG][Graph]: Detected 2 signal statistics interfaces
2013-10-22 00:58:47,087 [INFO ][Graph]: TeVii: Detected TeVii card #0, API version: 513
2013-10-22 00:58:47,212 [INFO ][Graph]: Shutting down card service...
2013-10-22 00:58:47,226 [INFO ][Heartbeat]: Heartbeat thread ended.
2013-10-22 00:58:47,601 [INFO ][1]: Stopping service host.
2013-10-22 00:58:47,866 [INFO ][1]: Card host ended.
2013-10-22 00:58:52,515 [INFO ][1]: Card host started for card #1.
2013-10-22 00:58:52,546 [INFO ][1]: Starting service host.
2013-10-22 00:58:53,981 [DEBUG][Graph]: Using existing tuning space
2013-10-22 00:58:53,981 [INFO ][Graph]: Started card service for card #1 'TeVii DVB-S/S2 Receiver'
2013-10-22 00:58:53,997 [INFO ][Heartbeat]: Heartbeat thread started.

In the event log of the OS the following event appears when the service gets restarted

System.Runtime.InteropServices.COMException (0x80004002): Schnittstelle nicht unterstützt

bei DirectShowLib.DsError.ThrowExceptionForHR(Int32 hr)
bei ArgusTV.Recorder.Graph.BdaGraphBase.RunGraph()
bei ArgusTV.Recorder.Card.Cards.CardBase.StartScanning()
bei ArgusTV.Recorder.Card.CardService.StartScanning()

Has anyone of you an idea why the error above occurs. The same setup was already working but i need to reinstall it because of a filesystem problem which destroyed the old vm. Did i miss to install something. I already updated Direct X and make sure that .Net 4 and C++ 2008 and 20010 redistibutable are install for x86. The OS itself is 64bit.

Regards,
Knud Loges

User avatar
andrewNZ
Posts: 677
Joined: Thu Nov 26, 2009 2:07 pm
Location: Dunedin, New Zealand

Re: System.Runtime.InteropServices.COMException (0x80004002)

Post by andrewNZ » Tue Oct 22, 2013 2:21 am

It might be worth looking through this thread viewtopic.php?f=49&t=4010

There's also a wiki page here http://www.argus-tv.com/wiki/index.php? ... nvironment
You can fix it, or you can fix it until it's broken. I usually choose the latter.

Server: WHS 2011. Hauppauge HVR 2200. Avermedia A835. ArgusTV Server. EPG Collector.
Clients: Win7 64bit. MediaPortal. ArgusTV Client. StreamedMP.

kloges
Posts: 45
Joined: Mon Jul 21, 2008 12:50 am

Re: System.Runtime.InteropServices.COMException (0x80004002)

Post by kloges » Wed Oct 23, 2013 4:46 pm

Hi guys

i found the problem. A virtual soundcard was missing. After opening the vmware with vmworkstation and adding a sound device and then putting the vm back on the vmware server the error message was gone and a scan was possible.

Regards,
Knud Loges

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests