404无法在ASP中找到目录或文件错误 [英] 404 unable to find directory or file Error in ASP
问题描述
嗨
我的网站有问题。当我点击它给我带来了错误(404无法在ASP中找到目录或文件错误)。
ex:我的网站名称是http://ABC.com并且页面上有一个链接http://ABC.com/A.aspx
当我点击它时会转到http://ABC.Com/B_Folder/B.aspx链接然后出现错误。
我已经确认该文件夹中有文件夹B_Folder和B.aspx文件。
我需要帮助,为什么会出现这个错误。
我是什么做错了。
这里是我的观点:我正在设置文件夹的一些权限,但不知道是否是导致问题。
Hi
I have a problem with my website. When I click it gives me the subjected error(404 unable to find directory or file Error in ASP).
ex: My website name is http://ABC.com and there is a link on page http://ABC.com/A.aspx
When I click it it goes to http://ABC.Com/B_Folder/B.aspx link then the error comes up.
I have verified that the folder B_Folder and B.aspx file is available in that folder.
I need help why this error come up.
What I am doing wrong.
here is my view: I am setting some permission for the folder but don't know if it is causing the problem.
推荐答案
您是否为B_Folder创建了虚拟目录。
另一种方法是将文件夹放在Inetpub / wwwroot文件夹中,wwwroot是网站的默认目录。早期版本的Windows在c盘中自动创建。对于旧版本,您必须安装IIS才能让您的网站运行并自动创建这些文件夹。
Have you created the virtual directory for B_Folder.
Another way is to get the folders placed in Inetpub/wwwroot folder , wwwroot is the default directory for websites. earlier versions of windows have this automatically created in c drive. for older version you would have to install the IIS to get you website running and these folder created automatically.
我设法通过向IUSER授予B_Folder的权限来解决它IUSR,所以我给了这个用户和其他用户完全许可。
但仍在搜索为什么这个IUSR需要权限。
I have managed to solve it by giving the permission to IUSER the B_Folder was not accessible to the IUSR,so I gave full permission to this user and other users.
But still searching why this IUSR needs permissions.
这篇关于404无法在ASP中找到目录或文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!