拒绝访问路径 [英] Access to the path is denied

查看:130
本文介绍了拒绝访问路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用VS2008 OS XP IIS 5身份验证模式表单.

文件上传时发生错误


如何解决




上传状态:无法上传文件.发生以下错误:拒绝访问路径"D:\ ashok1 \ jobs \ Documents \ ashok.docx".

请帮帮我.

在此先感谢您.

Hi All,

I am using VS2008 OS XP IIS 5 Authentication mode forms.

Error occurred when file is uploading


how to solve it




Upload status: The file could not be uploaded. The following error occured: Access to the path ''D:\ashok1\jobs\Documents\ashok.docx'' is denied.

Please help me.

Thanks in Advance.

推荐答案

您无法将文件保存到服务器上网站虚拟文件夹之外的任何文件夹.这是安全的事情.但是,您可以将其保存到网站的文件夹中,并在该服务器上运行Windows服务,以查找新文件,然后将这些文件复制到网站外部的文件夹中.
You can''t save files to any folder outside the web site''s virtual folder on the server. It''s a security thing. However, you can save it to your web site''s folder, and have windows service running on that server that looks for new files and then copies those files to a folder external to your web site.


您是否设置了Folder的权限:右键单击文件夹,设置了权限"Everyone",我认为这可能会解决问题
Did u set the permission of Folder : right click on folder set the set the permission "Everyone" i think this might solve the problem


这篇关于拒绝访问路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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