Bugreports (1 Viewer)

Oxan

Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Could you try the MiniWebServer.dll I've attached? I've fixed some stability issues, and it's running fine for 3 days now.
     

    Attachments

    • MiniWebServer.zip
      30.6 KB

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,780
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    I gave your DLL a try.

    It seemed slightly better, but it is still crashing the TV Server service:

    2010-02-26 20:23:28.747880 [(12)]: Tvservice stopped due to a app domain exception System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.Socket.Send(Byte[] buffer)
    at Cassini.Connection.WriteEntireResponseFromString(Int32 statusCode, String extraHeaders, String body, Boolean keepAlive)
    at Cassini.Connection.WriteErrorAndClose(Int32 statusCode, String message)
    at Cassini.Connection.WriteErrorAndClose(Int32 statusCode)
    at Cassini.Connection.ProcessOneRequest()
    at Cassini.Host.OnSocketAccept(Object acceptedSocket)
    at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    2010-02-26 20:23:28.749881 [(4)]: Tvservice stopped due to a app domain exception System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.Socket.Send(Byte[] buffer)
    at Cassini.Connection.WriteEntireResponseFromString(Int32 statusCode, String extraHeaders, String body, Boolean keepAlive)
    at Cassini.Connection.WriteErrorAndClose(Int32 statusCode, String message)
    at Cassini.Connection.WriteErrorAndClose(Int32 statusCode)
    at Cassini.Connection.ProcessOneRequest()
    at Cassini.Host.OnSocketAccept(Object acceptedSocket)
    at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

    Any other ideas?

    Thanks,

    J.
     

    Wappy

    Portal Member
    September 14, 2008
    16
    0
    Versions

    Mediaportal 1.1 RC1

    Webservices RC3.

    Problem

    When clicking on the tv link i get this (error see below) and similar for all the other tabs only moving pictures and TVseries works and streams the media

    HTML:
    Server Error in '/' Application.
    Input string was not in a correct format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.FormatException: Input string was not in a correct format.
    
    Source Error:
    
    Line 180:    }
    Line 181:
    Line 182:    List<WebMiniEPG> epgs = server.GetTvMiniEPGForGroup(Int32.Parse(cbTvGroups.SelectedValue));
    Line 183:    DataTable dt = new DataTable();
    Line 184:    dt.Columns.Add("channel", typeof(string));
    
    
    Source File: c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs    Line: 182
    
    Stack Trace:
    
    [FormatException: Input string was not in a correct format.]
       System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7469351
       System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
       System.Int32.Parse(String s) +23
       Default.RefreshTv() in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:182
       Default.btnTv_Click(Object sender, EventArgs e) in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:112
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +78
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +100
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2863
    Any help appreciated wappy
     

    Oxan

    Retired Team Member
  • Premium Supporter
  • August 29, 2009
    1,730
    1,124
    Home Country
    Netherlands Netherlands
    Do you have any tv groups? It seems that it's required to have at least one group.

    -> create a tv group and move all channels into that group.
     

    Wappy

    Portal Member
    September 14, 2008
    16
    0
    Do you have any tv groups? It seems that it's required to have at least one group.

    -> create a tv group and move all channels into that group.

    hi oxan and thanks for the reply, unfortunately i have 5 groups in total i've tried a few mixes eg just one and then a few more all with the same result :( but thanks anyway
     

    ulischultz

    Portal Pro
    September 16, 2009
    156
    8
    Munich
    Home Country
    Germany Germany
    Sorry, I am new here...
    Can anyone explain, where do I find what I have to enter for the MP DB Locations?
    How do I know, where they are stored?
    Thanks!
     

    voltagex

    Portal Member
    May 3, 2006
    10
    0
    Win 7 x64, MP1.1.0RC3, WebServices RC3.

    Server Error in '/' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS1705: Assembly 'TVDatabase, Version=1.0.7.22231, Culture=neutral, PublicKeyToken=null' uses 'Gentle.Framework, Version=1.5.0.29111, Culture=neutral, PublicKeyToken=80b5de62e27be49b' which has a higher version than referenced assembly 'Gentle.Framework, Version=1.5.0.29053, Culture=neutral, PublicKeyToken=80b5de62e27be49b'

    Source Error:


    [No relevant source lines]

    Source File: Line: 0


    Show Detailed Compiler Output:


    C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\3af107e2\000ab415_c96fc901\Gentle.Provider.SQLServer.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\07171cb8\00634208_b3f5ca01\TvLibrary.Interfaces.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\4e48f5b8\00687dff_b90dca01\System.Data.SQLite.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\6dedb826\00634208_b3f5ca01\DirectShowLib.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Management\2.0.0.0__b03f5f7f11d50a3a\System.Management.dll" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\bbff21e3\00b392ff_0746ca01\MiniWebServer.DLL" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\a4f272f1\001a24c0_7ccdc901\log4net.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\7dd210d2\00634208_b3f5ca01\TvControl.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\d4608f96\000ab415_c96fc901\MySql.Data.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\02717e07\000ab415_c96fc901\Gentle.Common.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\137b5344\000ab415_c96fc901\Gentle.Framework.DLL" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\0c55d4dc\00907309_b3f5ca01\TvDatabase.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\89258df2\000ab415_c96fc901\Gentle.Provider.MySQL.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /out:"C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.9.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.8.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.11.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.1.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.0.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.13.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.3.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.2.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.12.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.5.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.4.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.10.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.7.cs" "C:\Windows\TEMP\Temporary ASP.NET Files\root\a330c18b\d6a8311f\App_Code.zj9zb9kz.6.cs"


    Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.4926
    for Microsoft (R) .NET Framework version 3.5
    Copyright (C) Microsoft Corporation. All rights reserved.

    c:\Windows\Temp\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\0c55d4dc\00907309_b3f5ca01\TvDatabase.DLL: error CS1705: Assembly 'TVDatabase, Version=1.0.7.22231, Culture=neutral, PublicKeyToken=null' uses 'Gentle.Framework, Version=1.5.0.29111, Culture=neutral, PublicKeyToken=80b5de62e27be49b' which has a higher version than referenced assembly 'Gentle.Framework, Version=1.5.0.29053, Culture=neutral, PublicKeyToken=80b5de62e27be49b'
    c:\Windows\Temp\Temporary ASP.NET Files\root\a330c18b\d6a8311f\assembly\dl3\137b5344\000ab415_c96fc901\Gentle.Framework.DLL: (Location of symbol related to previous error)
     

    DieBagger

    Retired Team Member
  • Premium Supporter
  • September 11, 2007
    2,516
    1,276
    41
    Austria
    Home Country
    Austria Austria
    What you can do is replace the dll's in the

    C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Bin

    directory with the updated ones from MediaPortal RC3. They're in the folders:

    C:\Program Files (x86)\Team MediaPortal\MediaPortal
    C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server

    That should fix your problems.
     

    Users who are viewing this thread

    Similar threads

    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem. Disabling the option "Single seat setup: force RTSP usage" under "TV/Radio", "Advanced Options" resolved the issue. After I disabled this option, I was able to delete the recordings the first time...
    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem...
    Deleting recordings sometimes doesn't work. Neither the 0 button nor the Info/Delete button works. Nothing happens at all with...
    Replies
    6
    Views
    478
    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't let me go back in time when I change channels but it does continue operating from that point on. I'm ok with that. Thanks for your help! EDIT: I now downgraded the server (as I did with the client above)...
    @CyberSimian Sorry, I missed your last post. I ended up doing a clean install on the client and all is well now. It still doesn't...
    When I first start watching a TV program the timeshift functions works perfectly. I can shift back and forth in time and it works...
    Replies
    11
    Views
    3K
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    4K
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV Server Config". I have tried MP2 only a couple of times, and have never used it seriously. I don't know what MP2 supports with regard to adjusting audio delay, but I do know that all of the adjustments of...
    Sorry, it's my fault -- I did not notice that you are using MP2. :( MP1 has a separate configuration utility, similar to "TV...
    Hi. I recently upgraded my home cinema AVR which also meant changed from sending audio from my HTPC as 5.1 using optical to 7.1...
    Replies
    5
    Views
    2K
    Top Bottom