c# - Why is file uploading failing in ASP.Net MVC? -
I am uploading files in an ASP.NET MVC application using HttpWebRequest, but for some reason I'm unknown, It's failing to upload continuously
I know that the file is very good because if you try a lot of time it is finally uploaded and can be seen only on the server. When this fails, neither the server nor the client reports any errors related to the direct upload, the upload only partially closes at random space and time, and my MVC action method is not loaded without the file (< Code> request files). Calculation == 0 ).
This is a problem in our production environment only on DSL. The test and development environment works fine and the production environment works fine from the office (really fast connection to the server), but the house on the DSL Fails to run it from
As you can see below, the point it fails is very original. It seems that this is probably a configuration, but I can not understand what this can be. We are running in a cluster (we have 4 web servers), so there may be something with it, but I'm testing against a single server (I can separate the name by machine and verify it I am acting on my requests). I also made sure that it is running in my app pool. What else should I check? We are using Net 3.5 on IIS6 and Server.
Did you make your form the appropriate & lt; Form> tag?
using & lt;% (Html.BeginForm ("Action", "Controller", FormMethod.Post, new {@enctype = "multipart / form-data"})) {% & Gt;
Comments
Post a Comment