473,602 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error refreshing a web page

Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 18 '07 #1
3 22069
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 18 '07 #2
since my work has nothing to do with commerce, how do i suppress the
behavior? what is the behind-the-covers mechanism that is invoking it so
that i can figure out why and how it's doing what it does?

i think it's odd to say the least that a simple post-back procedure causes a
browser to pop up such a specific message, especially if the browser cannot
have any knowledge that the user is actually performing a commercial
transactions of some sort.

i've been working through asp.net 2.0 examples with post-back functions for
several weeks, and this is the first time i've seen the behavior. this leads
me to think that it's not normal. has IE been changed recently to add this
popup?

james

"bruce barker" wrote:
this is browser normal behavior. if the current page is a result of a
postback (button clicked rather than a hyperlink), then to do a refresh
the browser needs to post the data again (rerunning the page logic).
because so many sites failed to handle this on their purchase page, the
browsers had to add this message to prevent double buys.
-- bruce (sqlwork.com)
gozer61 wrote:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that Orcas
added for me.

What is going on? I suspect that this error isn't real. When this warning
dialog pops up, what information is IE trying to send to the server that it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!
Jul 19 '07 #3
Browser displays that message only if page is result of submitting form with
method POST. Which is how any buttom works in .NET
you can get away with that if any action (i.e. button click) you will end
with Response.Redire ct somewere. Then it will me method "GET".

George.

"gozer61" <go*****@discus sions.microsoft .comwrote in message
news:2D******** *************** ***********@mic rosoft.com...
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.

Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.

Here's how I generate the error:

1. Create a new web site.
2. Drop a button on the default page.
3. Double-click the button to generate a handler.
4. Build the solution.
5. Run the web site in the debugger.

The browser's refresh button works fine UNTIL I click the button on the
page. From that point on, clicking the button still works fine, but the
refresh button pops up a Windows Internet Explorer warning dialog that
contains the text

"To display the webpage again, Internet Explorer needs to resend the
information you've previously submitted.

If you were making a purchase, you should click the Cancel to avoid a
duplicate transaction. Otherwise, clidck Retry to display the webpage
again."

along with a Retry and Cancel button. Neither button seems to change this
popup on subsequent attempts to refresh the page.

Things I've done recently that might have affected the environment:

1. Installed Expression Web trial
2. Installed VS Orcas trial

I've uninstalled Expression Web, Orcas, and the .NET 3.0 and 3.5 that
Orcas
added for me.

What is going on? I suspect that this error isn't real. When this
warning
dialog pops up, what information is IE trying to send to the server that
it
thinks it hasn't yet managed to send successfully? If this is really an
error, what is preventing IE from realizing that it completed the last
page
update successfully? Trace output looks correct in terms of execution
sequence and I can stop on breakpoints in the Page_Load and Button1_Click
functions. How do I get rid of this problem and restore my development
environment?

HELP!

Jul 19 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3042
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page). Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!) Whats going on?!?!
1
2166
by: sentinel | last post by:
Hello, I'm having problems refreshing a main window, and am not sure really whether the solution will be Javascript or PHP related. Firstly, I have a main file that calls a pop-up box which enables comments to be made about certain images on the page. The pop-up makes a connection to a MySQL database and the existing comments are put into a PHP array and echoed to the screen.
60
4290
by: A.Translator | last post by:
I have been struggling with a page that is based on a table structure (because that is all I am feeling comfortable with at the moment) styled with css. One of the problems I run in to is Opera (Opera 7 in my case). The weird thing is: viewing the page through Opera's eyes the first time around is OK, but after refreshing, the page gets messed up badly. I will look into the cause of the mess, but for now am really curious: what does...
4
5918
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a single RichTextBox on each page. In my controls loaded event I call my Render() method which configures everything appropriately. When setting up the TabControl the first thing it says is (not real var names):
2
2535
by: jdi | last post by:
Hello, I have a seemingly basic question about ASP.NET. I would like to create a page containing an image, which keeps swapping the url of the image source, without refreshing the entire page. So when the page first loads I'd like the image url to be "img1.gif"; then 20 seconds later "img2.gif"; then "img3.gif", and so on. All this should take place dynamically without refreshing the page. Any help would be appreciated.
5
3475
by: Jensen Bredal | last post by:
Hello, I need to display self refreshing information on a web page written with asp.net. I would image that the info would be displayed either as part of a user control or a web control. How can this be done? The information will come from a database and the displaying should loop throug a table in the database. Many thank in advance JB
2
2478
by: Ben | last post by:
Hi, One ASP.NET transactional page conducts a long transaction in a button click function. I want to display the transaction progress info in label control without refreshing page. It is because page refreshing will commit the transaction automatically. How to do it?
4
5046
by: Dan | last post by:
Hi, i'm not sure to understand the difference between refreshing the pagina by clicking on 'refresh' in the browser and a postback. What i think it is: Suppose a page with a form containing a textbox and a dropdowlist: and a button to start something n code-behind: a refresh doesn't send any value back to the server but with a postback, the values are sent? But then, which role does Viewstate play in the postback proces?
13
7438
by: honey99 | last post by:
Hi! I have to fix a problem in JSP.Actually,i have a JSP page say Ex1.jsp.In this Ex1.jsp i have an anchor tag which links into another JSP page i.e when i click on the link another pop-up window will open.My problem is the pop-up window and the parent window has same combobox.if i add data through html form in pop-up window(Ex2.jsp) it enters the combobox...but the data in the combobox of parent window(Ex1.jsp) is entering only when i refresh...
0
7920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8404
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8268
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6730
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5440
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2418
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1254
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.