Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

錯誤 #: 的118145 (內容維護)錯誤 #: 332758 (SQLBUVSTS)

狀況

當您造訪的網站,或執行應用程式載入使用 Microsoft XML Core Services (MSXML) 的 XHTML 文件,MSXML 會將要求傳送到全球資訊網協會 (W3C) 來擷取已知的文件類型定義 (DTD) 檔案每次。這種行為可能會將大量的流量帶到 W3C 伺服器。有時候,您可能會發現 DTD 要求所封鎖的 W3C 伺服器因為沒有成功載入 XHTML 檔案。


例如,您有一個包含下列的程式碼的 JavaScript 檔案 (.js):

function pullXHtml() {  var xml = new ActiveXObject("Msxml2.DOMDocument.4.0");
xml.async = false;
xml.loadXML(
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" +
"<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'><head><title>simple document</title></head>" +
"<body><p>a simple paragraph</p></body></html>");
if (xml.parseError.errorCode != 0) {
var myErr = xml.parseError;
WScript.Echo("ERROR:" + myErr.reason);
} else {
WScript.echo("The XHTML document was loaded successfully.");
}
}

pullXHtml();

當您執行的 JavaScript 檔案時,檔案會藉由使用 MSXML 載入的 XHTML 文件。如果您沒有安裝此更新,您可能會收到下列錯誤訊息,當您執行的 JavaScript 檔案,如果 DTD 要求所封鎖的 W3C 伺服器︰

錯誤︰ 伺服器不瞭解要求,或要求無效。
錯誤處理序的資源
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'.

安裝這個更新之後,JavaScript 檔案將會執行成功,而且您會收到下列訊息︰

已成功載入的 XHTML 文件。附註

  • 套用此更新之後,MSXML 會快取在本機上,以降低被傳送到 W3C 伺服器的要求數目的 DTD 檔案。

  • 安裝這個更新之後,系統可能提示您重新啟動電腦。

  • 如果在 Windows Vista、Windows Server 2008 或 Windows 7 中安裝更新,您必須以系統管理員身分來執行安裝程式檔案。

  • 如需有關 XHTML 和文件類型定義 (DTD) 的詳細資訊,請參閱 < 其他資訊=""> 一節。

解決方案

更新資訊

如何判斷 MSXML 版本

如果要判斷您的電腦上所安裝的 MSXML 版本,請依照下列步驟執行:

  1. 在下列目錄中,找出 Msxml4.dll 檔案︰
    C:\Windows\System32

  2. 以滑鼠右鍵按一下 Msxml4.dll 檔案,然後按一下 [內容

  3. 按一下 [版本] 索引標籤,請參閱版本資訊。
    注意在 Windows Vista、 Windows 7 中或 Windows Server 2008 中,請改為按一下 [詳細資料] 索引標籤。

如何取得此更新程式

Windows Update,並將自動安裝此更新程式。不過,您也可以安裝此更新程式手動下載適當的套件。有數個包含這個修正程式的封裝。這些封裝所發行的下列案例中不同的安裝︰

知識庫文件

安裝案例

更新套件

MSXML 版本

支援的作業系統

973688說明更新 Microsoft XML Core Services 4.0 Service Pack 2

安裝應用程式,或由您自己以手動方式安裝 MSXML 4.0。 若要套用此 hotfix,您必須安裝的 MSXML 4.0 SP2。

Download 立即下載更新套件。

MSXML 4.0 SP2

Windows 7;Windows Server 2003 Service Pack 2;Windows Server 2008;Windows Server 2008 R2;Windows Server 2008 Service Pack 2;Windows Vista 中;Windows Vista Service Pack 1;Windows Vista Service Pack 2;Windows XP Service Pack 2;Windows XP Service Pack

973686說明更新 Microsoft MSXML 核心服務 6.0 Service Pack 2

安裝應用程式,或由您自己以手動方式安裝 MSXML 6.0。 若要套用此 hotfix,您必須安裝的 MSXML 6.0 SP2。

Download 立即下載更新套件。

MSXML 6.0 SP2

Windows Server 2003 Service Pack 2;Windows XP Service Pack 2

973685說明更新 Microsoft XML Core Services 4.0 Service Pack 3

安裝應用程式,或由您自己以手動方式安裝 MSXML 4.0。 若要套用此 hotfix,您必須安裝的 MSXML 4.0 SP3。

Download 立即下載更新套件。

MSXML 4.0 SP3

Windows 7;Windows Server 2003 Service Pack 2;Windows Server 2008;Windows Server 2008 R2;Windows Server 2008 Service Pack 2;Windows Vista 中;Windows Vista Service Pack 1;Windows Vista Service Pack 2;Windows XP Service Pack 2;Windows XP Service Pack 3

更新的973687描述,Microsoft MSXML 核心服務 3.0 和 MSXML 核心服務 6.0

MSXML3 和 MSXML6 所安裝的作業系統

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows XP SP3

Download 立即下載更新套件。

MSXML 3.0

Windows XP 專業 x64 版

Download 立即下載更新套件。

MSXML 3.0

Windows Server 2003 SP2

Download 立即下載更新套件。

MSXML 3.0

Windows Server 2003 Service Pack 2 x64 版本

Download 立即下載更新套件。

MSXML 3.0

Windows Server 2003 Service Pack 2 itanium 型系統

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows Vista,Windows Vista SP1,Windows Vista SP2

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows Vista 64 位元版本 Windows Vista 64 位元版本的 SP1,Windows Vista SP2

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows Server 2008 和 Windows Server 2008 SP2

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows Server 2008 x64 版和 Windows Server 2008 x64 版 SP2

Download 立即下載更新套件。

MSXML 3.0 和 MSXML 6.0

Windows Server 2008 itanium 型系統與 itanium 型系統 SP2 的 Windows Server 2008


如需有關如何下載 Microsoft 支援檔案的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

119591如何從線上服務取得 Microsoft 的支援檔案
Microsoft 會掃描這個檔案有無病毒。Microsoft 會使用張貼檔案當日可使用的最新病毒偵測軟體。檔案會儲存在加強安全性的伺服器,以避免受到任何未經授權的更改。

檔案資訊

檔案屬性 (或較新的檔案屬性),此更新程式的英文版具有下列表格中所列。這些檔案的日期和時間會以國際標準時間 (UTC) 格式列出。當您檢視檔案資訊時,會將它轉換為本地時間。若要查看 UTC 與當地時間的時差,請在 [控制台] 中的日期和時間項目使用 [時區] 索引標籤。

對於所有支援的 x86 為基礎的 Windows XP、 Windows Server 2003、 的 Windows Vista、 Windows Server 2008 的、 的 Windows Server 2008 R2,和版本的 Windows 7

檔案名稱

檔案版本

檔案大小

日期

時間

Msxml4.dll

4.20.9876.0

1,348,432

20-Jul-2009

16:05

Msxml4a.dll

4.10.9404.0

53,768

20-Jul-2009

16:05

Msxml4r.dll

4.10.9404.0

91,656

20-Jul-2009

16:05

更多的資訊

如需有關文件類型定義的詳細資訊,請造訪下列網站︰

http://www.w3.org/TR/xhtml1/dtds.html如需有關 XHTML 的詳細資訊,請造訪下列網站︰

http://www.w3.org/TR/xhtml1/如需有關 MSXML 的詳細資訊,請造訪下列 Microsoft 開發人員網路的網站︰

http://msdn.microsoft.com/en-us/library/ms763742(VS.85).aspx如需 Microsoft XML 剖析器 (MSXML) 版本的所有清單的相關資訊,按一下下面的文件編號,檢視 「 Microsoft 知識庫 」 中的文件︰

269238清單的 Microsoft XML 剖析器 (MSXML) 版本


參考

如需詳細資訊,按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

954459 MS08-069︰ 說明 XML 核心服務 6.0 的安全性更新︰ 2008 年 11 月 11 日


如需有關軟體更新術語的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:

824684
用來描述 Microsoft 軟體更新標準術語的說明

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×