Click here to Skip to main content
13,504,533 members
Rate this:
Please Sign up or sign in to vote.
See more:
Has anyone had a situation where code changes work perfectly on one server but not another? I have a situation where I made a few ASP.NET codebehind changes and everything tested fine. QA signed off on the changes, we move the changes to production and now nothing. The web app in production does not error or crash, it just ignores the changes. I've been told that the Test and Production servers and IIS versions are identical.

Any suggestions where I should start looking? I've verified that the aspx and dll files are moved and the correct version. We've tried restarting IIS and rebooting the server. Nothing is working.
Posted 24-Nov-10 7:57am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Happens to me, from time to time, too. Especially with resource file changes (resx) that are dynamically compiled.

What helped me is to delete the contents of the "Temporary ASP.NET files" folder. Try IISRESET if some child folders are locked. Also ensure you delete the ones for Framework and Framework64, too.

You finde the folder somewhere similar as in c:/windows/ (sorry, can't find backslash on that MacBook).

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You didn't mentioned you are uploading compiled files or uncompiled files?
If you are uploading uncompiled files, then the problem you posted might occurs due to temporary files under framework. Workaround is rename your web.config files for time being, try to browse the site. Obviously your site will give error, now restore the web.config file. This can do the trick, idea is force engine to re-compile the site again and it will wipe out temporary files.

I hope this will help.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Try to re-save web.config on production.
Just change something and re-save it.
It will clear the cache, restart the application, etc...

Good luck.
Uwe Keim 25-Nov-10 1:37am
That did not always work for me. In fact, I sometimes experience that any white-space change in web.config is ignored, so I end up adding comments with random numbers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180417.1 | Last Updated 24 Nov 2010
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100