Base solution for your next web application
Open Closed

appservicen which was not registered #1261


User avatar
0
iamnish created

getting following error while opening a page :

Ni.diam.Web.Areas.Mpa.Controllers.SaleController' is waiting for the following dependencies:

  • Service 'Ni.diam.Dtoapp.ISaleappservice' which was not registered.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    gunpal5 created

    make sure your Application Service Interfaces are extending IApplicationService interface. e.g.

    public interface IMyAppService:IApplicationService
    {
     Task SomeApplicationServiceMethod();
    }
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    iamnish created

    yes it is but still getting the error

    public interface ISaleappservice : IApplicationService {

    }

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    iamnish created

    it got resolved .It was just because of some typing mistake anyways thanks for help

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)