English 中文(简体)
关闭Reason: 配置 变化,但只有静态档案发生变化?
原标题:shutdownReason : ConfigurationChange, but only static files changed?

I m on IIS 7.5 and ASP.NET 4 with latest official updates. I m logging all application shutdown reasons. All is working ok, but since a week strange shutdown reasons are logged.

This now happens when static files are updated on the server. Example log:

关闭:

Change Notification for critical directories.  bin dir change or directory rename
HostingEnvironment initiated shutdown 
HostingEnvironment caused shutdown  
Change Notification for critical directories.  bin dir change or directory rename  
Change Notification for critical directories.  bin dir change or directory rename
... (50 lines !) 
Change in X:IISTempASPNET4Compilation
ootc6474edde8b7124fhashhash.web
Change Notification for critical directories.  bin dir change or directory rename  
Change Notification for critical directories.  bin dir change or directory rename  
... (20x !) 
CONFIG change  
CONFIG change  
CONFIG change

shutdownReason: BinDirChangeOrDirectoryRename

shutDownStack:

at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)  
at System.Environment.get_StackTrace()  
at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()
at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace)  
at System.Web.HttpRuntime.OnCriticalDirectoryChange(Object sender, FileChangeEvent e)  
at System.Web.FileChangesMonitor.OnCriticaldirChange(Object sender, FileChangeEvent e)  
at System.Web.DirectoryMonitor.FireNotifications()
at System.Web.Util.WorkItem.CallCallbackWithAssert(WorkItemCallback callback)  
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)  
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()  
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

任何想法?

最佳回答

这个问题是通过更新时间框架确定的。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签