Cannot open database "drugdeta_main_dev" requested by the login. The login failed. Login failed for user 'drug2'. 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.Data.SqlClient.SqlException: Cannot open database "drugdeta_main_dev" requested by the login. The login failed. Login failed for user 'drug2'. Source Error: Line 101: catch (Exception ex) Line 102: { Line 103: throw ex; Line 104: } Line 105: } Source File: c:\inetpub\vhosts\drugdetails.in\httpdocs\test3\Modern Hospitals.aspx.cs Line: 103 Stack Trace: [SqlException (0x80131904): Cannot open database "drugdeta_main_dev" requested by the login. The login failed. Login failed for user 'drug2'.] ModernHospital.BindProductDetails() in c:\inetpub\vhosts\drugdetails.in\httpdocs\test3\Modern Hospitals.aspx.cs:103 ModernHospital.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\drugdetails.in\httpdocs\test3\Modern Hospitals.aspx.cs:20 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18446
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)