Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all,

 

I am facing a strange problem with my ASP.NEt page.

 

It throws an error 500: Header size too large whenever accessed.

The problem which I foresee with this page is that it has too many controls on it. Basically the page is a checklist page with many questions on it. Now depending on checklist a user selects there are variable number of questions. If the questions are less then the page loads easily with no problem but if the page has more questions, which obviously means more controls then it throws error 500 page stating that the header size is too large.

 

The page shows up fine if accessed locally but the problem arises if it is viewed from outside the firewall.

 

Secondly the same problem seems to be leading to another problem. In thesame scenario, it also seems to end the Session of the logged in user.

 

Can someone help out. Its kinda urgent.

 

Thanks in advance.

Ashutosh

Posted

I'm not sure what information asp.net saves in the header...but...

 

1. how about splitting up the questions into different pages?

2. shutting off viewstate?

 

what kind of controls are you using? how about using just client side controls?

Posted (edited)
I'm not sure what information asp.net saves in the header...but...

 

1. how about splitting up the questions into different pages?

2. shutting off viewstate?

 

what kind of controls are you using? how about using just client side controls?

 

Hi Diesel,

 

Thanks for the reply. BTW below is the screenshot of the part of the page.

This is a repeater control that contains all the controls shown in the screenshot for question number 1.

Now onto your suggestions:

 

 

1. how about splitting up the questions into different pages?

Not possible since we have a kind of parent child relationship among the questions as shown in the screenshot. Q1 can have as many questions as possible and there is no limit for it.

 

Hense pagination is not possible since we are indenting the questions and if answer to the parent question is NO then we dont show the child question.

 

 

2. shutting off viewstate?

Not possible since there are quite a lot of these controls that maintain their viewstate and values from them are used to update the information required.

 

 

More importantly, at times the page does show up fine. Surprisingly, doing a Response.Write(Session("Username")) gives me correct value after completion of page load operation.

It shows that the values are lost somewhere after pageload event.

 

I m confused???

:confused:

 

 

Ashutosh

Edited by ashutosh9910

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...