RDarling
  •  RDarling
  • 56% (Neutral)
  • YAF Camper Topic Starter
2009-04-27T11:25:03Z
If I run my forum in debug mode, everything works fine. But if I switch to release mode I get the following error:

System.MissingMethodException: Method not found: 'Int32 YAF.Classes.Data.QueryCounter.get_Count()'.
at YAF.Controls.Footer.RenderRegular(HtmlTextWriter& writer)
at YAF.Controls.Footer.Render(HtmlTextWriter writer) in C:\Sites\YAForum\YAF.Controls\Footer.cs:line 64
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at YAF.Forum.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2009-04-27T11:42:44Z
Your YAF.Controls project is not being built in release mode for some reason. Otherwise, it would not attempt to do query counter.
RDarling
  •  RDarling
  • 56% (Neutral)
  • YAF Camper Topic Starter
2009-04-27T11:52:42Z
Jaben wrote:

Your YAF.Controls project is not being built in release mode for some reason. Otherwise, it would not attempt to do query counter.



After looking at it a little furter I had to rebuild the YAF.Controls for some reason they were not getting built with the solution. I then did another rebuild on the solution and everything works. Thanks for the help.

Rob

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved