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
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
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.