虚拟主机后出现异步文件上传器错误(ajax) [英] Asynchronous file uploader error after web hosting(ajax)

查看:112
本文介绍了虚拟主机后出现异步文件上传器错误(ajax)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


发布或部署之前
-----------------------------------------
我们已经开发了一个名为TNPDA的项目.
因为我们已经使用了异步文件上传器.
我们已经上传了图像,然后将其存储到特定的文件夹中.我们指定了路径,例如localhost/tnpda/images/
它正常工作.
出版后
-------------------
发布并托管到网站后,我们已经更改了路径,例如www.stfgk.in/tnpda/imagefolder ...
当我上传文件时它不起作用.它显示以下错误.
服务器响应错误:拒绝访问路径``D:\ WEBDATA \ www.stroweger.in \ tnpda \ imagedir \ hh.jpg''.
您是否要查看响应页面.

Hi,
BEFORE PUBLISH OR DEPLOYMENT
-----------------------------------------
We have develop a project namely TNPDA.
In that We Have use asynchronous file uploader.
We have upload the images.then it will store into specific folder.We specify the path like localhost/tnpda/images/
It works properly.
AFTER PUBLISHED
-------------------
after published and hosted into website, We have change the path like www.stfgk.in/tnpda/imagefolder...
IT WAS NOT WORKING WHEN I UPLOAD THE FILE.IT SHOW THE FOLLOWING ERROR.
Server response Error:''Access to the path ''D:\WEBDATA\www.stroweger.in\tnpda\imagedir\hh.jpg'' is denied.
Do you want to see the response page.

推荐答案

Erhm ...如果您阅读此错误,则明确指出:拒绝访问路径

这表明用户没有足够的权限在要存储图像的路径中写入文件.浏览到该路径,并确保正确设置了权限.确切的权限取决于您使用的操作系统以及运行IIS进程的用户.默认情况下,尝试将IIS_URS组添加到权限中并允许读/写/修改权限.您应该一切顺利,否则请让系统管理员为您正确设置权限.

祝你好运,

爱德华
Erhm... if you read the error, it clearly says : Access to the path is denied

This is an indication the user has not enough permissions to write files in the path where you want to store your images. Browse to the path and make sure the permissions are set properly. The exact permissions depend on the operating system you work with and the user that is running your IIS Process. By default, try to add the IIS_URS group to the permissions and allow read/write/modify permissions. You should be good to go, else ask your system administrator to set the permissions properly for you.

Good luck,

Eduard


这篇关于虚拟主机后出现异步文件上传器错误(ajax)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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