- June 13, 2006
- 979
- 178
- Home Country
-
Belgium
- Thread starter
- #301
Check the Windows event viewer (eventvwr.exe). In the application log. Hopefully there's an error logged there that explains this...
I now have the same issue. I originally setup TvS to grabs TV3's EPG, worked great. Switched over to XMLTV to give it a try, didn't work as good. Tried to switch back and TV3 and TvS didn't want to talk.
Uninstalled, reinstalled and TvS service just starts and stops. Absolutely no error in the event viewer.
I've tried deleting the full dot-i directory and the database, but still a no-go.
The same problem Visteon is having
I'd really like to get to the bottom of this one. I'm wondering if it has anything to do with the broken installer from the previous versions, in that they leave something behind somewhere.
Here's my start code:
Code:
protected override void OnStart(string[] args)
{
TvScheduler.ServiceImplementation.EventLogger.Initialize();
try
{
// Start all services
_tvGuideServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvGuideService));
_tvSchedulerServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvSchedulerService));
_logServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.LogService));
_configurationServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.ConfigurationService));
string exePath = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;
Directory.SetCurrentDirectory(Path.GetDirectoryName(exePath));
// XMLTV Imported Thread
_xmltvImportThread = new XmlTvImportThread();
_xmltvImportThread.Start();
}
catch (Exception ex)
{
TvScheduler.ServiceImplementation.EventLogger.WriteEntry(ex);
throw;
}
TvScheduler.ServiceImplementation.EventLogger.WriteEntry("TvScheduler service started.", EventLogEntryType.Information);
}
What's puzzling me is that in all error cases it will log an error in the event-log. So it almost looks like the service simply isn't loading. Or the error must occur in EventLogger.Initialize() which is also hard to imagine.
Can you try the following: use a command prompt and go to the "TV Scheduler" directory in program files, then run TvScheduler.WindowsService.exe manually. Does it simply complain that it is a service and can't run that way? Or do you get an error?
----
Hiding the menu when entering "channel group", "channel" or "settings" panels is a very ugly effect...
At first it seems a locked application....