Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ASP.NET+;来自WebServices/HttpHandlers的空响应_Asp.net_Asmx_Httphandler - Fatal编程技术网

ASP.NET+;来自WebServices/HttpHandlers的空响应

ASP.NET+;来自WebServices/HttpHandlers的空响应,asp.net,asmx,httphandler,Asp.net,Asmx,Httphandler,几周前,我发布了一个问题,说更新面板没有回应。我无法解决它 然而,今天我注意到webservices和HttpHandler也不返回任何内容,即: public class Handler1 : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.

几周前,我发布了一个问题,说更新面板没有回应。我无法解决它

然而,今天我注意到webservices和HttpHandler也不返回任何内容,即:

public class Handler1 : IHttpHandler
{

    public void ProcessRequest(HttpContext context)
    {
        context.Response.ContentType = "text/plain";
        context.Response.Write("Hello World");
    }

    public bool IsReusable
    {
        get
        {
            return false;
        }
    }
}
调用时不会向浏览器返回任何内容。这让我怀疑这是否是一个正在破坏ASP.NET管道的配置问题

有人有任何故障排除技巧吗


编辑:将高度定制的web.config更改为默认配置会使其正常工作……因此,我们的web.config中的某些内容打破了这一点。

我唯一能想到的是一个常见的技巧,即将定制的web.config中的额外部分一次添加回一个部分,直到找到停止工作的部分为止


一旦你知道是什么破坏了它,也许这里有人会告诉你为什么

我唯一能想到的是一个常见的技巧,从你定制的web.config将额外的部分一次添加回一个部分,直到你找到一个停止工作的部分

一旦你知道是什么破坏了它也许这里有人能告诉你为什么