公司的项目用到WebService,在WIN7 IIS下配置时报下面的错误信息
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Solution - http://support.microsoft.com/kb/942062
To resolve this problem, follow these steps:
- Start IIS Manager. To do this, click Start, click Run, type inetmgr.exe, and then click OK.
- In IIS Manager, expand server name, expand Web sites, and then click the Web site that you want to modify.
- In Features view, double-click Directory Browsing.
- In the Actions pane, click Enable.
以上4个步骤完成后,如果还报下面的错误信息,把项目文件夹的只读属性取消即可。
Error:Cannot write configuration file due to insufficient pemissions
Error: Canot write configuration file
原因是E盘格式为FAT32,把项目文件移至格式为NTFS的硬盘下,按上面的步骤重新配置即可