Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. FileUpload can't upload huge size document

FileUpload can't upload huge size document

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-net
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HatakeKaKaShi
    wrote on last edited by
    #1

    Hey Guys need help. I have came across this error. When in VS2005 ASP.net i using the Fileupload tool in the toolbox given. When I upload a small size file like about 3.73 MB. When I click a button it still works even without any function written on the button. But when i upload around 4.97 MB and i just click a button the web site display Internet Explorer cannot display the webpage Any solution to this issue.

    KaKaShi HaTaKe

    K B 2 Replies Last reply
    0
    • H HatakeKaKaShi

      Hey Guys need help. I have came across this error. When in VS2005 ASP.net i using the Fileupload tool in the toolbox given. When I upload a small size file like about 3.73 MB. When I click a button it still works even without any function written on the button. But when i upload around 4.97 MB and i just click a button the web site display Internet Explorer cannot display the webpage Any solution to this issue.

      KaKaShi HaTaKe

      K Offline
      K Offline
      K P Kannan
      wrote on last edited by
      #2

      By default, .NET allows upto 4MB of file size to be uploaded. You need to add/modify the following entry to system.web section of web.config. 4096KB Please change it to desired value. K.P.Kannan

      H 1 Reply Last reply
      0
      • K K P Kannan

        By default, .NET allows upto 4MB of file size to be uploaded. You need to add/modify the following entry to system.web section of web.config. 4096KB Please change it to desired value. K.P.Kannan

        H Offline
        H Offline
        HatakeKaKaShi
        wrote on last edited by
        #3

        Hey Thanks bro for the hint ... Cheers

        KaKaShi HaTaKe

        1 Reply Last reply
        0
        • H HatakeKaKaShi

          Hey Guys need help. I have came across this error. When in VS2005 ASP.net i using the Fileupload tool in the toolbox given. When I upload a small size file like about 3.73 MB. When I click a button it still works even without any function written on the button. But when i upload around 4.97 MB and i just click a button the web site display Internet Explorer cannot display the webpage Any solution to this issue.

          KaKaShi HaTaKe

          B Offline
          B Offline
          Blue_Boy
          wrote on last edited by
          #4

          Add this on webconfig to set size of upload in 8MB _________________________________________________________________________

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups