IIS ASP.Net Website - ManagedPipelineHandler Error ( An operation was attempted on a nonexistent network connection)

前端 未结 4 1058
一整个雨季
一整个雨季 2021-01-02 07:22

I am experiencing a strange issue. I have an ASP.Net web application that uses Forms Authentication. If I open the log-in page and there is a couple of minutes of inactivity

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-02 07:29

    You are getting an execution timeout because the ASP.NET application hasn't returned back to IIS after the default timeout interval.

    http://msdn.microsoft.com/en-us/library/e1f13641.aspx

    This doesn't explain why it is taking so long. You could increase the default timeout of 110 seconds which might allow you to troubleshoot it better, other then that you should try to debug the code as the reason is not apparent in the ASP.NET sample posted.

    To change the default specify the executionTimeout of httpRuntime in your web.config.

    If you are connecting to a database to do the authentication you could look there and trace if and what is received.

提交回复
热议问题