问题描述
朋友,
我有上载控件ionup.aspx页面,通过该页面我将图像上传到我的网站中的"Images"文件夹中.当我在租用服务器上运行网站时,一切正常.
但是,当我在Web服务器上部署网站时,它会在上传图像时拒绝访问我网站中的"Images"文件夹.
它给了我错误,如
如何授予用户访问该文件夹的权限.以及我需要在Web.Config文件中进行哪些更改才能删除此错误.
谢谢
Hi Friends,
I have upload control ion my upload.aspx page by which i am uploading the image to my "Images" folder in my website.when i run the website on loaal server everything works fine.
But when i deployed the website on the webserver, then it denies the access to the "Images" folder in my website while uploading the images.
It gives me error like "access denied to wwwroot directory in IIS directory"
How can I Give the user the privilege of accessing this folder. and what changes i need to make in Web.Config File to remove this error.
Thanks
推荐答案
这篇关于Web服务器上的ASP.NET文件上传问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!