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. Uploading file of larger size

Uploading file of larger size

Scheduled Pinned Locked Moved ASP.NET
question
5 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
    hemant kaushal
    wrote on last edited by
    #1

    Hi, Uploading file of larger size than specified in config file directly shows "The page cannot be displayed" page. How can I show message that file uploaded is of larger size than allowed. Thanks in Advance. :)

    H 1 Reply Last reply
    0
    • H hemant kaushal

      Hi, Uploading file of larger size than specified in config file directly shows "The page cannot be displayed" page. How can I show message that file uploaded is of larger size than allowed. Thanks in Advance. :)

      H Offline
      H Offline
      Haissam
      wrote on last edited by
      #2

      in the web.config file, go to and modify the maxRequestLength value Remember the value is in KB HC

      Best Regards, Haissam Abdul Malak My Blog

      H P 2 Replies Last reply
      0
      • H Haissam

        in the web.config file, go to and modify the maxRequestLength value Remember the value is in KB HC

        Best Regards, Haissam Abdul Malak My Blog

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

        sorry but it seems the code has been filtered from the above post in the web.config file, go to and modify the maxRequestLength value Remember the value is in KB

        Best Regards, Haissam Abdul Malak My Blog

        H 1 Reply Last reply
        0
        • H Haissam

          sorry but it seems the code has been filtered from the above post in the web.config file, go to and modify the maxRequestLength value Remember the value is in KB

          Best Regards, Haissam Abdul Malak My Blog

          H Offline
          H Offline
          hemant kaushal
          wrote on last edited by
          #4

          Thanks. I had already update the maxRequestLength value in config file . Problem Is that let i have set maxRequestLength value for 10MB now if user upload a file of 11MB or more it directly shows "Page Can not be displayed" page, i have to show message of length of uploaded file is more than allowed.For that where i have to change settings. :)

          1 Reply Last reply
          0
          • H Haissam

            in the web.config file, go to and modify the maxRequestLength value Remember the value is in KB HC

            Best Regards, Haissam Abdul Malak My Blog

            P Offline
            P Offline
            pnslcs
            wrote on last edited by
            #5

            Haissam thanks for your help. I was having this same problem. IS there any concerns or issues I should be aware of when I set the maxRequestLength to a large value like 40000kb? httpRuntime maxRequestLength ="40000" Thanks for you help!! Patrick

            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