Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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
good
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/microsoft.net/v4.xxx/... (sorry, can't find backslash on that MacBook).
 
Cheers
Uwe
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

HI,
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.
  Permalink  
Rate this: bad
good
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.
  Permalink  
Comments
Uwe Keim at 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
0 Sergey Alexandrovich Kryukov 686
1 OriginalGriff 345
2 CPallini 200
3 PIEBALDconsult 150
4 Magic Wonder 131
0 OriginalGriff 5,795
1 Sergey Alexandrovich Kryukov 5,028
2 CPallini 4,700
3 George Jonsson 3,142
4 Gihan Liyanage 2,450


Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 24 Nov 2010
Copyright © CodeProject, 1999-2014
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