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
WebService and Mobile Access
Graveyard
MPWebServices
Can´t logon: "Server Error in Application"
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="staticx" data-source="post: 607296" data-attributes="member: 89929"><p><strong>Re: AW: Can´t logon: "Server Error in Application"</strong></p><p></p><p></p><p></p><p>indeed it's working but with some errors</p><p>when I try to enter Schedules,Recordings,Tv i get:</p><p></p><p>[CODE]Server Error in '/' Application.</p><p>No such host is known</p><p>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.</p><p></p><p>Exception Details: System.Net.Sockets.SocketException: No such host is known</p><p></p><p>Source Error:</p><p></p><p>Line 363: if (!ConnectToDatabase())</p><p>Line 364: return schedInfos;</p><p>Line 365: IList<Schedule> schedules = Schedule.ListAll();</p><p>Line 366: foreach (Schedule schedule in schedules)</p><p>Line 367: schedInfos.Add(new WebSchedule(schedule));</p><p></p><p></p><p>Source File: c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\App_Code\TvServiceWebServices.asmx.cs Line: 365</p><p></p><p>Stack Trace:</p><p></p><p>[SocketException (0x2af9): No such host is known]</p><p> System.Net.Dns.GetAddrInfo(String name) +414</p><p> System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +97</p><p> System.Net.Dns.GetHostEntry(String hostNameOrAddress) +174</p><p> MySql.Data.Common.StreamCreator.GetHostEntry(String hostname) +98</p><p> MySql.Data.Common.StreamCreator.GetStream(UInt32 timeOut) +345</p><p> MySql.Data.MySqlClient.NativeDriver.Open() +219</p><p></p><p>[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]</p><p> MySql.Data.MySqlClient.NativeDriver.Open() +305</p><p> MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() +89</p><p> MySql.Data.MySqlClient.MySqlPool.GetConnection() +160</p><p> MySql.Data.MySqlClient.MySqlConnection.Open() +212</p><p> Gentle.Provider.MySQL.MySQLProvider.GetConnection() +63</p><p></p><p>[GentleException: The database backend (provider MySQL) could not be reached.</p><p>Check the connection string: Password=mediaportal;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=HTPC-1\SQLEXPRESS;Connection Timeout=300;]</p><p> Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg) +89</p><p> Gentle.Common.Check.Fail(Exception e, Error error, Object[] args) +42</p><p> Gentle.Provider.MySQL.MySQLAnalyzer.Analyze(String tableName) +515</p><p> Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map) +155</p><p> Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type) +1519</p><p> Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type) +114</p><p> Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator) +204</p><p> Gentle.Framework.PersistenceBroker.GetRetrieveListStatement(Type type, Key key) +69</p><p> Gentle.Framework.PersistenceBroker.RetrieveList(Key key, IList`1 result, IDbConnection conn, IDbTransaction tr) +59</p><p> Gentle.Framework.PersistenceBroker.RetrieveList(Key key, IList`1 result) +55</p><p> Gentle.Framework.Broker.RetrieveList(Key key, IList`1 result) +113</p><p> Gentle.Framework.Broker.RetrieveList() +36</p><p> TvDatabase.Schedule.ListAll() +10</p><p> MediaPortal.TvServer.WebServices.ServiceInterface.GetAllSchedules() in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\App_Code\TvServiceWebServices.asmx.cs:365</p><p> Default.RefreshSchedules() in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:341</p><p> Default.btnSchedules_Click(Object sender, EventArgs e) in c:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins\MPWebServices\htdocs\Default.aspx.cs:128</p><p> System.Web.UI.WebControls.Button.OnClick(EventArgs e) +78</p><p> System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +100</p><p> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10</p><p> System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13</p><p> System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36</p><p> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2863</p><p></p><p></p><p>Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927 [/CODE]</p></blockquote><p></p>
[QUOTE="staticx, post: 607296, member: 89929"] [b]Re: AW: Can´t logon: "Server Error in Application"[/b] 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 [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Graveyard
MPWebServices
Can´t logon: "Server Error in Application"
Contact us
RSS
Top
Bottom