Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 web.config 中有一个 httpErrors 配置
<system.webServer> <httpErrors errorMode="DetailedLocalOnly" existingResponse="Replace" />
由于现有响应 =“替换”,它不会在本地显示脚本错误的详细信息。我想在本地和客户端查看脚本错误的详细信息我想显示自定义错误页面
检查 web.config 文件中的 customError 标记。
<customErrors mode="RemoteOnly"> </customErrors>
将模式设置为“仅远程”。
我从标准 MVC 4 WebApi 项目中得到以下响应;
<ArrayOfProduct xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Produ