gpt4 book ai didi

c# - "RadAsyncUpload does not have permission to write files in the TemporaryFolder. ..."如何解决

转载 作者:太空狗 更新时间:2023-10-29 21:54:10 27 4
gpt4 key购买 nike

我的 WebApp(asp.net WebForm C#) 工作正常,但当我上传它时,telerik 的 radgrid 工作正常,但 RadAsyncUpload 给我以下错误。

RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path.

我发现

UseApplicationPoolImpersonation and impersonate="true" in the web.config

将解决问题,但我应该在什么标签下添加它?顺便说一句,我是 IIS7 的新手。

最佳答案

对我来说,在进入站点文件所在的 IIS 文件夹并确保该文件夹对用户具有“修改”和“完全控制”权限后,问题得到了解决。

enter image description here

关于c# - "RadAsyncUpload does not have permission to write files in the TemporaryFolder. ..."如何解决,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22217415/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com