[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 255
  • Last Modified:

Asp.net and Pages not reflecting coding changes.

Hi folks,
    I am using ASP.net, using Visual Studio 2010 Express in a Windows 7 platform. I have made sure that my Internet Explorer v9 is set to get fresh pages everytime. I do not have a test server and therefore use my computer as both.
   What happens is I will make changes to a web page and it still shows the "old Version"  but has the new code in the page. I have even deleted the entire website, recreated in IIS7, reloaded the pages into it. This situation is very counter-productive. It doesn't happen ALL the time but enough to cause some real headaches as I am uncertain of where I am with a page.
In classic ASP, I think I used something like no-cache and response.Expires but do not know if this would be applicable. What is causing the problem and how can I fix it ?
And please, as I am getting back into the swing of things, be specific...my thinking cap is still adjusting :)
Any help would be appericated.
  • 2
2 Solutions
Wayne BarronCommented:
This same issue I have put up with, but would clear up with
Closing IE, Chome, FF, and then reopening them usually solved the issue for that session, even though, I still am not sure what caused it.

If you are just not getting the live data, even though the code is changed, try another brother, as IE might be messed up.
Try Chome or FF to see if they can grab the live updated pages.

A couple things to note:

1) Shift + clicking refresh will force a no-cache refresh in almost all browsers
2) Make sure you are building the site and not just saving the changes
    - This is assuming you are using a web application project instead of a web site project
3) Might sound stupid, but make sure you are browsing to the right location and editing the files for that location.
OverthereAuthor Commented:
Where do I get Chrome?

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now