Cannot open database "mhdb_18" requested by the login. The login failed.

Server Error in '/' Application.

Cannot open database "mhdb_18" requested by the login. The login failed.

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.Runtime.InteropServices.COMException: Cannot open database "mhdb_18" requested by the login. The login failed.

Source Error:


Line 13: 
Line 14: cn = server.CreateObject("adodb.connection")
Line 15: cn.open (strcn )  
Line 16: 
Line 17: ' Used for showing Latest Items in TGWSA sections

Source File: C:\Inetpub\vhosts\mobileheart.com\httpdocs\db.aspx    Line: 15

Stack Trace:


[COMException (0x80004005): Cannot open database "mhdb_18" requested by the login. The login failed.]
   Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) +785
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) +451780
   ASP.tgwsa_topitems_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Inetpub\vhosts\mobileheart.com\httpdocs\db.aspx:15
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


Version Information: Microsoft .NET Framework Version:2.0.50727.9066; ASP.NET Version:2.0.50727.9062