alterm4nn / ChronoZoom

ChronoZoom is an interactive timeline for all of history.
http://www.chronozoom.com
156 stars 124 forks source link

Server Error in '/' Application. Execution of the command requires an open and available connection. #1363

Closed loriguidos closed 9 years ago

loriguidos commented 9 years ago

The connection's current state is broken.

When I login to my account, I am getting this error message.

Would someone please investigate as I love using this tool, and when it's down it makes me sad.

Lori Guidos

saekow commented 9 years ago

Thanks for the report. I confirm the same, tried logging in via Google just now:

Server Error in '/' Application.

Execution of the command requires an open and available connection. The connection's current state is broken.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Execution of the command requires an open and available connection. The connection's current state is broken.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Execution of the command requires an open and available connection. The connection's current state is broken.] System.Data.Objects.ObjectContext.EnsureConnection() +8429122 System.Data.Objects.ObjectQuery1.GetResults(Nullable1 forMergeOption) +41 System.Data.Objects.ObjectQuery1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +36 System.Linq.Enumerable.FirstOrDefault(IEnumerable1 source) +177 System.Data.Objects.ELinq.ObjectQueryProvider.b__1(IEnumerable1 sequence) +40 System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable1 query, Expression queryRoot) +59 System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +133 System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(Expression expression) +87 System.Linq.Queryable.FirstOrDefault(IQueryable`1 source) +251 Chronozoom.UI.ChronozoomSVC.CollectionIdOrDefault(Storage storage, String superCollectionName, String collectionPath) +854 Chronozoom.UI.DefaultHttpHandler.PageIsDynamic(Uri pageUrl, PageInformation& pageInformation) +298 Chronozoom.UI.DefaultHttpHandler.ProcessRequest(HttpContext context) +91 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213 screen shot 2014-10-11 at 1 00 57 pm

loriada commented 9 years ago

Apologies for the delay. Was traveling. Just restarted the web server. It is working again.

From: saekow [mailto:notifications@github.com] Sent: Saturday, October 11, 2014 1:01 PM To: alterm4nn/ChronoZoom Subject: Re: [ChronoZoom] Server Error in '/' Application. Execution of the command requires an open and available connection. (#1363)

Thanks for the report. I confirm the same, tried logging in via Google just now:

Server Error in '/' Application.

Execution of the command requires an open and available connection. The connection's current state is broken.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Execution of the command requires an open and available connection. The connection's current state is broken.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Execution of the command requires an open and available connection. The connection's current state is broken.] System.Data.Objects.ObjectContext.EnsureConnection() +8429122 System.Data.Objects.ObjectQuery1.GetResults(Nullable1 forMergeOption) +41 System.Data.Objects.ObjectQuery1.System.Collections.Generic.IEnumerable.GetEnumerator() +36 System.Linq.Enumerable.FirstOrDefault(IEnumerable1 source) +177 System.Data.Objects.ELinq.ObjectQueryProvider.b__1(IEnumerable1 sequence) +40 System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle(IEnumerable1 query, Expression queryRoot) +59 System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) +133 System.Data.Entity.Internal.Linq.DbQueryProvider.Execute(Expression expression) +87 System.Linq.Queryable.FirstOrDefault(IQueryable`1 source) +251 Chronozoom.UI.ChronozoomSVC.CollectionIdOrDefault(Storage storage, String superCollectionName, String collectionPath) +854 Chronozoom.UI.DefaultHttpHandler.PageIsDynamic(Uri pageUrl, PageInformation& pageInformation) +298 Chronozoom.UI.DefaultHttpHandler.ProcessRequest(HttpContext context) +91 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213 [screen shot 2014-10-11 at 1 00 57 pm]https://cloud.githubusercontent.com/assets/4260951/4603986/550a2e46-5181-11e4-9b18-d2732267e449.png

— Reply to this email directly or view it on GitHubhttps://github.com/alterm4nn/ChronoZoom/issues/1363#issuecomment-58762531.

alterm4nn commented 9 years ago

Not reproducible anymore.