Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE cannot display the webpage

Status
Not open for further replies.

dcusick

Technical User
Aug 9, 2000
271
US
Hey all.. I'm having an issue with a webpage I'm building in ASP.NET... I have a page with a simple form that has a dropdownlist and a few textboxes... Upon selecting a value in the DDL, it posts back to the page, and fills in the textboxes. This page works great in Firefox, however not so in IE7. I can get to the page, however when I select a value in the DDL, I get the "Internet Explorer Cannot display the webpage" error.

If I try to refresh the screen, the error that comes up is

[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
ViewState: /wEPDwUKLTI0NzI1NTYwMw9kFgICAw9kFg...mdlcgUIRTAwMDA

In looking at the ViewState string, it is actually cut off. The value in the URL is a lot longer...

Again, this works as expected in FireFox, it is specific to IE.. Any ideas?
 
your problem is probally with the first error, not the viewstate error. the view state error occurs because on retrying the post back the viewstate did not validate against the server. this prevents XSS accacks and other hacks.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top