[NullReferenceException: Object reference not set to an instance of an object.]
CDE.Sarc.Models.Database.Database.GetConnectionString() in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Models\Database\Database.cs:50
CDE.Sarc.Models.Database.Database.ExecuteDataTable(String storedProc, SqlParameter[] myParams) in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Models\Database\Database.cs:246
CDE.Sarc.Models.Database.Database.GetObject(String storedProc, SqlParameter[] myParams) in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Models\Database\Database.cs:413
CDE.Sarc.ViewModels.SectionViewModel.GetSchoolandYear(String cdscode, Int32 yearID) in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Models\ViewModels\SectionViewModel.cs:46
CDE.Sarc.Controllers.BaseController.OnActionExecuting(ActionExecutingContext filterContext) in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Controllers\BaseController.cs:135
CDE.Sarc.Controllers.SchoolController.OnActionExecuting(ActionExecutingContext filterContext) in C:\Users\mespinosa\Source\Repos\SARC\CDE.Sarc\Controllers\SchoolController.cs:32
System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeActionMethodFilterAsynchronously(IActionFilter filter, ActionExecutingContext preContext, Func`1 nextInChain) +99
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__31(AsyncCallback asyncCallback, Object asyncState) +272
System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +169
System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters, AsyncCallback callback, Object state) +311
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__1e(AsyncCallback asyncCallback, Object asyncState) +753
System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +418
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__17(AsyncCallback asyncCallback, Object asyncState) +49
System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +540
System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +464
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__3(AsyncCallback asyncCallback, Object asyncState) +133
System.Web.Mvc.Async.WrappedAsyncResult`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +170
System.Web.Mvc.<>c__DisplayClass6.<BeginProcessRequest>b__2() +340
System.Web.Mvc.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a() +22
System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Func`1 func) +123
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +970
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158
|