home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
For The Record - The rule-based scheduling suite
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dvdfreak" data-source="post: 207254" data-attributes="member: 21313"><p>The same problem Visteon is having <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>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.</p><p></p><p>Here's my start code:</p><p></p><p>[code] protected override void OnStart(string[] args)</p><p> {</p><p> TvScheduler.ServiceImplementation.EventLogger.Initialize();</p><p> try</p><p> {</p><p> // Start all services</p><p> _tvGuideServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvGuideService));</p><p> _tvSchedulerServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.TvSchedulerService));</p><p> _logServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.LogService));</p><p> _configurationServiceHost = OpenNewServiceHost(typeof(TvScheduler.ServiceImplementation.ConfigurationService));</p><p></p><p> string exePath = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;</p><p> Directory.SetCurrentDirectory(Path.GetDirectoryName(exePath));</p><p></p><p> // XMLTV Imported Thread</p><p> _xmltvImportThread = new XmlTvImportThread();</p><p> _xmltvImportThread.Start();</p><p> }</p><p> catch (Exception ex)</p><p> {</p><p> TvScheduler.ServiceImplementation.EventLogger.WriteEntry(ex);</p><p> throw;</p><p> }</p><p> TvScheduler.ServiceImplementation.EventLogger.WriteEntry("TvScheduler service started.", EventLogEntryType.Information);</p><p> }[/code]</p><p></p><p>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.</p><p></p><p>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?</p><p></p><p>----</p><p></p><p></p><p></p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> Hmmmm... Perhaps I should "ghost" the menu instead? Or isn't this more a matter of getting used to it?</p></blockquote><p></p>
[QUOTE="dvdfreak, post: 207254, member: 21313"] 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); }[/code] 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? ---- :) Hmmmm... Perhaps I should "ghost" the menu instead? Or isn't this more a matter of getting used to it? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
For The Record - The rule-based scheduling suite
Contact us
RSS
Top
Bottom