I receive error emails from my website whenever an exception occurs. I am getting this error: > The remote host closed the connection. The error code is 0x800704CD and don't know why. I get about 30 a day. I can't reproduce the error either so can't track down the issue. [...] read more
Trying to get MSDeploy working and it "hangs" on the MSDeployPublish task. It says > "Start Web Deploy Publish the Application/package to > https://myserver:8172/msdeloy.axd?site=mysite ... Starting Web deployment task > from source: archiveDir(path to archive) to Destination: auto()." And it just stops. It will sit like this for 30 minutes, [...] read more
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, the log-in attempt times out or IE / FireFox display "Cannot display this page". If there is no pause [...] read more
I have an asp.net webforms application and to retrieve video from database that saved in varbinary format and show it as html5 video tag. after a googled it, i found a way that i should play it asynchronously using ASP.Net WebApi, it works fine First problem When video played first [...] read more
I am trying to use WebAPI within an MVC site to stream video with a PushStreamContent object. I have read several how tos on this (including this frequently cited post @ strathweb.com and still can't seem to get this working. Currently, the video does not play in the browser. As [...] read more
While uploading a big file via Postman (from a frontend with form written in php I have the same issue) I am getting a 502 bad gateway error message back from the Azure Web App: > 502 - Web server received an invalid response while acting as a gateway or [...] read more
I'm trying to use an ashx handler as an HTML5 video source. I can achieve this, but I can not move forward further on the video that what has already buffered. I can see on the network tab using a standard MP4 source that seeking forward creates another request, but [...] read more
Im trying to get SSE working. I have a simple web with two buttons. Each one send a POST request to the server that adds a message to a list. When the eventsource is listening, the server checks the list once each second and sends all the available messages to [...] read more
I have a Nancy app which i've recently updated to use OWIN/Katana. For some reason, my "real" errors are now being hidden. This is the only generic error i receive: > A Task's exception(s) were not observed either by Waiting on the Task or > accessing its Exception property. As [...] read more
My MVC2 web project is deployed using the VS 2010 "web deploy" feature. It used to run fine but now it is timing out more often than not with this error message: Web deployment task failed.((10/11/2010 1:01:59 a.m.) An error occurred when the request was processed on the remote computer.) [...] read more
I am experiencing some problems while trying to export reports to PDF (or any format). I have an asp.net MVC 3 website hosted on IIS 7.5 on a windows server 2008 R2 box. The website allows reports to be viewed via SQL Server Reporting Services. This all works fine until [...] read more
I have an ASP.NET Web Api that uses SignalR to communicate real-time data to mobile clients. Everything is working well, but I see an exception in my trace logs and I can't seem to catch or handle this exception: Application: 2014-05-20T03:24:57 PID[2088] Warning SignalR exception thrown by Task: System.AggregateException: One [...] read more
I'm trying to catch and handle a specific HttpException, namely "The remote host closed the connection. The error code is 0x800704CD." My intention is to add a Catch for the HttpException to the relevant Try block and test for the error code that is generated. Sample code: Try // Do [...] read more
I have recently published an asp.net web api to a production web site. On production about once a day the an unhandled exception causes the web site process to recycle: > An unhandled exception occurred and the process was terminated. Application > ID: /LM/W3SVC/2/ROOT/oasis Process ID: 9236 Exception: > System.AggregateException [...] read more
I am developing web application using (C#) and (ASP.NET Web API) and MS SQL 2008 R2 and hosting on IIS7 in Windows Server 2008, All APIs return data in JSON When i call any API from any web browser and refresh the page to call again before the first call [...] read more
We have 3 Servers One is for infrastructure like domain server and 2 servers with an ASP MVC and a webapi site. A maanged load balancer balances the load to server 2 and 3 For many monthes everything works fine, but since the last weeks we notice ocassionally hangs of [...] read more
I don't even know where to begin with this, mostly because I can't even determine the root of the problem -- I can only find symptoms. I'm just going to describe what it occurring, details of diagnostics, and what I've already done to try to fix it in the hopes [...] read more
I'm working on an server-side Blazor application which supports the "normal" build-in Identity login as well as AzureAD authentication (where the authenticated user is then mapped to a local one). The authentication and authorization themselves work fine. Logged in via build-in Identity I get an authentication cookie. Logged in via [...] read more
My company has chat application built on ServiceStack SSE (v.4.5.14). Recently, we keep getting following exceptions which sometimes can make IIS application pool shut down. System.Web.HttpException: The remote host closed the connection. The error code is 0x800704CD. at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError (System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush (System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at [...] read more
I have read near 20 other posts about this particular error, but most seem to be issues with the code calling Response.Close or similar, which is not our case. I understand that this particular error means that typically a user browsed away from the web page or cancelled the request [...] read more
I am developing a web app where I use two hubs on a specific page to push notifications from server to clients and handle messages between clients. However I've come across a scenario oon my Azure production app service where the notifications hub won't transmit data back to the client [...] read more
When IIS application pool recycles, all the ServiceStack SSE connections will be rebuilt. If there are a lot of connections, say 2000 or even more, a lot of exceptions are thrown on the server side. It says the connection is closed by the remote host(the client). I am wondering why [...] read more
We have issues with stucked requests on IIS 10 only when client certificate is Requireed or Accepted on a specific site (SSL Settings). All requests are stucked in »BeginRequest« state for about a minute. While those requests are on hold, process "IIS worker" uses high percentage of processor (more requests [...] read more
using (Stream stream = _client.GetDownloadStream(filePath)) { long toRead = length; stream.Seek(startIndex, SeekOrigin.Begin); using (Stream outStream = context.Response.OutputStream) { // The reported bytes are off, we have to manually keep count // of read bytes while (toRead > 0 && stream.Read(buffer, 0, chunk) > 0) { long readSize = toRead < [...] read more
Exporting a solution in Microsoft Dynamics CRM 2011 used to work fine. However, since this week there is something odd happening with exporting a solution. Where I used to get a pop-up window that showed Dynamics was busy creating a ZIP-file for my solution, this window now does not pop-up [...] read more
I have several .NET 3.5 sites running the same code base on a Windows 2008 R2 64 bit IIS 7.5 web server. We are having trouble with a process that allows the user to manage their own files on the server (upload, download, delete). Before we moved the sites from [...] read more
In my project, a silverlight client send a "POST" request to a http handler using HttpWebRequest and get the response, which is a zip file, from the http handler using HttpWebResponse stream. The zip file is dynamically being created during response so that the http handler can't know the file [...] read more
I'm trying to get Web Deploy to work from Web Matrix and I've searched through through all the logs and events and can't seem to find the source of the following error in the event viewer: Log Name: Microsoft Web Deploy Source: Web Deploy Date: 9/4/2013 1:48:16 PM Event ID: [...] read more
I'm working on a .NET Core 3.1 webapp using C#. I use Blazor ServerSide as my front-end. The app is hosted by Azure. On my page I have an upload component. When I upload 1 file it works fine. When I upload 2-3 files it is still working but when [...] read more
My website hosted in IIS became inaccessible. In the event log on the server, I saw this error: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 01/01/2018 00:00:00 AM Event time (UTC): 01/02/2018 6:00:00 AM Event ID: 64b4d6533abd4e71b3ba30b9008d7d86 Event sequence: 1921230 Event occurrence: 1 Event detail [...] read more
I looked over all possible answers and I got nothing that could lead me to a solution about that volatile problem. In the MVC5 web application I work, some users can download an Excel file that is generated when they press a download button. At the moment of writing, the [...] read more
I've inherited an old website that has a feature for downloading an excel document of user records. The following code is causing a "The remote host closed the connection. The error code is 0x800704CD. " error: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; namespace MySite.ApplicationServices { public [...] read more
We have a ASP.Net MVC 3 legacy CMS application. This application serves resized images to CloudFront as a Custom Origin. Most requests are fine and either the cache is hit or the image can be retrieved from the CMS application. It has come to our attention that on some of [...] read more
I have a .txt file that the size up to 2GB, i want to upload that file from client to a folder in a server, while uploading that file, there is an error, this is what the page says: An operation was attempted on a nonexistent network connection. (Exception from [...] read more
The problem is this: 1. on the server have a video file; 2. The administrator runs it on the play (video broadcast begins); 3. user is connected to the server - must be given to the video stream that is currently playing. A live webcast in real time. To implement [...] read more
When I try to stress load my ASP MVC Web API 2 by JMeter - an error occurred in the server side. Here the server error: 2015-07-20 16:11:02.2636 ERROR 81 System.Web.HttpException (0x800704CD): The remote host closed the connection. The error code is 0x800704CD. at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush() [...] read more
I am fighting a faddish problem. After several days of running Asp.Net 4.5 site becomes not responsible. My configuration: Windows 7, IIS 7.5, 64 bit, 16Gb. Memory consumption of application is small and should not be an issue (w3wp.exe takes around 500Mb of memory during its lifetime). I've checked the [...] read more
I am trying to stream video from server with accept-ranges to allow users to change position on client-side video player (in my case jwplayer) When accept-ranges code is included client (jwplayer or opened only in chrome directly from url) plays about 15s normally and after it is every chunk asked [...] read more
WinServer 2012 IIS 8 ASP.NET 4.5 I noticed, while using IE11 that a particular page intermittently fails to load. It just says "This page can’t be displayed". If I use the F12 dev tools, the network trace shows the request with a 200 response, but the response body just ends [...] read more
In my application, I allow user to download large files approx (100MB's) which gets created dynamically and streams directly to the user without storing on the file system. Although it won't breaks all the time, it happens very rarely and very hard to replicate. In order to test it properly, [...] read more
I use ReportViewer control (ReportViewer version: 2010 SP1) with LocalReport option (using .rdlc files) to display reports in my project. When export data in ReportViewer control to Excel file, I got the "The remote host closed the connection. The error code is 0x800704CD" error message. The data contained in the [...] read more
and I keep getting this error message when my website builds a PDF and opens the dialog to allow the user to Save it or Open it. This is the full error in Elmah: The remote host closed the connection. The error code is 0x800704CD Now, I'm fairly sure the [...] read more
I created a custom action result to send zipped archive of multiple files downloaded from another server. Sorry for a ton of code, but there it is. using ICSharpCode.SharpZipLib.Zip; /// <summary> /// Downloads the files using specified URLs and continuously streams zipped result to the client /// </summary> public class [...] read more
I am developing web application using (C#) and (ASP.NET Web API) and MS SQL 2008 R2 and hosting on IIS7 in Windows Server 2008, All APIs return data in JSON When i call any API from any web browser and refresh the page to call again before the first call [...] read more
What I'm trying to accomplish is to allow users to download multiple files from silverlight application. To do this I've decided to use DotNetZip library and ASP.NET handler that will take care of getting all files from database and sending them to client. It seemed like good idea and easy [...] read more