Online Reservations are not being accepted at this time. Please call to make your reservation.
Controller = Home
Action = nIndex
Message = The context cannot be used while the model is being created.
StackTrace :
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext() at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source) at OnlineV2.Repository.AdminRepository.GetGeneralSetting() in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Repository\AdminRepository.cs:line 133 at LoggerBase.get_OnlineGeneralSetting() in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Helpers\LoggerBase.cs:line 23 at LoggerBase.WriteFile(String errorMessage) in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Helpers\LoggerBase.cs:line 71 at Logger.WriteUserLog(Object sessionid, Object user, String message) in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Helpers\Logger.cs:line 48 at OnlineV2.Repository.TeeSheetRepository.GetTeeSheetsFilter(Int32[] courseIds, Double fromDate, Double toDate, Int32 numofplayer, String classCode, String defaultOnlineRate, Guid sessionId, ParingOptionEnum paringOption, List`1 holidayList, Int32 holes, User currentUser, OptionMode mode, Guid[] courseGuids, Int32 memberStoreId, Boolean isAnyTime, Boolean isShowMoreTeetimeBtnForMobile, String couponCode, Boolean isNormalResponsive, Dictionary`2 OnlineAllow18Holes, Boolean isCalculateClassCurve, Boolean isGroupBooking) in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Repository\TeeSheetRepository.cs:line 336 at OnlineV2.Controllers.HomeController.nIndex(String CourseNumber, String CourseId, String message, String Date, String Time, String Player, String Hole, String TeesheetId, String SortBy, String namveView, String _ga, String isSearch) in E:\Autobuild\Src\POSGit\cps_enterprise\3.10.2\SH\OnlineV2\Controllers\HomeController.cs:line 43428 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__11_0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_1.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass7_0.<BeginInvokeActionMethodWithFilters>b__1(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__3() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult)