View Single Post
  #1 (permalink)  
Old January 30th, 2013, 03:32 PM
timtatum timtatum is offline
Registered User
Points: 22, Level: 1
Points: 22, Level: 1 Points: 22, Level: 1 Points: 22, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default StructureMap Error Chapt8 MVP

Getting an error in Index.aspx.cs on this line...
Code:
_presenter = new HomePagePresenter(this, ObjectFactory.GetInstance<ProductService>());
Here is the error message...
{"StructureMap Exception Code: 202\nNo Default Instance defined for PluginFamily ASPPatterns.Chap8.MVP.Model.IProductRepository, ASPPatterns.Chap8.MVP.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"}

Any thoughts?

Thanks
Tim Tatum
Reply With Quote