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. Upload File

Upload File

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestion
9 Posts 5 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.
  • T Offline
    T Offline
    thainam
    wrote on last edited by
    #1

    Hi ASP.NET Gurus, I'm writting ASPX page uploading file(using control ). But it only work correct when uploading file with small size. When I upload over 10MB file, it won't work and redirect to "Page not found" page. Is there any way to solve this problem? Please help me!!!!!:( Thanks, Tran Thai Nam

    K S M V 4 Replies Last reply
    0
    • T thainam

      Hi ASP.NET Gurus, I'm writting ASPX page uploading file(using control ). But it only work correct when uploading file with small size. When I upload over 10MB file, it won't work and redirect to "Page not found" page. Is there any way to solve this problem? Please help me!!!!!:( Thanks, Tran Thai Nam

      K Offline
      K Offline
      K sundar
      wrote on last edited by
      #2

      In the Web.config inside the below mentioned section <System.web> . . <System.web> Add This Key <httpRuntime maxRequestLength="20000" > it Should Work the Default size of the Request is i guess 4096 kb which you can override in web.config to your preferred, i dont know its drawbacks -- modified at 2:46 Thursday 23rd March, 2006

      T K 2 Replies Last reply
      0
      • T thainam

        Hi ASP.NET Gurus, I'm writting ASPX page uploading file(using control ). But it only work correct when uploading file with small size. When I upload over 10MB file, it won't work and redirect to "Page not found" page. Is there any way to solve this problem? Please help me!!!!!:( Thanks, Tran Thai Nam

        S Offline
        S Offline
        sudharsong
        wrote on last edited by
        #3

        i hope u have to edit the property of fileuploadsize hi to all with regards, susa

        T 1 Reply Last reply
        0
        • K K sundar

          In the Web.config inside the below mentioned section <System.web> . . <System.web> Add This Key <httpRuntime maxRequestLength="20000" > it Should Work the Default size of the Request is i guess 4096 kb which you can override in web.config to your preferred, i dont know its drawbacks -- modified at 2:46 Thursday 23rd March, 2006

          T Offline
          T Offline
          thainam
          wrote on last edited by
          #4

          That's a good idea. But I dont see your key. Could you please to review your post? Thanks

          1 Reply Last reply
          0
          • S sudharsong

            i hope u have to edit the property of fileuploadsize hi to all with regards, susa

            T Offline
            T Offline
            thainam
            wrote on last edited by
            #5

            But it doesn't have FileUpLoadSize Property. Thanks

            1 Reply Last reply
            0
            • T thainam

              Hi ASP.NET Gurus, I'm writting ASPX page uploading file(using control ). But it only work correct when uploading file with small size. When I upload over 10MB file, it won't work and redirect to "Page not found" page. Is there any way to solve this problem? Please help me!!!!!:( Thanks, Tran Thai Nam

              M Offline
              M Offline
              minhpc_bk
              wrote on last edited by
              #6

              Hi Nam, You simpy increase the value of the maxRequestLength attribute of the httpRuntime[^] element.

              T 1 Reply Last reply
              0
              • M minhpc_bk

                Hi Nam, You simpy increase the value of the maxRequestLength attribute of the httpRuntime[^] element.

                T Offline
                T Offline
                thainam
                wrote on last edited by
                #7

                Thank you very much. I solved it.

                1 Reply Last reply
                0
                • K K sundar

                  In the Web.config inside the below mentioned section <System.web> . . <System.web> Add This Key <httpRuntime maxRequestLength="20000" > it Should Work the Default size of the Request is i guess 4096 kb which you can override in web.config to your preferred, i dont know its drawbacks -- modified at 2:46 Thursday 23rd March, 2006

                  K Offline
                  K Offline
                  K sundar
                  wrote on last edited by
                  #8

                  or whatever size you want

                  1 Reply Last reply
                  0
                  • T thainam

                    Hi ASP.NET Gurus, I'm writting ASPX page uploading file(using control ). But it only work correct when uploading file with small size. When I upload over 10MB file, it won't work and redirect to "Page not found" page. Is there any way to solve this problem? Please help me!!!!!:( Thanks, Tran Thai Nam

                    V Offline
                    V Offline
                    vik20
                    wrote on last edited by
                    #9

                    Here is a post explaining the problems of uploading large file in asp.net 2.0 http://vikramlakhotia.com/Post.aspx?postID=7 Vikram

                    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