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
MediaPortal 2
General
First observations with MP2-Server as a service
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="MJGraf" data-source="post: 987028" data-attributes="member: 17886"><p>I just tried MP2-Server as a service for the first time and just wanted to post my first observations:</p><p> </p><p>First of all, for me as an old-school guy it was new that you can't use regsvr32 for .net-services. I didn't build a full installer but just compiled the dev branch. As a result, I had to use "installutil.exe" to get the service installed. The location of this utility, however, was not in my path variable and it took me some time to find it in C:\Windows\Microsoft.NET\Framework\v4.0.30319. Maybe this should be documented for .net-newbies like me <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p> </p><p>Second observation was that when I started the service from the taskmanager, it started and then it terminated immediately without any error message. There was also no single line in the log files and no error log at all. The windows system log just showed "service terminated". When I started the service in applications mode ("-c" commandline parameter), it started without problems. The reason for the service terminating immediately was that I still had a lot of settings and files in C:\ProgramData\Team MediaPortal\MP2-Server from my old installations, which the MP2-server apparently didn't like (although I don't understand, why MP2-Server started as an application without problems).</p><p>After deleting this directory completely, the service started without problems. While having old files in this directory may be a valid reason for the service terminating, it would be helpful if there was some kind of hint in the logfiles why there is a problem for the service.</p><p> </p><p>Lastly, my MP2-client did not connect automatically to the MP2-server, when it was started as service. The same MP2-Server as service seems to be recognized as a "different MP2-server" than the same server started as an application. After detaching from the MP2-server and re-attaching again, it worked.</p><p> </p><p>Besides these observations, very good progress guys! I hope I will have some more time to test in a couple of weeks...</p><p> </p><p>cheers,</p><p>Michael</p></blockquote><p></p>
[QUOTE="MJGraf, post: 987028, member: 17886"] I just tried MP2-Server as a service for the first time and just wanted to post my first observations: First of all, for me as an old-school guy it was new that you can't use regsvr32 for .net-services. I didn't build a full installer but just compiled the dev branch. As a result, I had to use "installutil.exe" to get the service installed. The location of this utility, however, was not in my path variable and it took me some time to find it in C:\Windows\Microsoft.NET\Framework\v4.0.30319. Maybe this should be documented for .net-newbies like me :p Second observation was that when I started the service from the taskmanager, it started and then it terminated immediately without any error message. There was also no single line in the log files and no error log at all. The windows system log just showed "service terminated". When I started the service in applications mode ("-c" commandline parameter), it started without problems. The reason for the service terminating immediately was that I still had a lot of settings and files in C:\ProgramData\Team MediaPortal\MP2-Server from my old installations, which the MP2-server apparently didn't like (although I don't understand, why MP2-Server started as an application without problems). After deleting this directory completely, the service started without problems. While having old files in this directory may be a valid reason for the service terminating, it would be helpful if there was some kind of hint in the logfiles why there is a problem for the service. Lastly, my MP2-client did not connect automatically to the MP2-server, when it was started as service. The same MP2-Server as service seems to be recognized as a "different MP2-server" than the same server started as an application. After detaching from the MP2-server and re-attaching again, it worked. Besides these observations, very good progress guys! I hope I will have some more time to test in a couple of weeks... cheers, Michael [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
First observations with MP2-Server as a service
Contact us
RSS
Top
Bottom