Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

No parameterless constructor defined for this object. #548


0
mrvithan created

After i add

AbpBootstrapper.IocManager.RegisterIfNot<IAssemblyFinder, CurrentDomainAssemblyFinder>();

in Global.ascx. Seem that i get this error every time i restart my server on all my controller.

No parameterless constructor defined for this object.

I have to re-compile whole solution again and it run again.

Any suggestion ?


2 Answer(s)
  • 0
    hikalkan created
    Support Team

    It's strange.. did you added it to Application_Start and called base.Application_Start as a last line? Also, can you check logs to see which modules are loaded when you first run?

  • 0
    mrvithan created

    Yes, i did.

    It happen to all controller i try to load. But now i remove the DLL and use different SDK (html2pdf) and i remove the additional code and everything run normal again.