R2 D2 2 Napisano 26 Lutego 2021 Udostępnij Napisano 26 Lutego 2021 w Wystąpił błąd: Resolution of the dependency failed, type = "InsERT.Moria.Naklejki.IWydrukNaklejek", name = "(none)". (edytowane) SDK :nexoSDK_34.1.1.4334 Fragment kodu na którym występuje błąd ( kod z dokumentacji): Cytat var wydrukNaklejek = uchwytDoSfery.PodajObiektTypu<IWydrukNaklejek>(); Przy próbie wydruku naklejki, otrzymujemy błąd: Cytat Wystąpił błąd: Resolution of the dependency failed, type = "InsERT.Moria.Naklejki.IWydrukNaklejek", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The current type, InsERT.Moria.Naklejki.UI.IWydrukNaklejekUsluga, 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.Naklejki.WydrukNaklejek,(none) (mapped from InsERT.Moria.Naklejki.IWydrukNaklejek, (none)) Resolving parameter "wydrukNaklejekUsluga" of constructor InsERT.Moria.Naklejki.WydrukNaklejek(InsERT.Moria.Naklejki.UI.IWydrukNaklejekUsluga wydrukNaklejekUsluga) Resolving InsERT.Moria.Naklejki.UI.IWydrukNaklejekUsluga,(none) Edytowane 26 Lutego 2021 przez R2 D2 Link to postu
Przemysław Werner 395 Napisano 1 Marca 2021 Udostępnij Napisano 1 Marca 2021 w Wystąpił błąd: Resolution of the dependency failed, type = "InsERT.Moria.Naklejki.IWydrukNaklejek", name = "(none)". Zgodnie z dokumentacją techniczną sfery wydruk naklejek wymaga włączonego dostępu do UI. W metodzie UruchomSfere należy ustawić w MenadzerzePolaczen właściwość: mp.DostepDoUI = true; Link to postu
Polecane posty