天天看點

win2003+ISA2004用戶端浏覽網頁發生代碼64錯誤的解決

症狀:

ISA伺服器安裝windows server 2003 和ISA server 2004後,安裝和配置過程一切正常,但用戶端通路網頁時必須多次重新整理才能顯示,否則将出現代碼為64的錯誤提示。最明顯的症狀是163郵箱無法登入,如下錯誤所示:

錯誤代碼 64: 主機不可用

背景: 網關或代理伺服器失去連接配接到 Web 伺服器。

或者通過将 ISA Server 2004 用作 Web 代理您通路網站。

在 ISA Server 2004 中啟用壓縮篩選 Web 篩選器。

Web 站點發送到用戶端 HTTP / 0.9 響應。

原因:

最開始以為是作業系統和ISA版本的問題,但重裝系統和更新ISA版本結果仍舊一樣,後來的ISAcn.org朋友們的幫助下,終于解決了此問題。問題原因在于ISA 2004的http壓縮篩選器存在BUG,并且windows 2003 sp2的SNP功能與ISA存在着相容性問題。

解決方法:

1、按KB944114文章所述,運作如下腳本:

       先将如下腳本存為isa.vbs

Const SE_VPS_GUID = "{143F5698-103B-12D4-FF34-1F34767DEabc}"

Const SE_VPS_NAME = "EnableHotfix944114"

Const SE_VPS_VALUE = true

Sub SetValue()

    ' Create the root object.

    Dim root  ' The FPCLib.FPC root object

    Set root = CreateObject("FPC.Root")

    'Declare the other required objects.

    Dim array       ' An FPCArray object

    Dim VendorSets  ' An FPCVendorParametersSets collection

    Dim VendorSet   ' An FPCVendorParametersSet object

    ' Get references to the array object

    ' and to the network rules collection.

    Set array = root.GetContainingArray

    Set VendorSets = array.VendorParametersSets

    . Error Resume Next

    Set VendorSet = VendorSets.Item( SE_VPS_GUID )

    If Err.Number <> 0 Then

        Err.Clear

        ' Add the item.

        Set VendorSet = VendorSets.Add( SE_VPS_GUID )

        CheckError

        W..Echo "New VendorSet added... " & VendorSet.Name

    Else

        W..Echo "Existing VendorSet found... value- " &  VendorSet.Value(SE_VPS_NAME)

    End If

    if VendorSet.Value(SE_VPS_NAME) <> SE_VPS_VALUE Then

        VendorSet.Value(SE_VPS_NAME) = SE_VPS_VALUE

        If Err.Number <> 0 Then

            CheckError

        Else

            VendorSets.Save false, true

            If Err.Number = 0 Then

                W..Echo "Done with " & SE_VPS_NAME & ", saved!"

            End If

        End If

        W..Echo "Done with " & SE_VPS_NAME & ", no change!"

End Sub

Sub CheckError()

        W..Echo "An error occurred: 0x" & Hex(Err.Number) & " " & Err.De.ion

SetValue

      在指令行下運作c s c r i p t isa.vbs。

3、更改如下系統資料庫鍵值:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

   EnablePMTUDiscovery 設定為1

   EnableTCPChimney 設定為0

   EnabledRSS 設定為0

4、重新開機ISA。

替代方法:

禁用Add-in--webfilters-httpfilter,再取消http協定與web proxy filter的綁定。但不建議這樣做,因為這樣ISA将無法進行HTTP應用層進行過濾,對網絡安全造成影響。

本文轉自 donhuang 51CTO部落格,原文連結:http://blog.51cto.com/donhuang/107602

繼續閱讀