Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5931819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:44:54+00:00 2026-05-22T14:44:54+00:00

I am using Ninject 2.2.1.0 with Ninject.Web 2.2.0.0 in a webforms application. I am

  • 0

I am using Ninject 2.2.1.0 with Ninject.Web 2.2.0.0 in a webforms application.

I am getting daily error reports of the following…

System.InvalidOperationException: Collection was modified; enumeration

operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
resource)
at System.Collections.Generic.List1.Enumerator.MoveNextRare()
at System.Collections.Generic.List
1.Enumerator.MoveNext()
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()
at Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable
1
series, Action`1 action) in
c:\Projects\Ninject\ninject\src\Ninject\Infrastructure\Language\ExtensionsForIEnumerableOfT.cs:line
22
at Ninject.OnePerRequestModule.DeactivateInstancesForCurrentHttpRequest()
in
c:\Projects\Ninject\ninject\src\Ninject\OnePerRequestModule.cs:line
63
at Ninject.OnePerRequestModule.b__0(Object
o, EventArgs e) in
c:\Projects\Ninject\ninject\src\Ninject\OnePerRequestModule.cs:line
36
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously)

Seems to be occuring at peak times. Is there a stable release with this patched yet?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:44:55+00:00Added an answer on May 22, 2026 at 2:44 pm

    Creation of kernel instances is not thread safe at the moment. This will probably be changed with 2.4

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Ninject 2 and the Ninject.Web.MVC and using the NinjectHttpApplication Receiving the following
I am using the Ninject.Web library with our web forms application. It's working great
I've got a simple web application using ASP.NET MVC3 and Ninject.Web.MVC (the MVC3 version).
I am trying to use Ninject 2.0 with Asp .Net 3.5 web application. Following
I am using Ninject in my web application, and as part of this I
I am new to ninject using ninject 2.0. My application is hosted in asp.net
I'm just getting started with Dependency Injection (DI) using Ninject and am working through
I'm successfully using Ninject in my web applications by deriving my Global from NinjectHttpApplication
I'm using Ninject 2 with an ASP.NET MVC web app. All the dependencies are
I am using ASP.NET MVC 3 + Ninject in my application which works great

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.