Kh?c ph?c: Thng tin s l?c v? b?ng ?u ghi URL v cho ng?i dng ghi ?u cai tr? b?ng hi?n th? khng chnh xc thng tin trong m?t mi tr?ng Forefront Threat Management Gateway 2010

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2653669 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

H?y xem xt k?ch b?n sau y:
  • B?n c?u h?nh Microsoft Forefront Threat Management Gateway 2010 s? d?ng cc Ng?i dng ghi ln cho th? lo?i b? ch?n tnh nng ?c gi?i thi?u vo Microsoft Forefront Threat Management Gateway 2010 Service Pack 1 (SP1).
  • B?n c?u h?nh Forefront Threat Management Gateway 2010 ? t?o cc bo co do b?n c th? theo d?i ng?i dng no c tr?ng cc i?u l? t? ch?i.

Trong tr?ng h?p ny, b?n c th? th?y r?ng cc thng tin tm t?t cho b?ng ?u trang ghi URL v cho ng?i dng ghi ?u cai tr? b?ng hi?n th? khng chnh xc thng tin v cc gi tr? c v? l?n hn nhi?u so v?i d? ki?n.

NGUYN NHN

V?n ? ny x?y ra v? cc th? t?c d?ch s?n ? t?ng k?t thng tin ny khng chnh xc tch l?y cc gi tr? ? cc gi tr? ngy tr?c ?c cu?n thnh cc gi tr? ngy hm sau.

GI?I PHP

? gi?i quy?t v?n ? ny, ci ?t chuyn bi?t gi hotfix ?c m t? trong bi vi?t C s? tri th?c Microsoft sau:
2649961 Rollup 1 cho Forefront Threat Management Gateway (TMG) 2010 Service Pack 2
? cho php s?a ch?a, ch?y FixSoftBlockSummaries.js script trn m?t trong cc my ch? Forefront Threat Management Gateway. B?n c th? ch?y k?ch b?n ny trn b?t k? my ch? Forefront Threat Management Gateway, m?t m?ng nt ch?n m?t ho?c m?t my ch? qu?n l? doanh nghi?p.

Lu ? Cc k?ch b?n li?t k t?t c? cc m?ng c s?n v s?a ch?a cc th? t?c d?ch s?n ? cho cc thng tin tm t?t ?c t?o ra m?t cch chnh xc. B?n c th? ph?i ch?y k?ch b?n l?i n?u m?ng m?i ?c b? sung vo cc lu tr?.

? c chng ti cho php s?a ch?a cho b?n, h?y vo cc "S?a ch?a n cho ti"ph?n. N?u b?n mu?n kch ho?t tnh nng s?a ch?a cho m?nh, vo cc "H?y ? ti s?a ch?a n b?n thn m?nh"ph?n.

S?a ch?a n cho ti



? cho php s?a ch?a t? ?ng, b?m vo cc S?a ch?a n nt ch?n m?t ho?c ?ng d?n. Sau b?m Ch?y trong cc T?i t?p xu?ng hp thoai h?p, v lm theo cc b?c trong thu?t s? s?a ch?a n .


S?a v?n ? ny
Microsoft Fix it 50878


Ghi ch
  • ci ?t chuyn bi?t hotfix ?c m t? trong bi vi?t C s? tri th?c Microsoft (KB) 2649961 tr?c khi b?n ch?y i?u ny s?a ch?a n gi?i php.
  • Thu?t s? ny c th? b?ng ti?ng Anh ch?. Tuy nhin, vi?c s?a ch?a t? ?ng c?ng lm vi?c cho cc phin b?n ngn ng? khc c?a Windows.
  • N?u b?n khng ph?i trn my tnh c v?n ?, ti?t ki?m cc s?a ch?a n gi?i php cho m?t ia flash ho?c ?a compact v sau ch?y n trn my tnh c v?n ?.

Sau , i ?n nh?ng "? lm i?u ny s?a v?n ??"ph?n.



H?y ? ti s?a ch?a n b?n thn m?nh

  1. B?t ?u Notepad. ? B?t ?u Notepad, b?m B?t ?u, b?m Ch?y, lo?i Notepad.exe trong cc M? h?p v sau nh?p vo Ok.
  2. Dn o?n m? sau vo m?t t?p tin Notepad m?i.
    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. Lu cc t?p tin nh FixSoftBlockSummaries.js, v sau thot Notepad.
  4. Trn m?t my ch?, m? m?t d?u ki?m nh?c l?nh hnh chnh.
  5. Ch?y script b?ng cch s? d?ng l?nh sau y:
    cscript.exe FixSoftBlockSummaries.js
Ch? ?i cho cc k?ch b?n ? hon thnh v c?u h?nh ? ?ng b? ha. Sau , thng tin v? ng?i s? d?ng c ghi cc i?u l? t? ch?i ?c t?o ra m?t cch chnh xc. Cc k?ch b?n khng th? s?a ch?a v?n ? ny cho tr?c d? li?u tm t?t.

? lm i?u ny s?a v?n ??

  • Ki?m tra xem li?u v?n ? l c? ?nh. N?u v?n ? c? ?nh, b?n ? k?t thc v?i ph?n ny. N?u v?n ? khng c? ?nh, b?n c th? lin h? v?i h? tr?.
  • Chng ti s? nh gi cao thng tin ph?n h?i c?a b?n. ? cung c?p ph?n h?i ho?c bo co b?t k? v?n ? v?i gi?i php ny, xin vui l?ng ? l?i m?t b?nh lu?n trn cc "S?a ch?a n cho ti"blog ho?c g?i cho chng ti m?t b?c e-mail.

T?NH TR?NG

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong cc s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

THAM KH?O

? bi?t thm chi ti?t v? thu?t ng? C?p nh?t ph?n m?m, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
824684 M t? cc thu?t ng? tiu chu?n ?c s? d?ng ? m t? C?p nh?t ph?n m?m Microsoft

Thu?c tnh

ID c?a bi: 2653669 - L?n xem xt sau cng: 05 Thang Sau 2012 - Xem xt l?i: 1.0
p d?ng
  • Microsoft Forefront Threat Management Gateway 2010 Service Pack 2
  • Microsoft Forefront Threat Management Gateway 2010 Enterprise
  • Microsoft Forefront Threat Management Gateway 2010 Standard
T? kha:
kbexpertiseinter kbbug kbsurveynew kbqfe kbfix kbfixme kbmsifixme kbmt KB2653669 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny: 2653669

Cung cp Phan hi

 

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