Me genera el siguiente error al generar la consulta dinámica de expedientes System.InvalidOperationException The type String cannot be constructed. You must configure the container to supply this value. Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Aseinfo.VH4.OData.EmpleadosLivePivotCollection", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The type String cannot be constructed. You must configure the container to supply this value. At the time of the exception, the container was: Resolving Aseinfo.VH4.OData.EmpleadosLivePivotCollection,(none)
Resolving parameter "connectionString" of constructor Aseinfo.VH4.OData.EmpleadosLivePivotCollection(System.String connectionString, System.String viewImageUrl)
Resolving System.String,(none)
---> System.InvalidOperationException: The type String cannot be constructed. You must configure the container to supply this value.
en Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context, SelectedConstructor selectedConstructor)
en Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.PreBuildUp(IBuilderContext context)
en Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
en Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlanCreatorPolicy.CreatePlan(IBuilderContext context, NamedTypeBuildKey buildKey)
en Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
en Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
en Microsoft.Practices.ObjectBuilder2.BuilderContext.NewBuildUp(NamedTypeBuildKey newBuildKey)
en BuildUp_Aseinfo.VH4.OData.EmpleadosLivePivotCollection(IBuilderContext )
en Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
en Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
en Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable |