Thanks Anders
I did as you said to switch off friendly HTTP error messages in IE.
Still doesn't work. I still get the "The Page cannot be displayed" screen.
I don't see any error you are refering to by switching this off.
I tried another approach in my development environment (Professional
2002) to locate the source of the problem as follows:
As I said before selecting under 12,000 records makes the page display
fine - over 12,000 gets the "the Page cannot be displayed" sreen.
In my development environment, there is a difference in what is displayed:
Under 12,000 no problem. Over 12,000 returns a "Enter Network Password"
dialog box with "Please type your username and password". Then clicking on
OK gets you "The Page cannot be displayed" screen. However, clicking on
Cancel gets you a "You are not authorized to view this page" screen (do not
get this in live environment). On this page by clicking on a Microsoft
Support link, you get to a page that says "Error Message: 401 Error
(Unathorized: Logon Failed)". The resolution stated to fix this is:
1. Open the Local Security Policy tool from the Adminstrative Tools folder.
2. Select Local Policies, choose User Rights Assignments, and then click
the Log on Locally user right.
Did this - still gets the same two pages "The page cannot be displayed"
or "You are not authorized to view this page"
I then put in my code a Try Catch block to encase the "Response.Redirect
that I have been doing to go back to the originating page that produced the
report form.
In the Xcp.Message I get "Thread was being aborted", the program still
redirects back to the originating program for under 12,000 records, but
produces the "Enter Network Password" dialog box I described above for over
12,000 records.
Thanks again Anders for any support you can give.
"Anders Norås" wrote:
Bob wrote: The form displays just fine with all 12,000+ entries but when I leave the
form to go back to the originating screen, I get a "The page cannot be
displayed" screen for "Cannot find server or DNS Error" "Internet Explorer".
There is no limit to the number of rows in a DataGrid nor the size of a
form. You're probably getting an exception in your ASP.NET application
which again results in an HTTP Error. If you switch off friendly HTTP
error messages in Internet Explorer you will be able to see this error.
To switch off friendly HTTP error messages go to Tools > Internet
Options > Advanced and uncheck the "Show friendly HTTP error messages"
option in the Browsing option group.
Anders Norås
http://dotnetjunkies.com/weblog/anoras/