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, IEnumerable1 resolverOverrides) --- Fin del seguimiento de la pila de la excepción interna --- en Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable1 resolverOverrides) en Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides) en Aseinfo.Infrastructure.Services.LivePivot.Internal.FactoryClassFinder.Find(String folderPath) en c:BuildAgentwork89066541112bb801InfrastructureServicesLivePivotInternalFactoryClassFinder.cs:línea 40 en Aseinfo.Infrastructure.Services.LivePivot.Internal.CollectionFactories.AddFromFolder(String folderPath) en c:BuildAgentwork89066541112bb801InfrastructureServicesLivePivotInternalCollectionFactories.cs:línea 44 en Aseinfo.Infrastructure.Services.LivePivot.LivePivotHttpHandlersImplementation.ServeCxml(HttpContext context) en c:BuildAgentwork89066541112bb801InfrastructureServicesLivePivotLivePivotHttpHandlersImplementation.cs:línea 118 en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

asked 30 Jun '15, 09:49

Daniel%20Flores's gravatar image

Daniel Flores
(suspended)
accept rate: 20%


Podrías revisar esta respuesta: QA #2585

Con esto se soluciona el problema

link

answered 30 Jun '15, 10:02

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×44
×3

Asked: 30 Jun '15, 09:49

Seen: 1,418 times

Last updated: 30 Jun '15, 10:02

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática