Server Error in '/' Application.

Unable to connect to any of the specified MySQL hosts.

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.Exception: Unable to connect to any of the specified MySQL hosts.

Source Error:


Line 78: 
Line 79: 	templateBuilder.Append("</h2>\r\n   </div> -->\r\n\r\n   <section class=\"Contain SubPage\">\r\n\r\n    <div class=\"topBar\">\r\n        <ul class=\"MenuList clearfix\">\r\n            ");
Line 80: 	DataTable categoryList = get_category_child_list_NoLink(channel,parent_id,0);
Line 81: 
Line 82: 	foreach(DataRow dr in categoryList.Rows)

Source File: d:\web\hycmsv7_lhjt\aspx\main\art.aspx    Line: 80

Stack Trace:


[Exception: Unable to connect to any of the specified MySQL hosts.]
   hycms.DBUtility.DbHelperMySQL.Query(String SQLString) in E:\server2\hycmsv7_lhjt\hycms.DBUtility\DbHelperMySQL.cs:616
   hycms.DAL.article_category.GetChildListNoLink(Int32 top, Int32 parent_id, Int32 channel_id, Int32 userlogin) in D:\server\wh\lhjt\hycmsv7_lhjt\hycms.DAL\article_category.cs:466
   hycms.BLL.article_category.GetChildListNoLink(Int32 top, Int32 parent_id, String channel_name, Int32 userlogin) in D:\server\wh\lhjt\hycmsv7_lhjt\hycms.BLL\article_category.cs:142
   hycms.Web.UI.BasePage.get_category_child_list_NoLink(String channel_name, Int32 parent_id, Int32 userlogin) in E:\server2\hycmsv7_lhjt\hycms.Web.UI\Label\category.cs:75
   ASP.aspx_main_art_aspx.OnInit(EventArgs e) in d:\web\hycmsv7_lhjt\aspx\main\art.aspx:80
   System.Web.UI.Control.InitRecursive(Control namingContainer) +382
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36392