Server Error in '/' Application.

Exception of type 'System.Exception' was thrown.

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: Exception of type 'System.Exception' was thrown.

Source Error:


Line 101:        using (baglanti = new MySqlConnection(bag))
Line 102:        {
Line 103:            baglanti.Open();
Line 104:            string diger_resim = "0";
Line 105:

Source File: C:\Inetpub\vhosts\evdema.com\httpdocs\urun_detay.aspx.cs    Line: 103

Stack Trace:


[Exception: Exception of type 'System.Exception' was thrown.]
   MySql.Data.MySqlClient.NativeDriver.Open() +211

[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
   MySql.Data.MySqlClient.NativeDriver.Open() +260
   MySql.Data.MySqlClient.MySqlConnection.Open() +331
   urun_detay.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\evdema.com\httpdocs\urun_detay.aspx.cs:103
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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