2012-07-25 25 views
0

我想使用IIS 7.5中運行的Web應用程序創建符號鏈接。然而,在創建過程中出現以下錯誤信息:使用IIS創建與Web應用程序的符號鏈接7.5使用IIS 7.5

A required privilege is not held by the client. (Exception from HRESULT: 0x80070522) 
System.Runtime.InteropServices.COMException (0x80070522): A required privilege is not held by the client. (Exception from HRESULT: 0x80070522) at 
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtrerrorInfo) at Uploader.SaveToDisk() 

我已經修改了「本地策略/用戶權限分配/創建符號鏈接」與secpol.msc每個人,但這種修改並沒有解決問題。

有沒有人遇到同樣的問題之前或有任何建議在哪裏尋找?

回答

1

我通過將IIS用於匿名身份驗證的用戶從IUSR更改爲Administrators組中的用戶來解決此問題。

要改變這種去IIS /認證/匿名身份驗證/編輯

我這樣做我的開發機器上。這可能不是在生產服務器上執行此操作的方式。

+0

我創建了一個具有最小權限的普通用戶,並且創建了IIS現在使用的符號鏈接。這工作正常。 – niklr 2012-08-06 14:43:14