Tôi nhận được lỗi sau khi hệ thống tin rằng tệp web.config đang được sửa đổi. Tệp thực tế cho thấy không có thay đổi đối với ngày sửa đổi tệp web.config kể từ khi trang được xuất bản lần cuối. Vấn đề xuất hiện khi được chuyển hướng đến một trang khác, mặc dù các trang nơi sự cố xảy ra sẽ thay đổi và lỗi sẽ tồn tại đối với bất kỳ người dùng nào truy cập trang web. Vấn đề có thể được tạm thời giảm bớt bằng cách tái xuất bản ứng dụng, nhưng trong khoảng 24 giờ vấn đề sẽ trở lại. Bất kỳ ý tưởng nào tại sao nó cho rằng tệp đang thay đổi mặc dù nó không phải là?Tệp cấu hình đã bị thay đổi bởi một chương trình khác
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)
Bạn có hoạt động chống vi-rút không? –
Tôi nhận được cùng một vấn đề theo thời gian là tốt, chống virus đang chạy trên máy chủ của chúng tôi. Tôi cũng khởi động lại hồ bơi ứng dụng của chúng tôi khi nó xảy ra mà sửa lỗi. Nhưng điều gì sẽ gây ra nó ngay từ đầu? –