-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error activating ModelMetadataProvider #16
Comments
What version of MvcTurbine are you using? I'm not able to replicate these issues with the latest version, with either Ninject or StructureMap. |
I confirm this issue with Ninject. Im using the latest version from NuGet (3.4). The exception shows up once, when the application starts, once you hit mvc templated helper in a view (like @Html.TextBoxFor<>()). You also have to be in debug mode. I would really appreciate resolving this issue, since people on my team are constantly complaining about it. |
Ah, that helps -- I wasn't able to reproduce the issue, but I didn't test it against one of the MVC helpers. I'll take a look tonight and see what I can find. Sorry for the issue, I'm sure we can figure it out pretty quickly. |
Ok, I was able to reproduce the issue last night, but I haven't been able to resolve it. I don't yet see the problem we're getting with Ninject versus some of the other IoC containers. Still working... |
Hi, any progress? |
... sorry, haven't figured it out yet. I took a quick look at it late last week, but I couldn't figure out what was going on with Ninject. I'll take another look this week. Sorry -- I want to resolve this for you, but fighting these IoC containers takes a lot of energy. |
I noticed the issue is not there anymore when i tried the latest version from source control. Are you guys planning to push a new version to NuGet anytime soon? |
The issue is still there as far as I know, as I haven't fixed it. Are you sure? |
Yeah, pretty sure. Try it yourself to be sure, but to me it seems that the problem just went away. |
When I add a ninject mvc turbine this error show up every time at the start in debug mode.
Error activating ModelMetadataProvider
No matching bindings are available, and the type is not self-bindable.
Activation path:
Suggestions:
When I try to use structure map instead this error show up
StructureMap Exception Code: 202
No Default Instance defined for PluginFamily System.Web.Mvc.ModelMetadataProvider, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
The text was updated successfully, but these errors were encountered: