服务器上的文件上传问题. [英] file uploading problem on server ....

查看:70
本文介绍了服务器上的文件上传问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误:

错误:对路径"C:\ inetpub \ vhosts \ ZXY.com \ httpdocs \ Uploads \ katrina.jpg"的访问被拒绝.


通过C#以编程方式启用此权限
这可能吗
Thanks

I got this error:

ERROR: Access to the path ''C:\inetpub\vhosts\ZXY.com\httpdocs\Uploads\katrina.jpg'' is denied.


This permission enable via C# Programmatically
is this possible
thanks

推荐答案

这意味着,运行Web应用程序的帐户没有对该文件夹的写权限.

检查 msdn链接 [
It means, the account under which your web application is running does not have write access to the folder.

Check the msdn link[^] to understand how to assign permission to the Upload folder.


这篇关于服务器上的文件上传问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆