Subscribe

Close

Thank you for visiting!

Please consider subscribing to the RSS feed or following me on Twitter.

Type Initialization Exception with EPiServer, StructureMap and WCF

Recently I got an error message working with EPiServer, StructureMap and a WCF service:

StructureMap Exception Code: 202\nNo Default Instance defined for PluginFamily

It turns out I forgot some StructureMap configuration. Adding this configuration solved the problem:

For<ISearchService>().Use<SearchService>();

To the top