我想其中一个文件夹需要身份验证,我在该文件夹中新建了一个web.config文件
如果当中加入
<authentication mode="Forms">
</authentication>
就报以下错误:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
请问有什么办法解决
如果当中加入
<authentication mode="Forms">
</authentication>
就报以下错误:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
请问有什么办法解决
解决方案 »
- 关于网页内容抓取有问,用的是HtmlAgilityPack
- (100分)静态页面传值问题
- HTML问题
- 今天第一次接触wmi,它是什么玩意.
- 关于DataTable一个简单的问题,麻烦高手帮忙回答一下,谢谢
- 调用javascript不起作用? 辛苦大家了,帮帮我
- 奇怪的问题,我在现在运行的网站下新建了一个文件夹,把新写的一个网站放进去却浏览不了。。。。。。。。。
- 发布一个代码生成工具,要用的朋友请进来!
- asp.net 用户代理未处理sqlException
- 请问各位仁兄 如何在aspx中打开打开 word 进行操作 思归等大哥快来!~!急
- [windows验证]用asp.net怎么向windows2003中添加用户
- GridView的空白模版中控件显示问题!! 求救~~~~
而是使用了 vs自带的 目录模式
你需要将你的web应用程序文件夹设置成虚拟目录运行
能否在vs2005里面设置IIS虚拟目录运行方式,在IIS manager里面找不到"创建应用程序"
千万别扔鸡蛋,体谅下
如果在web.config不添加
<authentication mode="Forms">
</authentication>
就不会出现错误