[英]How to add .aspx page handler on local IIS Set up
Just setting up IIS on my local machine and trying to run a .aspx file entension getting the following error只是在我的本地机器上设置 IIS 并尝试运行 .aspx 文件扩展得到以下错误
The page you are requesting cannot be served because of the extension configuration.由于扩展配置,您请求的页面无法提供。 If the page is a script, add a handler.如果页面是脚本,则添加处理程序。 If the file should be downloaded, add a MIME map.如果应该下载文件,请添加 MIME 映射。
Just wondering what I am missing here ?只是想知道我在这里缺少什么?
In windows XP SP3:在 Windows XP SP3 中:
In Run type this:在运行中输入:
cmd
in cmd type this:在cmd中输入:
cd C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319
you can change installed version of framework您可以更改已安装的框架版本
Then type this:然后输入:
aspnet_regiis -i
Sounds like you need to run aspnet_regiis.exe .听起来您需要运行aspnet_regiis.exe 。 You would pass the -i parameter to update the script maps in the IIS metabase.您将传递 -i 参数以更新 IIS 元数据库中的脚本映射。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.