Skocz do zawartości

Wystąpił błąd: Resolution of the dependency failed, type = "InsERT.Moria.Naklejki.IWydrukNaklejek", name = "(none)".

Polecane posty

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 przez R2 D2
Link to postu
  • R2 D2 zmienił tytuł na Wystąpił błąd: Resolution of the dependency failed, type = "InsERT.Moria.Naklejki.IWydrukNaklejek", name = "(none)".
×
×
  • Dodaj nową pozycję...