Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Large Size File Upload in ASP.NET

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 285
    Comment on it

    Hi Friends,

    Today i will talk about the exception we usually get while uploading a large size file in file uploader in asp.net. The exception we get is shown in below image

    To get rid of this exception you need to configure the web.config file and do the following settings in <system.web>

    <httpRuntime targetFramework="4.5.2" maxRequestLength="1048576" />

    Here maxRequestLength is in KB(KiloByte).

    By Default it will upload 4096KB(4MB) file.

     

    Thanks 
    Happy Coding!!

    Large Size File Upload in ASP.NET

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: