Server Error in '/' Application.

Cannot open database "kddvcntt_inhoaphat" requested by the login. The login failed.
Login failed for user 'inhoaphat'.

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 "kddvcntt_inhoaphat" requested by the login. The login failed.
Login failed for user 'inhoaphat'.

Source Error:


Line 47:             catch (Exception ex)
Line 48:             {
Line 49:                 throw ex;
Line 50:             }
Line 51:             return result;

Source File: e:\inetpub\vhosts\inhoaphat.vn\httpdocs\App_Code\Data\Visit1DAO.cs    Line: 49

Stack Trace:


[SqlException (0x80131904): Cannot open database "kddvcntt_inhoaphat" requested by the login. The login failed.
Login failed for user 'inhoaphat'.]
   Anhht.Data.Visit1DAO.Update_Visit1() in e:\inetpub\vhosts\inhoaphat.vn\httpdocs\App_Code\Data\Visit1DAO.cs:49
   Anhht.Business.Visit1Service.Update_Visit1() in e:\inetpub\vhosts\inhoaphat.vn\httpdocs\App_Code\Business\Visit1Service.cs:27
   Global.Session_Start(Object sender, EventArgs e) in e:\inetpub\vhosts\inhoaphat.vn\httpdocs\App_Code\Global.asax.cs:36
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +9734615
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +155
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1095
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +285
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


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