【发布时间】:2023-03-15 11:24:02
【问题描述】:
我收到此错误:500 内部服务器错误 我的contact.aspx文件中有一个验证码,在web.config中我有一行代码(),如果我删除这一行,页面运行正常,但验证码图像没有显示。!任何人都可以帮忙。这是 web.config 中的代码:
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<httpHandlers>
<add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler,MSCaptcha"/>
</httpHandlers>
<compilation debug="true" targetFramework="4.0"/>
</system.web>
</configuration>
【问题讨论】:
-
我要做的第一件事是尝试启用调试,看看除了“500 错误”之外,它是否能提供更多信息。
-
您的应用程序池是经典模式还是集成模式?
标签: asp.net