IIS 7.5 Detailed Error 500.0 - Internal Server Error occurred after enabling ServersideInclude with Windows 7 IIS 8 Express

ε祈祈猫儿з 提交于 2019-12-25 06:59:03

问题


I have ServerSideIncludeModule enabled using "Turn on/off Windows Features" Control Panel. On inetmgr's Handlers-Mapping suite, I have mapped it to handle my .html extension.

However after everything has been done and I tried to browse my Default.html (which has

    <!--#include virtual="includes/NavBand.html"-->

) it gave me the above 500.0 - Internal Server Error on this url

     http://localhost/myDir/Default.html

!!

If I removed my mapping, my default page works again of course without the include htmls.

I have checked the Permission, the users have read and script rights.

However, the same implementations work fine on Windows Server 2008 IIS7.5 just not on my local workstation which has IIS installed on it.

Remarks: There is a file NavBand.html sitting inside the .\includes dir. So that is not the issue.

来源:https://stackoverflow.com/questions/31883296/iis-7-5-detailed-error-500-0-internal-server-error-occurred-after-enabling-ser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!