Web dev. server crash
EduardoFortes
Posts: 2
I installed the trial today, tried the demo Nerd Dinner and everything worked nice. Later I tried profiling my solution but my project keeps crashing after login, this does not happen in production nor debugging with VS2010.
I am using NHibernate to access the database and the application crash on the return line.
System.InvalidOperationException: Sequence contains more than one matching element
When i set the profiler, i select only one project, but this is a big solution with dozens of projects inside, this piece of code above is a repository project.
I am using NHibernate to access the database and the application crash on the return line.
using (var _session = NHibernateHelper.OpenSession()) { return _session.Query<T>().ToList<T>(); }Error message:
System.InvalidOperationException: Sequence contains more than one matching element
When i set the profiler, i select only one project, but this is a big solution with dozens of projects inside, this piece of code above is a repository project.
Comments
If you *really* want to know what happened here- we could always debug the entire process, analyse a full memory dump - with symbols- and take a wild stab but the quickest thing to get you *some* results is to bypass the problem.
Can you try again but this time using the sampling mode of profiling?
Here's some more info on this:
http://documentation.red-gate.com/displ ... iling+mode