如何重新加载缓存 [英] How to reload the cache

查看:94
本文介绍了如何重新加载缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好专家,



我有一个webapplication,它发布在服务器上。

在Web应用程序中提交表单时,有时会显示任何问题,有时会在事件查看器中跟踪错误。

未处理的异常捕获
事件代码4010



当我在goole搜索类似的问题时,这引起了我的注意。

检查重新加载缓存





如何确保重新加载如果用户长时间理想的话,点击表格上的提交按钮之前缓存?



有人可以告诉我如何重新加载缓存吗?



我尝试了什么:



我刚启动了web.config中的跟踪也是SO中给出的另一种解决方案。我没有任何想法尝试重新加载缓存。

解决方案

重新加载缓存与此异常无关。此例外是一个安全例外。您的服务器代码尝试执行它没有权限执行的操作。



而不是启用跟踪,请关闭web.config中的CustomErrors。当ASP.NET代码崩溃时,它将显示一个包含详细信息的错误页面。

< system.web> 
< customerrors mode =Off/>
...
< /system.web>



如果没有进一步的信息,就无法告诉你如何解决这个问题。


Hello experts,

I have a webapplication, which is published on the server.
When submitting a form in the web application, some times, it doesn't show any issues and sometimes it has following error traced in event viewer.

Unhandled exception caught 
Event code 4010 


When I searched in goole for similar issues, This caught my eye.

check to reload cache 



How to make sure to reload the cache before clicked on Submit button on the Form if the user sits ideal for a long time?

Could someone please tell me how to reload the cache?

What I have tried:

I just enabled the trace in web.config which is also another solution given in SO. I haven't had any idea to try on reloading the cache.

解决方案

Reloading the cache is has nothing to do with this exception. This exception is a security exception. Your server code tried to do something it did not have permissions to do.

Instead of enabling tracing, turn off CustomErrors in web.config instead. When the ASP.NET code crashes it will display an error page with the details.

<system.web>
    <customerrors mode="Off" />
  ...
  </system.web>


Without further information, it's impossible to tell you how to fix this.


这篇关于如何重新加载缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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