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

  • Home
  • SEARCH
  • 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 8839203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:11:14+00:00 2026-06-14T10:11:14+00:00

I am getting a JScript when clicking a button but I get this error

  • 0

I am getting a JScript when clicking a button but I get this error before the button event or page load event and it doesn’t seem to be erroring on any user code. Here is the error popup:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. 

The status code returned from the server was: 500
In debug mode, the following throw is highlighted which is causing the popup:

if(d&&!e.get_errorHandled())throw d.

I do not know if this helps but if I take out a textbox from a column in a gridview, this stops failing.
I have several textboxes and it doesn’t matter which textbox I remove, as long as it is one of them. Can anyone point me to the issue?

thanks, bob

  • 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-14T10:11:16+00:00Added an answer on June 14, 2026 at 10:11 am

    It turns out it has to do with maxing out a collection’s index within http processing on the server. I was loading a grid with about 10 columns and 300 rows. After debugging the JScript, I eventually got an error “Operation is not valid due to the current state of the object”. This led me to the following blog: Microsoft Security Bulletin MS11-100 – Critical – Issues and Fixes All I did to fix the problem was I added a configuration setting in web config for appSettings:

    <add key="aspnet:MaxHttpCollectionKeys" value="5000" />
    

    The error thrown on the server as useless. Crap, why did I become a coder 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting this error when I click my submit button Microsoft JScript runtime
I keep getting this error on asp.net page button click...how do i resolve this?
I am getting this error every time I run the page. What could be
I'm getting a Microsoft JScript runtime error: Object expected on this line of code:
I'm getting a Breaking on JScript runtime error - Unknown runtime error on this
This script is getting Microsoft JScript runtime error: Object expected on If (out_params.bGranted) line.
This issue is that i am getting the error, Microsoft JScript runtime error: Object
Microsoft JScript runtime error: Permission denied I'm getting this problem on this line: _this._xmlHttpRequest.onreadystatechange
I keep getting a runtime error but my schools servers doesn't like to print
i have this in my content page: but i am getting null value if

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.