部署ASP.NET应用程序恢复到旧的code基? [英] Deployed ASP.NET application reverts to old code base?

查看:84
本文介绍了部署ASP.NET应用程序恢复到旧的code基?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个webfarm运行的ASP.NET应用程序。当我们发布一个新版本,并将其复制到生产服务器上,偶尔会碰巧几个小时后,应用程序将恢复到一个较早的code基地。

We have an ASP.NET application running on a webfarm. When we release a new version and copy it to the production servers, occasionally it happens that after a few hours the application reverts to a an earlier code base.

有其他人遇到这样的事情?将共享两个应用程序之间的应用程序池中运行不同版本的code的做到这一点?

Have anyone else experienced something like this? Would sharing an application pool between two applications running different versions of the code make this happen?

更多信息:
运行W2K3 / IIS6 3×Web服务器
ASP.NET 3.5

Additional information: 3 x web servers running w2k3/iis6 ASP.NET 3.5

推荐答案

我有这个在非precompiled网站很少发生和解决办法是停止IIS和清除临时缓存:

I've had this happen rarely on non-precompiled sites and the solution was to stop IIS and clear out the temporary cache at:

%WINDIR%\\ Microsoft.NET \\框架\\ V2.0.50727 \\ Temporary ASP.NET Files文件

%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

是不是一个长期的解决方案,但将解决当前的问题。如果还没有,这是值得考虑部署网站pre-编译。

Is not a long-term solution, but will address the immediate problem. If not already, it is worth considering deploying the site pre-compiled.

这篇关于部署ASP.NET应用程序恢复到旧的code基?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆