Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error InitBoc Error #15

Open
aruntd77 opened this issue Dec 28, 2016 · 3 comments
Open

Getting Error InitBoc Error #15

aruntd77 opened this issue Dec 28, 2016 · 3 comments

Comments

@aruntd77
Copy link

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();

@csteeg
Copy link
Owner

csteeg commented Dec 28, 2016

@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

@aruntd77
Copy link
Author

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?

@aruntd77
Copy link
Author

aruntd77 commented Dec 28, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants