0.9.161.0 to 1.2.231.0 Getting Errors When Clicked on previous issues-

Topics: Installing BugNET
Nov 27, 2012 at 8:12 PM

Upgrading BugNET

I updated from 0.9.161.0 to 1.2.231.0 and received below message. I noted the installation went well but for some reason I cannot click to view any issue or Queries created before the new upgrade. Below are the errors I'm getting. 

-------------------------------Installation Status ----------------------------------------

Upgrade Status Report

Current Assembly Version: 1.2.231.0

Current Database Version: 0.9.161.0

00:00:00 - Upgrading To Version: 1.2.231.0
00:00:00.0312492 - Creating Custom Field Views
00:00:00.1718706 - Custom fields created!
00:00:00.1874952 -    Executing Script: 1.0.187.0.SqlDataProvider.sql 
Success
00:00:01.1249712 -    Executing Script: 1.1.213.0.SqlDataProvider.sql 
Success

Upgrade Complete

Click Here To Access Your BugNET Installation

--------------------------------------------------------

-----------------------When I click on Previous Issues to View its details----------------

Application Error - /Issues/IssueDetail.aspx

An error has occured in processing your request.

Please try again.

--------------------------------------------------------Email Message -------------

2012-11-27 13:56:20,594 [7] ERROR BugNET.Global [(null)] - Application Error

 

 

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IndexOutOfRangeException: NotificationCulture

   at System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName)

   at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)

   at BugNET.Providers.DataProviders.SqlDataProvider.GenerateIssueNotificationListFromReader(IDataReader returnData, List`1& issueNotificationList)

   at BugNET.Providers.DataProviders.SqlDataProvider.ExecuteReaderCmd[T](SqlCommand sqlCmd, GenerateListFromReader`1 gcfr, List`1& list)

   at BugNET.Providers.DataProviders.SqlDataProvider.GetIssueNotificationsByIssueId(Int32 issueId)

   at BugNET.BLL.IssueNotificationManager.GetByIssueId(Int32 issueId)

   at BugNET.Issues.UserControls.IssueTabs.GetTabName(String tabName, String tabValue)

   at BugNET.Issues.UserControls.IssueTabs.RefreshTabNames()

   at BugNET.Issues.UserControls.IssueTabs.Page_PreRender(Object sender, EventArgs e)

   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

   at System.Web.UI.Control.OnPreRender(EventArgs e)

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.HandleError(Exception e)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

   at System.Web.UI.Page.AsyncPageProcessRequestBeforeAsyncPointCancellableCallback(Object state)

   at System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state)

   at System.Web.UI.Page.AsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData)

   at ASP.issues_issuedetail_aspx.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object data) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0121882f\7ac52de2\App_Web_issuedetail.aspx.17a5bf61.hg0mq6bi.0.cs:line 0

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

----------------------------------------------------------------------------------------------

-----------------------------------When I click to View any Previous Queries----------

Error in query. Please check query values.

--------------------------------------------email message -------------------------------

2012-11-27 12:47:04,357 [10] ERROR BugNET.Global [(null)] - Application Error

 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'IsCustomField'.

   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

 

Note: My dbo.BugNet_QueryClauses table still shows "IsCustomField" bit 

Nov 27, 2012 at 8:46 PM

It looks like the last script (1.2) did not run, are you using the source package?

Nov 27, 2012 at 8:54 PM

Thanks so much- 

 

(0 row(s) affected)
(0 row(s) affected)
(56 row(s) affected)
(0 row(s) affected)
(0 row(s) affected)
(1 row(s) affected)
(1 row(s) affected)