Windows 2008 Server with IIS 7. Uses old (cahced?) pages.
Posted on 2010-08-30
Using ASP .Net 4.0 and IIS 7...
We have noticed that after putting new pages on our Windows 2008 Server running IIS 7, that the web server still uses the old page. For instance, we have code behind written in C# that appends an additional URL parameter when a button is clicked. Even though we have copied this new "aspx.cs" page to the server it is still using the old one from it's cache.
I have tried the following:
"touching" (saving) the "web.config" file
Recycling the App Pool
Renaming the "cs" file, hit the page, then rename it back.
Any other ideas on how to force IIS to reload/recompile?