Sign In
Start New Thread

Site updates

Tim
1 month ago 22 Jan 2012 07:37:40 PM EST
Tim

FYI, I'm going to be making some tweaks to the site over the next couple of weeks. The first stage went in tonight, which includes a couple of changes I've been working on for EOY updates (and used locally), as well as some small visual changes.

The most important thing you should notice is that the site should work better on various devices; I've got some dynamic styles so the layout should adapt better to smaller screens. I decided to go this route instead of a full mobile app or "mobile website" at this point.

As always, if you run into anything weird, let me know so I can fix. Otherwise, expect various other changes; and then I'll be introducing more major features once the base is updated.


Thanks for your patience

Edited 1 month ago

I run this shit.

Your Ad Here
Tim
1 month ago 22 Jan 2012 07:49:10 PM EST
Tim

test

I run this shit.

Tim
1 month ago 22 Jan 2012 07:49:37 PM EST
Tim

test

I run this shit.

Tim
1 month ago 22 Jan 2012 07:50:20 PM EST
Tim

Tim said:

FYI, I'm going to be making some tweaks to the site over the next couple of weeks. The first stage went in tonight, which includes a couple of changes I've been working on for EOY updates (and used locally), as well as some small visual changes.

The most important thing you should notice is that the site should work better on various devices; I've got some dynamic styles so the layout should adapt better to smaller screens. I decided to go this route instead of a full mobile app or "mobile website" at this point.

As always, if you run into anything weird, let me know so I can fix. Otherwise, expect various other changes; and then I'll be introducing more major features once the base is updated.


Thanks for your patience



test

I run this shit.

Biloxi Ibex
1 month ago 22 Jan 2012 09:11:15 PM EST
Biloxi Ibex

I think this update stuff screwed up something in LEGs.

LEGs is know being prompted to an error message:

Server Error in '/' Application.

The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.

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.ObjectDisposedException: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.

Source Error:


Line 35: {
Line 36:


    Line 37: @foreach (var franchise in Model.CurrentLeague.Franchises.OrderByDescending(x => (x.Standings.Where(s => s.Season == Dynasty.Web.SessionContext.CurrentLeague.ActiveSeason).FirstOrDefault() ?? new Standing()).Wins))
    Line 38: {
    Line 39:
  • @franchise.Name


  • Source File: c:\inetpub\sites\dynastydashboard.com\Views\League\Partials\Standings.cshtml Line: 37

    Stack Trace:


    [ObjectDisposedException: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.]
    System.Data.Objects.ObjectContext.EnsureConnection() +11658009
    System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +66
    System.Data.Objects.DataClasses.EntityCollection`1.Load(List`1 collection, MergeOption mergeOption) +271
    System.Data.Objects.DataClasses.RelatedEnd.DeferredLoad() +499
    System.Data.Objects.DataClasses.EntityCollection`1.GetEnumerator() +33
    System.Linq.WhereEnumerableIterator`1.MoveNext() +107
    System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +248
    ASP._Page_Views_League_Partials_Standings_cshtml.b__4(Franchise x) in c:\inetpub\sites\dynastydashboard.com\Views\League\Partials\Standings.cshtml:37
    System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count) +99
    System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count) +38
    System.Linq.d__0.MoveNext() +226
    ASP._Page_Views_League_Partials_Standings_cshtml.Execute() in c:\inetpub\sites\dynastydashboard.com\Views\League\Partials\Standings.cshtml:37
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173
    System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +158
    ASP._Page_Views_League_Index_cshtml.Execute() in c:\inetpub\sites\dynastydashboard.com\Views\League\Index.cshtml:8
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
    System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
    System.Web.WebPages.StartPage.ExecutePageHierarchy() +143
    System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +157
    System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +384
    System.Web.Mvc.<>c__DisplayClass1c.b__19() +33
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +825460
    System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +265
    System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
    NotFoundMvc.ActionInvokerWrapper.InvokeAction(ControllerContext controllerContext, String actionName) in c:\Users\Andrew Davey\projects\opensource\NotFoundMvc\src\NotFoundMvc\ActionInvokerWrapper.cs:20
    System.Web.Mvc.Controller.ExecuteCore() +159
    System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
    System.Web.Mvc.<>c__DisplayClassb.b__5() +62
    System.Web.Mvc.Async.<>c__DisplayClass1.b__0() +20
    System.Web.Mvc.<>c__DisplayClasse.b__d() +54
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375

    the very definition of a loophole: an ambiguity in a system which can be used to circumvent or otherwise avoid the intent, implied or explicitly stated, of the system.

Tim
1 month ago 22 Jan 2012 10:50:58 PM EST
Tim

Biloxi Ibex said:

I think this update stuff screwed up something in LEGs.

LEGs is know being prompted to an error message:

Server Error in '/' Application.

The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.



This was already fixed, you'll have to refresh obviously. If you're still having issues, let me know.

Also, no need to post the full error message here. I get everythign emailed to me, so as soon as I saw the first error it was fixed (before you even posted this).

I run this shit.