[InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is closed.]
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +676
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +155
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +83
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +198
System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) +98
System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) +510
System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +36
[EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details.]
System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) +125
System.Data.Entity.Core.Objects.ObjectContext.CreateFunctionObjectResult(EntityCommand entityCommand, ReadOnlyCollection`1 entitySets, EdmType[] edmTypes, ExecutionOptions executionOptions) +817
System.Data.Entity.Core.Objects.<>c__DisplayClass161_0`1.<ExecuteFunction>b__1() +105
System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +459
System.Data.Entity.Core.Objects.<>c__DisplayClass161_0`1.<ExecuteFunction>b__0() +229
System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +234
System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction(String functionName, ExecutionOptions executionOptions, ObjectParameter[] parameters) +855
OurGovt.ResourceAPI.ContentResource.Get(OurGovernmentEntities dc, String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\Resources\ContentResource.vb:34
OurGovt.ResourceAPI.ResourceService`1.Get(String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\Services\ResourceService.vb:218
[Exception: 'Get' method missing or incorrect signature in class ContentResource - message: ExecuteReader requires an open and available Connection. The connection's current state is closed.]
OurGovt.ResourceAPI.ResourceService`1.Get(String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\Services\ResourceService.vb:226
OurGovt.ResourceAPI.ResourceRepository`1.Reload(String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\ResourceRepository.vb:82
OurGovt.ResourceAPI.ResourceRepository`1.get_Item(String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\ResourceRepository.vb:48
OurGovt.ResourceAPI.ResourceRepository`1.Exists(String key) in C:\Users\Ken\source\repos\GOSL\ResourceAPI\ResourceRepository.vb:66
HtmlClient.RouteContentResolver.Match(HttpContextBase httpContext, Route route, String parameterName, RouteValueDictionary values, RouteDirection routeDirection) in C:\Users\Ken\source\repos\GOSL\HtmlClient-Bootstrap\Classes\RouteContentResolver.vb:12
System.Web.Routing.Route.ProcessConstraint(HttpContextBase httpContext, Object constraint, String parameterName, RouteValueDictionary values, RouteDirection routeDirection) +97
System.Web.Routing.Route.ProcessConstraints(HttpContextBase httpContext, RouteValueDictionary values, RouteDirection routeDirection) +220
System.Web.Routing.Route.GetRouteData(HttpContextBase httpContext) +213
System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +228
System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +70
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +139
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88
|