Michał Fułat 0 Napisano 9 Grudnia 2020 Udostępnij Napisano 9 Grudnia 2020 w (Sfera) Problem z wydrukami "EKO", resolution of the dependency failed Witam, Podczas próby wydruku dokumentu z wybranego wzorca w trybie "EKO" otrzymuję błąd: Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "InsERT.Moria.Wydruki.IWydrukEKO", name = "(none)". Spróbowałem wykonać test wzorca metodą Wybrobuj() i otrzymałem następujący komunikat: Unhandled Exception: Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "InsERT.Moria.Wydruki.IWydrukEKO", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The current type, InsERT.Moria.Wydruki.IWydrukEKO, is an interface and cannot be constructed. Are you missing a type mapping? ----------------------------------------------- At the time of the exception, the container was: Resolving InsERT.Moria.Wydruki.IWydrukEKO,(none) ---> System.InvalidOperationException: The current type, InsERT.Moria.Wydruki.IWydrukEKO, is an interface and cannot be constructed. Are you missing a type mapping? at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context) at InsERT.Mox.Runtime.Unity.ReflectionBuildPlanPolicy.BuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context) at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context) at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) --- End of inner exception stack trace --- at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides) at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name, ResolverOverride[] resolverOverrides) at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, String name, ResolverOverride[] overrides) at Microsoft.Practices.ObjectBuilder2.DeferredResolveBuildPlanPolicy.ResolveTrampoline`1.Resolve() at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value() at InsERT.Moria.Wydruki.Base.WydrukServices`1.get_WydrukEKO() at InsERT.Moria.Wydruki.Base.Wydruk`2.PobierzWzorzec(Int32 id) at InsERT.Moria.Wydruki.Base.Wydruk`2.PobierzWzorzec(WzorzecWydruku WybranyWzorzec) at InsERT.Moria.Wydruki.Base.Wydruk`2.Podglad(TDoc obiektDoDrukowania) at InsERT.Moria.Wydruki.Base.Wydruk`2.Wyprobuj(WzorzecWydruku wzorzec, Boolean eko) at InsERT.Moria.Wydruki.WzorceWydruku.Wyprobuj(WzorzecWydruku wzorzecWydruku, Boolean eko) I tutaj pojawia się pytanie, czy jest jakiś problem w nexo z tymi wydrukami czy może należy je obsłużyć w jakiś szczególny sposób, inny niż wzorce "nie-eko"? Wersja nexo 32.1.0. Pozdrawiam, Michał Link to postu
Piotr Taraszkiewicz 12 Napisano 9 Grudnia 2020 Udostępnij Napisano 9 Grudnia 2020 w (Sfera) Problem z wydrukami "EKO", resolution of the dependency failed Podpinam się pod problem, bo mieliśmy podobny przypadek. Link to postu
Przemysław Werner 395 Napisano 8 Stycznia 2021 Udostępnij Napisano 8 Stycznia 2021 w (Sfera) Problem z wydrukami "EKO", resolution of the dependency failed (edytowane) Dziękujemy za zgłoszenie, problem zostanie rozwiązany w najbliższej możliwej wersji. Edytowane 8 Stycznia 2021 przez Przemysław Werner Link to postu
Polecane posty