Can´t logon: "Server Error in Application" (1 Viewer)

Mike Lowrey

Portal Pro
February 4, 2009
638
124
Berlin
Home Country
Germany Germany
AW: Can´t logon: "Server Error in Application"

I was unable to find the mpwebservice in the team repo so i used the sources from sourceforge and it seems to work...
 

clud

Portal Member
February 11, 2007
33
1
A bit offtopic sorry but, Im total new to this plugin and was just wondering what address I should write in my browser to test if webservices is working?

is it just http://serveripadress:8080 and that should get me to the login screen or?
 

staticx

Portal Pro
March 22, 2009
140
13
Home Country
Israel Israel
Re: AW: Can´t logon: "Server Error in Application"

I was unable to find the mpwebservice in the team repo so i used the sources from sourceforge and it seems to work...

indeed it's working but with some errors
when I try to enter Schedules,Recordings,Tv i get:

Code:
Server Error in '/' Application.
No such host is known
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.Net.Sockets.SocketException: No such host is known

Source Error:

Line 363:      if (!ConnectToDatabase())
Line 364:        return schedInfos;
Line 365:      IList<Schedule> schedules = Schedule.ListAll();
Line 366:      foreach (Schedule schedule in schedules)
Line 367:        schedInfos.Add(new WebSchedule(schedule));


Source File: c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\App_Code\TvServiceWebServices.asmx.cs    Line: 365

Stack Trace:

[SocketException (0x2af9): No such host is known]
   System.Net.Dns.GetAddrInfo(String name) +414
   System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +97
   System.Net.Dns.GetHostEntry(String hostNameOrAddress) +174
   MySql.Data.Common.StreamCreator.GetHostEntry(String hostname) +98
   MySql.Data.Common.StreamCreator.GetStream(UInt32 timeOut) +345
   MySql.Data.MySqlClient.NativeDriver.Open() +219

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.NativeDriver.Open() +305
   MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +89
   MySql.Data.MySqlClient.MySqlPool.GetConnection() +160
   MySql.Data.MySqlClient.MySqlConnection.Open() +212
   Gentle.Provider.MySQL.MySQLProvider.GetConnection() +63

[GentleException: The database backend (provider MySQL) could not be reached.
Check the connection string: Password=mediaportal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=HTPC-1\SQLEXPRESS;Connection Timeout=300;]
   Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg) +89
   Gentle.Common.Check.Fail(Exception e, Error error, Object[] args) +42
   Gentle.Provider.MySQL.MySQLAnalyzer.Analyze(String tableName) +515
   Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map) +155
   Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type) +1519
   Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type) +114
   Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator) +204
   Gentle.Framework.PersistenceBroker.GetRetrieveListStatement(Type type, Key key) +69
   Gentle.Framework.PersistenceBroker.RetrieveList(Key key, IList`1 result, IDbConnection conn, IDbTransaction tr) +59
   Gentle.Framework.PersistenceBroker.RetrieveList(Key key, IList`1 result) +55
   Gentle.Framework.Broker.RetrieveList(Key key, IList`1 result) +113
   Gentle.Framework.Broker.RetrieveList() +36
   TvDatabase.Schedule.ListAll() +10
   MediaPortal.TvServer.WebServices.ServiceInterface.GetAllSchedules() in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\App_Code\TvServiceWebServices.asmx.cs:365
   Default.RefreshSchedules() in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:341
   Default.btnSchedules_Click(Object sender, EventArgs e) in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:128
   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


Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
 

Mike Lowrey

Portal Pro
February 4, 2009
638
124
Berlin
Home Country
Germany Germany
AW: Can´t logon: "Server Error in Application"

staticx

Which SQL Server do you use? With MySQL i only get an error if i try to start Radio, it seems that there are some changes... The TV page works fine... May be you have to copy your gentle.config in the following directory C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs
 

staticx

Portal Pro
March 22, 2009
140
13
Home Country
Israel Israel
Re: AW: Can´t logon: "Server Error in Application"

@staticx

Which SQL Server do you use? With MySQL i only get an error if i try to start Radio, it seems that there are some changes... The TV page works fine... May be you have to copy your gentle.config in the following directory C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs

with the new version i still get those messages.

also, where do you want me to copy gentle.config?
 

Mike Lowrey

Portal Pro
February 4, 2009
638
124
Berlin
Home Country
Germany Germany
AW: Can´t logon: "Server Error in Application"

Yeah i only fixed a problem with the radio section, as i said before you have a problem with the database connection.

You should copy the gentle.config in this directory: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs
 

Users who are viewing this thread


Write your reply...

Similar threads

https://www.team-mediaportal.de/erweiterungen/fernsehen/tv-movie-epg-import https://www.team-mediaportal.de/media/com_mtree/images/listings/o/1635.jpg
https://www.team-mediaportal.de/erweiterungen/fernsehen/tv-movie-epg-import...
Hi, after updating to MP 1.37 TVMovie EPG Import doesn´t work anymore. I´ve found this error in the log: TV Movie importer ERROR -...
Replies
3
Views
407
hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding the recording folder of all background processes? (f.e. defender/antivirus etc, and maybe (don't know if that is even a thing) from creating thumbnails) Edit: and is it always the second time it succeeds...
hm, weird. it can't access the file because its in use by another process... Wonder what that other one is. Can you try excluding...
Hello I have some issues after I skipped Win 7 and upgraded hardware and OS. I now have 1.37 running on a Win 11 setup. Every...
Replies
2
Views
319
MP1 MP2 1.36 .NET error DE
looks like a corrupt xml. I would guess medaportal.xml can you try opening it in notepad and see if it still looks ok? Or better yet: restore it from a recent backup...
looks like a corrupt xml. I would guess medaportal.xml can you try opening it in notepad and see if it still looks ok? Or better...
So I woke up this morning to these error messages: Application: MediaPortal.exe Framework Version: v4.0.30319 Description: The...
Replies
1
Views
549
Got a solution, with this log entry, I found this site, which helped me: https://stackoverflow.com/questions/5247659/system-management-managementexception
Got a solution, with this log entry, I found this site, which helped me...
Hello, I have a problem, that i cannot start reocordings anymore and I cannot delete old recordings with MP1. This started two...
Replies
1
Views
591
Thank, very helpful. My download was done today from the link on Download MediaPortal for free! - MEDIAPORTAL but is the initial release MediaPortalSetup_x86_1.37.000_2025-04-14-08-37.zip. The page MediaPortal 1.37 Release - MEDIAPORTAL has a more recent link, MediaPortalSetup_x86_1.37.000_2025-05-03-18-19.zip. I've now installed...
Thank, very helpful. My download was done today from the link on Download MediaPortal for free! - MEDIAPORTAL but is the initial...
I updated to 1.37 (x86) today, and the TV service is now failing to start. TVService.log has this line: Tvservice stopped due to...
Replies
2
Views
493
Top Bottom