If you use .NET search API in high-traffic environments, you may occasionally run into the error "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." This error comes from the .NET Framework. It means that a query server used by the client has closed the connection (issued a FIN packet) right before the API client sent a query.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.