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 261://After execute Select @237-7D8CD050
Line 262:                if(E!=null) throw(E);
Line 263:            }
Line 264:            DataRowCollection dr=ds.Tables[tableIndex].Rows;
Line 265:            result = new ShortViewEventsGridItem[dr.Count];

Source File: d:\www\apps\eventsCalendar\App_Code\dayDataProvider.cs    Line: 263

Stack Trace:


[SqlException (0x80131904): Cannot open database "VCalendar" requested by the login. The login failed.
Login failed for user 'DELTA\tempsvcacct'.]
   calendar.day.ShortViewEventsGridDataProvider.GetResultSet(Int32& _pagesCount, FormSupportedOperations ops) in d:\www\apps\eventsCalendar\App_Code\dayDataProvider.cs:263
   calendar.day.dayPage.ShortViewEventsGridBind() in d:\www\apps\eventsCalendar\day.aspx.cs:101
   calendar.day.dayPage.Page_Load(Object sender, EventArgs e) in d:\www\apps\eventsCalendar\day.aspx.cs:59
   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