在運作Citrix XenDesktop 4.0 Setup Wizard 的過程,你有可能會遇到以下錯誤情況:
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIml2ZukjMyUTM3UDMw8CXxATMxAjMvwFduVWboNWY0RXYvwVbvNmLvR3YxUjL4M3Lc9CX6MHc0RHaiojIsJye.gif)
以及你可以看到事件日志有以下錯誤提示:
----------------------------------
Event ID : 5000
Source : .NET 2.0 runtime error
EventType clr20r3, P1 setuptoolapplication.exe, P2 4.0.48348.0, P3 4c2a1856, P4 system.directoryservices, P5 2.0.0.0, P6 4889dec1, P7 9f, P8 6d, P9 system.unauthorizedaccess, P10 NIL.
-------------------------------------
或以下錯誤提示:
------------------------------
ERR:(7/14/2010 4:12:23 PM):Error setting properties on AD computer account
Message = System.UnauthorizedAccessException
Access is denied.
at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()
at System.DirectoryServices.DirectoryEntry.CommitChanges()
at Citrix.Library.DirectoryServices.Win32DirectoryEntry.CommitChanges()
at Citrix.ManagementAPI.Infrastructure.AD.ADManager.SetPropertiesOnDirEntry(String compAccName, String compOuPath, String compLocation, Boolean provisioned)
INF:(7/14/2010 4:12:23 PM): ADManager.SetPropertiesOnDirEntry - Exit
INF:(7/14/2010 4:12:23 PM): PVSmanager.ProvisionDisk - Exit
ERR:(7/14/2010 4:12:23 PM):Internal Error
Message = System.UnauthorizedAccessException
--------------------------------------------
解決問題:
1、確定你的DDC已是最新版本http://support.citrix.com/article/CTX125759最好把此更新檔更新上
2、AD權限一定要給足
運作XenDesktop Setup Wizard所要求的權限有以下3種:
1、PVS伺服器本地管理者權限
2、具備完全通路、控制權限所建立的計算機所在OU及子OU的權限。
3、DDC所在Farm的完全通路、控制權限
4、屬于每個DDC本地分布式COM使用者組