private void Fix(int intStep, int intAsset, int intError, int intUser) { if (Request.QueryString["sid"] != null && Request.QueryString["sid"] != "") { oServer.UpdateError(intID, intStep, intError, intUser, true, dsnAsset); // If Avamar error, reload avamar oServer.UpdateAvamar(intID); // stored procedure will automatically find the place to reset. if (intAsset > 0) { string strSerial = oAsset.Get(intAsset, "serial"); oZeus.UpdateResults(strSerial); } } else if (Request.QueryString["aid"] != null && Request.QueryString["aid"] != "") { oForecast.UpdateError(intID, intStep, intError, intUser); if (intStep == (int)NCC.ClearView.Application.Core.Forecast.ForecastAnswerErrorStep.Clustering) { oCluster.AddClustering(intID); } } Response.Redirect(Request.Path); }