Service XXX.ABCService is not available in the current context

Working with a new module of the Web Client Software Factory that I had created, I was getting an error similar to that seen in the screenshot on this page. I trouble-shot everything suggested on that page, and everything on this page.

None of those situations applied in my case. Upon a closer inspection, I had totally made a noob error. In the presenter, I had injected the concrete implementation of the Service, rather than the interface upon which the service had been implemented. So, if you see that error about a service not being available in the current context, it may be something as simple as that.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>