• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

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