Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:32:39+00:00 2026-06-09T01:32:39+00:00

I am redirecting from one page to another by using this command. Response.Redirect(~/Viewer/ViewerTest.aspx); Sometimes,

  • 0

I am redirecting from one page to another by using this command.

Response.Redirect("~/Viewer/ViewerTest.aspx");

Sometimes, I am redirected to this page and sometimes, I am not. Actually very rarely, i am redirected to this page. If I am not redirected, I get an error

The page was not displayed because the request entity is too large

I tried to play around with this command by putting actual project name instead of tilde, but again sometimes it worked sometimes, it does not.

Response.Redirect("~/Viewer/ViewerTest.aspx");

Along with the above command, I am passing a query string with it, the query string value is very small, it is Id=<the calculated value> which is integer value not more than 100.

Also, this error is not coming on development computer, only on my production computer. My dev computer works fine. The production computer has Windows Server 2008 and my dev computer has XP. The Internet Explorer version is 7.0

Any help will be greatly appreciated.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:32:41+00:00Added an answer on June 9, 2026 at 1:32 am

    Sometimes it does and sometimes doesn’t?

    Request entity body becomes large

    1. When you upload a large file from your web page

    2. When you submit a web page of large content

    Setting uploadReadAheadSize in applicationHost.config file on IIS7.5 would resolve your issue in both cases. You may modify this value directly in applicationhost.config or use this command:

    appcmd.exe set config -section:system.webserver/serverruntime/uploadreadaheadsize: 1048576 /commit:apphost
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Redirecting to a new page when a user is using Internet Explorer
I'm now redirecting to main page in my Rails application using redirect_to root_path I
I tried 2 methods for redirecting to an other page <asp:HyperLink ID=asd ViewStateMode=Disabled NavigateUrl=f2.aspx
I would like to rewrite the URL of one of my pages from http://www.mydomain.com/some/application/page.html
I just need a reality check. This page is redirecting to the HTTP_HOST immediately
I am migrating Magento from one server to another. I created local.xml file but
I have one question about redirecting in ASP.NET. I know how to redirect with
I'm again lost with CakePHP. Before site was using static one page invite for
I'm using directory structure (for redirecting from other pages for example after succesful registration)
I'm using google-start-project's code into one of my gaelyk app. This is the groovy-ed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.