我收到以下错误,系统认为web.config文件正在被修改。实际的文件显示自网站上次发布以来没有更改过web.config文件修改日期。该问题在重定向到另一个页面时显示,但问题发生的页面将会更改,并且访问该网站的任何用户都会遇到错误。这个问题可以通过重新发布应用程序暂时缓解,但在大约24小时内问题将会恢复。任何想法为什么它认为该文件正在改变,即使它不是?配置文件已被其他程序更改
Current User: NT AUTHORITY\NETWORK SERVICE Target Site: BaseConfigurationRecord.EvaluateOne Error: (System.Configuration.ConfigurationErrorsException) The configuration file has been changed by another program. (E:\PEC\web.config)
StackTrace: at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName) at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index) at System.Web.Configuration.RuntimeConfig.get_Authorization() at System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
您有杀毒软件在运行吗? – 2010-03-23 16:06:46
我也不时遇到同样的问题,防病毒软件正在我们的服务器上运行。当它发生修复错误时,我也重新启动我们的应用程序池。但是首先会导致什么呢? – 2011-02-18 13:39:50