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

Similar threads

https://forum.team-mediaportal.com/threads/tv-movie-epg-import-mssql-error.141463/post-1303569
https://forum.team-mediaportal.com/threads/tv-movie-epg-import-mssql-error.141463/post-1303569
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
9
Views
4K
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
1K
As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that superficial knowledge of a subject can make people arrogant or foolish, suggesting one should either learn deeply or not at all. "Superficial", and "arrogant or foolish" would be me :eek: . However... I would...
As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that...
I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
Replies
12
Views
4K
I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
Replies
8
Views
1K
4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0 on Windows 7 SP1
4.5 is really old. I'm not sure 4.5.5 even is a version that actually existed. You should be able to install .NET Framework 4.8.0...
My TV PC is more a cast-off on older hardware (a 'Quiet PC' i5 4690, 16GB ram, 2xSSD 1xHDD, system graphics), mainly as a cheap way...
Replies
5
Views
2K
Top Bottom