- September 1, 2008
- 21,544
- 8,236
- Home Country
-
New Zealand
Hi again
The error is this:
I think the relevant code that is generating the error is (TvEngine3\TVLibrary\TvService\CardManagement\CardHandler\Recorder.Start() line 94):
I'm not sure that I fully understand what is going on but I believe it is something to do with networking - 90% sure it is that call to RemoteControl.Instance.CardPresent(). For that call to succeed there *must* be a connected network connection and the hostname (in this case "santy") must be resolvable via DNS or some other mechanism. In practise how this works out is that TV Server tries to start recording over and over again but each time the recording fails just before it starts.
So my first question would be: are you using a static IP address on the TV Server machine?
Second: have you added the host name (santy) to the system hosts file (C:\windows\system32\drivers\etc\hosts) on the server and any clients?
If the answer to either of those questions is no then please fix those issues and see whether it helps. You can read how to edit the system hosts file -->here<--.
mm
The error is this:
[scheduler thread(22)]: card: unable to connect to slave controller at:santy
I think the relevant code that is generating the error is (TvEngine3\TVLibrary\TvService\CardManagement\CardHandler\Recorder.Start() line 94):
Code:
try
{
RemoteControl.HostName = _cardHandler.DataBaseCard.ReferencedServer().HostName;
if (!RemoteControl.Instance.CardPresent(_cardHandler.DataBaseCard.IdCard))
return TvResult.CardIsDisabled;
if (_cardHandler.IsLocal == false)
{
return RemoteControl.Instance.StartRecording(ref user, ref fileName, contentRecording, startTime);
}
}
catch (Exception)
{
Log.Error("card: unable to connect to slave controller at:{0}",
_cardHandler.DataBaseCard.ReferencedServer().HostName);
return TvResult.UnknownError;
}
I'm not sure that I fully understand what is going on but I believe it is something to do with networking - 90% sure it is that call to RemoteControl.Instance.CardPresent(). For that call to succeed there *must* be a connected network connection and the hostname (in this case "santy") must be resolvable via DNS or some other mechanism. In practise how this works out is that TV Server tries to start recording over and over again but each time the recording fails just before it starts.
So my first question would be: are you using a static IP address on the TV Server machine?
Second: have you added the host name (santy) to the system hosts file (C:\windows\system32\drivers\etc\hosts) on the server and any clients?
If the answer to either of those questions is no then please fix those issues and see whether it helps. You can read how to edit the system hosts file -->here<--.
mm