BoC
BoC copied to clipboard
Getting Error InitBoc Error
Value cannot be null. Parameter name: resolver Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: resolver
Source Error:
Line 17: { Line 18: public static IDependencyResolver CreateResolver(){ Line 19: global::BoC.Persistence.SitecoreGlass.Initialize.InitBoc.Start(); Line 20: Line 21: var config = new global::Glass.Mapper.Sc.Config();
@aruntd77 did you include one of the boc.ioc.* libraries (eg boc.inversionofcontrol.simpleinjector).. you'll need to choose a dependency injection container to use this
Hi, as per blog I followed the steps, I have added BoC.InversionOfControl.Unity nuget. I see the DLL "BoC.InversionOfControl.Unity" added in my project. Which config I should use to set the dependency injection?
Sorry I had followed the blog instructions from http://guidovtricht.nl/2015/07/sitecore-mvc-musicstore-part-2/#comment-22191. Let me check the configuration and get back to you