FIX: ??? ??????? ????? ?? ?????? "???? ????? ?????? ????? ?????????" "?????????? ????? ????? ????" ?????? ??????? ??? ????? ?? ???? ????? ??????? ?????? ????? 2010

?????? ????????? ?????? ?????????
???? ???????: 2653669 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

???????

????? ?? ????????? ??????:
  • ????? ????? Microsoft Forefront ??????? ????? ????? 2010 ???????? ????? ???????? ????? ???????? ?????? ???? ?? ??????? ?? Microsoft Forefront ????? ????? ????? 2010 Service Pack 1 (SP1).
  • ????? ????? ????? ??????? ?????? ????? 2010 ?????? ???????? ??? ????? ?????? ?????????? ????? ??? ????? ??????? ?????.

?? ??? ?????????? ?? ??? ?? ??????? ????? ?? ?????? "???? ????? ?????? ????? ?????????" ? "?????????? ????? ????? ????" ?????? ??????? ???? ??????? ??? ????? ?????? ???? ???? ????? ??? ??? ??????.

?????

???? ??? ??????? ??? ??????? ?????? ???? ??? ????????? ???? ???? ?????? ????? ??? ??? ??? ????? ????? ?? ????? ?????? ??? ????? ????? ??????.

????

??? ??? ???????? ?? ?????? ???? ????????? ??????? ???????? ?? ????? ????? ????? Microsoft ???????:
2649961 ?????? ????????? 1 ?????? ????? ??????? ????? (TMG) 2010 Service Pack 2
?????? ??? ??????? ?? ????? ???????? ????? FixSoftBlockSummaries.js ??? ??? ???????? "????? ??????? ?????? ?????". ????? ????? ??? ???????? ????? ??? ?? ???? "??????? ????? ??????? ?????" ?? ???? ???? ???? ?? "???? ????? ???????".

?????? ???????? ????? ????? ???? ??????? ??????? ?????? ??????? ?????? ??? ?? ??? ????? ??????? ?????? ???? ????. ?? ????? ???? ????? ???????? ????? ??? ???? ??? ????? ??? ??????? ????? ???????.

???? ??? ????? ??? ??????? ????? ???? ????? ??? "Fix it for me"???. ??? ??? ???? ?????? ??? ??????? ?????? ????? ??? "??????? ?? ?? ????? ????"???.

Fix it for me



?????? ??? ??????? ????????? ???? ??? ??????? ?? ?? ??????. ?? ???? ??? ?? ?????? ?? ?????? ????? ????? ???? ??????? ????? ??????? ???????? ?? ????? ??????? .


????? ??? ???????
Microsoft Fix it 50878


??????
  • ????? ??????? ?????? ?????? ?? ????? "????? ???????" ? Microsoft (KB) 2649961 ??? ????? ??? ????? ??? ????.
  • ?? ???? ??? ??????? ?????? ?????????? ???. ??? ???? ???? ??????? ???????? ???? ???????? ??? ???? ?? Windows.
  • ??? ?? ??? ??? ???? ????????? ???? ???? ???????? ??? ??????? ?? ???? ??? ???? ????? ????? ?? ??? ????? ?? ????? ?????? ??? ???? ????????? ???? ???? ???????.

??? ???? ???? ??? "??? ??? ????????"???.



??????? ?? ?? ????? ????

  1. ??? ????? ?????? "???????". ???? ????? ?????? "???????"? ???? ??? ??? ?????? ???? ??? ?? ??????? ??? notepad.exe ?? ?????? ?????? ???? ??? ?? ???? ??? ?????.
  2. ??? ???????? ????? ?????? ??? ??? "???????" ????.
    var guidGenerator = new ActiveXObject("Scriptlet.TypeLib");
    var fpcRoot = new ActiveXObject("FPC.Root");
    try
    {
      WScript.Echo("Enumerating arrays:");
      var arraysCollection = new Enumerator(fpcRoot.Arrays);
      for (; !arraysCollection.atEnd(); arraysCollection.moveNext())
      {
          try
          {
              var array = arraysCollection.item();
              var found = false;
              WScript.Echo("    " + array.Name);
              var sumDefsCollection = new Enumerator(array.Reports.ReportSummaryDefinitions);
              for(; !sumDefsCollection.atEnd(); sumDefsCollection.moveNext())
              {
                  var sumDef = sumDefsCollection.item();
                  if(sumDef.Name != "spTrimArraySoftBlockSummary")
                  {
                      continue;
                  }
                  
                  if (sumDef.AggregationStatement.indexOf("@ToDate AS [Date]") < 0)
                  {
                    WScript.Echo("---- spTrimArraySoftBlockSummary.AggregationStatement already contains fix, skipping array");
                    break;
                  }
                  
                  found = true;
                  WScript.Echo("Found summary definition " + sumDef.Name + ", will fix the AggregationStatement");
                  WScript.Echo("---- Old version start");
                  WScript.Echo(sumDef.AggregationStatement);
                  WScript.Echo("---- Old version end");
                  sumDef.AggregationStatement = sumDef.AggregationStatement.replace(/@ToDate AS \[Date\]/g, "@FromDate AS [Date]");
                  WScript.Echo("---- New version start");
                  WScript.Echo(sumDef.AggregationStatement);
                  WScript.Echo("---- New version end");
                  break;
              }
              if (found)
              {
                  WScript.Echo("Updating configuration ID...");
                  WScript.Echo("Old configuration ID:" + array.Reports.ReportingServicesProperties.ReportingServicesConfigurationId);
                  array.Reports.ReportingServicesProperties.ReportingServicesConfigurationId = guidGenerator.Guid;
                  WScript.Echo("New configuration ID:" + array.Reports.ReportingServicesProperties.ReportingServicesConfigurationId);
              
                  WScript.Echo("Saving the current configuration...");
                  array.Save();
                  WScript.Echo("Waiting for configuration reload...");
                  array.WaitForReload();
              }
          }
          catch (err)
          {
            WScript.Echo("An error occurred. Error Decscription: " + err.description);
            WScript.Echo("Try running the script as an administrator");
          }
      }
    }
    catch (err)
    {
      WScript.Echo("An error occurred. Error Decscription: " + err.description);
      WScript.Echo("Try running the script as an administrator");
    }
  3. ??? ????? ???? FixSoftBlockSummaries.js? ?? ?? ?????? ?????? "???????".
  4. ??? ????? ?? ???? ???? ??????? ??????.
  5. ?? ?????? ???????? ????? ???????? ????? ??????:
    cscript.exe FixSoftBlockSummaries.js
????? ???????? ????? ?????? ???????? ??? ??????. ???? ???? ??? ????? ??????? ??? ?????????? ????? ?? ????? ??????? ????? ???? ????. ???????? ????? ?? ???? ????? ??? ??????? ???????? ??????? ???????.

??? ??? ????????

  • ?????? ?? ??? ??? ??? ????? ???????. ??? ??? ??? ????? ???????? ???? ?? ?????? ???? ?????. ??? ?? ??? ????? ???????? ?????? ??????? ??????.
  • ???? ???? ????????. ?? ???? ????? ????? ?? ??????? ?? ??? ?????? ?? ??? ????? ???? ??? ????? ??? "Fix it for me"????? ?? ???? ??? ?????? ??????????.

?????

?? ????? Microsoft ?? ??? ?? ???? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".

?????

????? ?? ????????? ??? ??????? ????? ???????? ???? ??? ??? ??????? ?????? ???? ??????? ?? ????? ????? Microsoft:
824684 ????? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????

???? ???????: 2653669 - ????? ??? ??????: 15/???/1433 - ??????: 1.0
????? ???
  • Microsoft Forefront Threat Management Gateway 2010 Service Pack 2
  • Microsoft Forefront Threat Management Gateway 2010 Enterprise
  • Microsoft Forefront Threat Management Gateway 2010 Standard
????? ??????: 
kbexpertiseinter kbbug kbsurveynew kbqfe kbfix kbfixme kbmsifixme kbmt KB2653669 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????2653669

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com