No, all I did was a full copy and paste of the entire code. It doesn't make any sense to me what is different between the 2 pages other than the page name.
Main Topics
Browse All TopicsI have an asp.net web form with a basic drop listbox which updates a multi-select list-item box based on the selected option. It worked fine in the initial page that I setup, but now when I copy and paste all of the code to another page, then try to select an option from the drop list, I get the error: "Out of memory at line: 139".
Both listbox/items are databound to my mssql dB and are inside an update panel.
Any suggestions?
Thanks to all the experts in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The line is not really accurate. I have removed some lines of code and it still always says 139.
No, nothing new has been added to the dB. To reiterate, it works fine in the first page I created last week, but I need the functionality replicated in some other pages that have different interfaces.
Now even when I copy the exact code to a new page the error occurs. Very strange.
>>>The line is not really accurate. I have removed some lines of code and it still always says 139.
It is not refering your own code. It was likely caused by AJAX. Maybe you have a circular call that caused an infinite loop? Try lauching your application in FireFox to see if you get any JavaScript error.
prairiedog, I think I may have found the problem. Thanks for suggesting that I use FF's error console. I found this in the new page's form element: onsubmit="javascript:retur
Once I removed it, the AJAX section started working as it should.
Thanks for your assistance.
Business Accounts
Answer for Membership
by: burakiewiczPosted on 2008-10-06 at 11:05:52ID: 22652686
did you make any changes to the collections you use. you can get this error if the collection ie List is too large