当我创建虚拟目录并运行网站时,它显示此错误
问题描述:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
答
存在两个可能的问题:
1.您没有设置网站的默认页面
2.目录列表被禁用
解决方案:
1.尝试为您的网站设置default page
2.启用目录浏览
请按照以下步骤启用目录浏览
一世.右键单击虚拟目录
ii.转到属性
iii.转到主目录选项卡
iv.选中目录浏览复选框
请参考目录Browinsg以获取图片表示法 [
There are two possible problems :
1. You do not have the default page set the web site
2. Directory listing is disabled
Solution :
1. Try to set thedefault page
for your web site
2. Enable the Directory Browsing
Follow these steps to enable the Directory Browsing
i. Right click on virtual directory
ii. Go to the properties
iii. Go to the Home Directory Tab
iv. Check the Directory Browsing check box
Refer Directory Browinsg for pictorial represenation[^]
Hope this helps.
All the best.