# FBServer - Attempted to divide by zero error

**URL:** <https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160>\
**Category:** Bugs\
**Created:** [October 12, 2009, 7:13am UTC](https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160 "2009-10-12T07:13:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [October 12, 2009, 7:13am UTC](https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160/1 "2009-10-12T07:13:17Z")

</div>

Hi,

&nbsp;

Our FBServer doesn't want to start anymore. We are getting this exception when we open the statuspage.

Another thing that i noticed is that almost all projects are being shown as Never Run.

&nbsp;

Attempted to divide by zero.

**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.DivideByZeroException: Attempted to divide by zero.

**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:**

| 
```
[DivideByZeroException: Attempted to divide by zero.] VSoftTechnologies.FinalBuilderServer.Web.Views.ucListViewControl.GridViewProjects_RowDataBound(Object sender, GridViewRowEventArgs e) +962 System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e) +108 System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +167 System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +2417 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57 System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +14 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114 System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31 System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73 System.Web.UI.WebControls.GridView.DataBind() +4 VSoftTechnologies.FinalBuilderServer.Web.Views.ucListViewControl.SetValues(ProjectCollection projectCollection) +27 VSoftTechnologies.FinalBuilderServer.Web.Default.BindProjects() +253 VSoftTechnologies.FinalBuilderServer.Web.Default.Page_Load(Object sender, EventArgs e) +1122 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +99 VSoftTechnologies.FinalBuilderServer.Web.Classes.CommonPage.OnLoad(EventArgs e) +187 System.Web.UI.Control.LoadRecursive() +50 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
```
 |

  

* * *
**Version Information:** &nbsp;Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3601

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [October 12, 2009, 10:33am UTC](https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160/2 "2009-10-12T10:33:50Z")

</div>

Hi Sander,   
  
 Thanks for reporting this issue, a new build will be available soon which fixes the divide by zero bug (I’ll let you know when).   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

**Author:** ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)\
**Post date:** [October 12, 2009, 11:46am UTC](https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160/3 "2009-10-12T11:46:56Z")

</div>

Hi Sander,   
  
 Here is the new build of FinalBuilder Server:   
  
 URL: [https://www.finalbuilder.com/downloads/fbserver6/FBServer\_6.3.0.746.exe](https://www.finalbuilder.com/downloads/fbserver6/FBServer_6.3.0.746.exe)  
  
 Regards,   
 Paul.

---

<div class="post-metadata">

**Author:** ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)\
**Post date:** [October 13, 2009, 6:22am UTC](https://www.finalbuilder.com/forums/t/fbserver-attempted-to-divide-by-zero-error/3160/4 "2009-10-13T06:22:28Z")

</div>

Everything is working again now. Problem solved.

&nbsp;

Thx for the fast response

&nbsp;

Sander
