Server Error in '/eventsCalendar' Application.

Cannot open database "VCalendar" requested by the login. The login failed.
Login failed for user 'DELTA\tempsvcacct'.

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 "VCalendar" requested by the login. The login failed.
Login failed for user 'DELTA\tempsvcacct'.

Source Error:


Line 290://After execute Select @5-A43B0D2F
Line 291:                if(E!=null) throw(E);
Line 292:            }
Line 293:            DataRowCollection dr=ds.Tables[tableIndex].Rows;
Line 294:            result = new year_eventsItem[dr.Count];

Source File: d:\www\apps\eventsCalendar\App_Code\yearDataProvider.cs    Line: 292

Stack Trace:


[SqlException (0x80131904): Cannot open database "VCalendar" requested by the login. The login failed.
Login failed for user 'DELTA\tempsvcacct'.]
   calendar.year.year_eventsDataProvider.GetResultSet(FormSupportedOperations ops) in d:\www\apps\eventsCalendar\App_Code\yearDataProvider.cs:292
   calendar.year.yearPage.year_eventsBind() in d:\www\apps\eventsCalendar\year.aspx.cs:97
   calendar.year.yearPage.Page_Load(Object sender, EventArgs e) in d:\www\apps\eventsCalendar\year.aspx.cs:57
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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