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 1
Support
General Support
MP1-4502 - ChannelState.DoSetChannelStates: An unknown error occured while setting channel states
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="popy" data-source="post: 1061513" data-attributes="member: 114134"><p>Hey guys.</p><p></p><p>Trying to find an issue on my MP 1.6 Multiseat installation.</p><p>Also have opened an Thread in the german section: <a href="https://forum.team-mediaportal.com/threads/channelstate-dosetchannelstates-an-unknown-error-occured-while-setting-channel-states.124083/#post-1056150" target="_blank">https://forum.team-mediaportal.com/threads/channelstate-dosetchannelstates-an-unknown-error-occured-while-setting-channel-states.124083/#post-1056150</a></p><p>But there is no answer since an month now, so i decided to post here in the english forum.</p><p></p><p><strong><span style="font-size: 18px">My setup:</span></strong></p><p>Multiseat: Server with TVService 1.6 Final and 2x MP Clients with 1.6 Final</p><p></p><p><span style="font-size: 18px"><strong>Issue:</strong></span></p><p>Mediaportal and TVService running stable for some time/days.</p><p>Then there are some exceptions in the TVService Error Log.</p><p>two times also TVservice.exe has closed itself.</p><p></p><p>[CODE]</p><p>[2014-02-05 12:35:34,743] [Log ] [Channel state thread] [ERROR] - ChannelState.DoSetChannelStates: An unknown error occured while setting channel states - select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel;</p><p>Error: StatementErrorUnclassified</p><p>Gentle.Common.GentleException: select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel; ---> System.Threading.ThreadAbortException: Der Thread wurde abgebrochen.</p><p> bei System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)</p><p> bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)</p><p> bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)</p><p> bei System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)</p><p> bei System.IO.BufferedStream.ReadByte()</p><p> bei MySql.Data.MySqlClient.MySqlStream.LoadPacket()</p><p> bei MySql.Data.MySqlClient.MySqlStream.OpenPacket()</p><p> bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)</p><p> bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()</p><p> bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()</p><p> bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)</p><p> bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)</p><p> bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()</p><p> bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)</p><p> --- Ende der internen Ausnahmestapelüberwachung ---</p><p> bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)</p><p> bei Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)</p><p> bei TvDatabase.Channel.ReferringTuningDetail()</p><p> bei TvDatabase.TvBusinessLayer.GetTuningChannelsByDbChannel(Channel channel)</p><p> bei TvService.ChannelStates.DoSetChannelStates(IDictionary`2 cards, ICollection`1 channels, ICollection`1 allUsers, IController tvController)System.Threading.ThreadAbortException: Der Thread wurde abgebrochen.</p><p> bei System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)</p><p> bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)</p><p> bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)</p><p> bei System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)</p><p> bei System.IO.BufferedStream.ReadByte()</p><p> bei MySql.Data.MySqlClient.MySqlStream.LoadPacket()</p><p> bei MySql.Data.MySqlClient.MySqlStream.OpenPacket()</p><p> bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId)</p><p> bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet()</p><p> bei MySql.Data.MySqlClient.MySqlDataReader.NextResult()</p><p> bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)</p><p> bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)</p><p> bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()</p><p> bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)</p><p>[/CODE]</p><p></p><p><span style="font-size: 18px"><strong>What i have done:</strong></span></p><ul> <li data-xf-list-type="ul">Setup TVSERVICE.exe to restart on error (on an WHS2011)</li> <li data-xf-list-type="ul">Reinstall tvserver from scratch</li> <li data-xf-list-type="ul">Do a new channel search, not importing the old ones</li> <li data-xf-list-type="ul">Setup tvservice settings, have made screenshots and setup all from the SetupTV.exe GUI</li> <li data-xf-list-type="ul">now i am able to reproduce the issue with "test Channels" function in the SetupTV, after starting the test, ignored counts up (also succeed) and those errors are in the TVService-Error.log</li> </ul><p>[ATTACH=full]144963[/ATTACH]</p><p></p><p>here are the logs:</p><p></p><p>Log from normale use of clients: <a href="https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-2-zip.144959/" target="_blank">https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-2-zip.144959/</a></p><p>Log from "test channels" test: <a href="https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-test-channels-zip.144961/" target="_blank">https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-test-channels-zip.144961/</a></p><p></p><p>Please can a MP dev check the logs and help me.</p><p></p><p>thx</p><p>pOpY</p></blockquote><p></p>
[QUOTE="popy, post: 1061513, member: 114134"] Hey guys. Trying to find an issue on my MP 1.6 Multiseat installation. Also have opened an Thread in the german section: [url]https://forum.team-mediaportal.com/threads/channelstate-dosetchannelstates-an-unknown-error-occured-while-setting-channel-states.124083/#post-1056150[/url] But there is no answer since an month now, so i decided to post here in the english forum. [B][SIZE=5]My setup:[/SIZE][/B] Multiseat: Server with TVService 1.6 Final and 2x MP Clients with 1.6 Final [SIZE=5][B]Issue:[/B][/SIZE] Mediaportal and TVService running stable for some time/days. Then there are some exceptions in the TVService Error Log. two times also TVservice.exe has closed itself. [CODE] [2014-02-05 12:35:34,743] [Log ] [Channel state thread] [ERROR] - ChannelState.DoSetChannelStates: An unknown error occured while setting channel states - select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel; Error: StatementErrorUnclassified Gentle.Common.GentleException: select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel; ---> System.Threading.ThreadAbortException: Der Thread wurde abgebrochen. bei System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags) bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode) bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) bei System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) bei System.IO.BufferedStream.ReadByte() bei MySql.Data.MySqlClient.MySqlStream.LoadPacket() bei MySql.Data.MySqlClient.MySqlStream.OpenPacket() bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() bei MySql.Data.MySqlClient.MySqlDataReader.NextResult() bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr) --- Ende der internen Ausnahmestapelüberwachung --- bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr) bei Gentle.Framework.PersistenceBroker.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction) bei TvDatabase.Channel.ReferringTuningDetail() bei TvDatabase.TvBusinessLayer.GetTuningChannelsByDbChannel(Channel channel) bei TvService.ChannelStates.DoSetChannelStates(IDictionary`2 cards, ICollection`1 channels, ICollection`1 allUsers, IController tvController)System.Threading.ThreadAbortException: Der Thread wurde abgebrochen. bei System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags) bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode) bei System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) bei System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) bei System.IO.BufferedStream.ReadByte() bei MySql.Data.MySqlClient.MySqlStream.LoadPacket() bei MySql.Data.MySqlClient.MySqlStream.OpenPacket() bei MySql.Data.MySqlClient.NativeDriver.ReadResult(UInt64& affectedRows, Int64& lastInsertId) bei MySql.Data.MySqlClient.MySqlDataReader.GetResultSet() bei MySql.Data.MySqlClient.MySqlDataReader.NextResult() bei MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) bei MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) bei System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader() bei Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr) [/CODE] [SIZE=5][B]What i have done:[/B][/SIZE] [LIST] [*]Setup TVSERVICE.exe to restart on error (on an WHS2011) [*]Reinstall tvserver from scratch [*]Do a new channel search, not importing the old ones [*]Setup tvservice settings, have made screenshots and setup all from the SetupTV.exe GUI [*]now i am able to reproduce the issue with "test Channels" function in the SetupTV, after starting the test, ignored counts up (also succeed) and those errors are in the TVService-Error.log [/LIST] [ATTACH=full]144963[/ATTACH] here are the logs: Log from normale use of clients: [url]https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-2-zip.144959/[/url] Log from "test channels" test: [url]https://forum.team-mediaportal.com/attachments/log-dosetchannelstate-test-channels-zip.144961/[/url] Please can a MP dev check the logs and help me. thx pOpY [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
MP1-4502 - ChannelState.DoSetChannelStates: An unknown error occured while setting channel states
Contact us
RSS
Top
Bottom