

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 結構描述延伸錯誤
<a name="ms_ad_troubleshooting_schema"></a>

以下可協助您針對延伸 AWS Managed Microsoft AD 目錄的結構描述時可能遇到的一些錯誤訊息進行疑難排解。

## 參考項目
<a name="referral"></a>

**錯誤**  
*Add error on entry starting on line 1: Referral The server side error is: 0x202b A referral was returned from the server. 延伸伺服器錯誤為：0000202B：RefErr：DSID-0310082F，資料 0、1 個存取點 \$1tref 1：'example.com' 修改的物件數量：0*

**疑難排解**  
請確定所有辨別名稱欄位包含正確的網域名稱。在上述範例中，`DC=example,dc=com` 應該取代成 Cmdlet `Get-ADDomain` 所示的 `DistinguishedName`。

## 無法讀取匯入檔案
<a name="unabletoread"></a>

**錯誤**  
*Unable to read the import file. Number of Objects Modified: 0*

**疑難排解**  
匯入的 LDIF 檔案是空的 (0 個位元組)。請確定所上傳的是正確檔案。

## 語法錯誤
<a name="syntaxerror"></a>

**錯誤**  
*There is a syntax error in the input file Failed on line 21 The last token starts with 'q'. Number of Objects Modified: 0*

**疑難排解**  
第 21 行的文字格式不正確。無效文字的第一個字母是 `A`。請使用有效的 LDIF 語法更新第 21 行。如需如何格式化 LDIF 檔案的詳細資訊，請參閱「[步驟 1：建立您的 LDIF 檔案](create.md)」。

## 屬性或值已存在
<a name="attributeorvalue"></a>

**錯誤**  
*Add error on entry starting on line 1: Attribute Or Value Exists The server side error is: 0x2083 The specified value already exists. The extended server error is: 00002083: AtrErr: DSID-03151830, \$11: \$1t0: 00002083: DSID-03151830, problem 1,006 (ATT\$1OR\$1VALUE\$1EXISTS), data 0, Att 20,019 (mayContain):len 4 Number of Objects Modified: 0*

**疑難排解**  
已套用結構描述變更。

## 沒有這類屬性
<a name="nosuchattribute"></a>

**錯誤**  
*Add error on entry starting on line 1: No Such Attribute The server side error is: 0x2085 The attribute value cannot be removed because it is not present on the object. The extended server error is: 00002085: AtrErr: DSID-03152367, \$11: \$1t0: 00002085: DSID-03152367, problem 1,001 (NO\$1ATTRIBUTE\$1OR\$1VAL), data 0, Att 20,019 (mayContain):len 4 Number of Objects Modified: 0*

**疑難排解**  
LDIF 檔案嘗試從類別移除屬性，但該屬性目前未連接到這個類別。可能已套用結構描述變更。

**錯誤**  
*Add error on entry starting on line 41: No Such Attribute 0x57 The parameter is incorrect. The extended server error is: 0x208d Directory object not found. The extended server error is: "00000057: LdapErr: DSID-0C090D8A, comment: Error in attribute conversion operation, data 0, v2580" Number of Objects Modified: 0*

**疑難排解**  
第 41 行所列的屬性不正確。請再次檢查拼法。

## 沒有這類物件
<a name="nosuchobject"></a>

**錯誤**  
*Add error on entry starting on line 1: No Such Object The server side error is: 0x208d Directory object not found. 延伸伺服器錯誤為：0000208D：NameErr：DSID-03100238、問題 2001 (NO\$1OBJECT)、資料 0、最佳相符：'CN=結構描述、CN=組態、DC=example、DC=com' 修改的物件數量：0*

**疑難排解**  
辨別名稱 (DN) 所參考的物件不存在。