[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

"The page cannot be displayed" after (some) file uploads

Dear all,

I am successfully using ASP.NET and C# to upload files to a folder on the web server. Unfortunately, the upload is not always successful. The attempt to upload some files results in a page containing this:

The page cannot be displayed

The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Does anyone know the reasons for this unpredictable behaviour? Any pointers would be very much appreciated. Many thanks in advance.

Thanks,
Chris
0
csetzkorn
Asked:
csetzkorn
1 Solution
 
ihenryCommented:
How big is the uploaded file which failing?
0
 
csetzkornAuthor Commented:
It is bigger than 4MB. I jsut realised that the upload of such files (in the standard configuration) is not possible.
0
 
razoCommented:
u have to increase the timeout of the page
try adding this to ur web.config
      <httpRuntime executionTimeout="3600" />
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now