2012-07-25 41 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