缓存超时或不存在

发布于 2024-08-11 23:13:46 字数 943 浏览 6 评论 0原文

当尝试提交到服务器时,我不断收到以下错误:

Cache timed out or does not exists.
StackTrace:
   at Royal4.MP.MasterScheduling.ProgramScheduling.iBtnAdd_Click(Object sender, ImageClickEventArgs e)
   at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
   at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain()

此错误大约在使用 2-3 分钟后出现,并且似乎总是在对服务器进行某些调用的回发上发生。我想知道是什么导致了这个错误(因为它经常发生并且它阻止了实际发生的更新)。另请注意,当我在本地计算机上运行代码时,我无法复制错误,我只在生产服务器上收到错误。任何帮助表示赞赏。

其他信息:
语言:C# .NET
框架:.NET 1.1
IIS版本:6
服务器:Windows 2003
数据库:Progress 4GL(不要问)

如果需要其他信息,请询问,我会提供尽可能多的信息。

谢谢,

蒂姆

I keep recieving the following error when attempting to submit to the server:

Cache timed out or does not exists.
StackTrace:
   at Royal4.MP.MasterScheduling.ProgramScheduling.iBtnAdd_Click(Object sender, ImageClickEventArgs e)
   at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
   at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain()

This Error shows up roughly after 2-3 minutes of usage and it seems like it is always happening on a postback that is doing some call to the server. I would like to know what is causing this error (because it is happening quite often and it stops the updates from actually occuring). Another note, when I run the code on my local machine, I cannot replicate the error, I only get the error on my production server. Any help is appreciated.

Additional Information:
Langauge: C# .NET
Framework: .NET 1.1
IIS version: 6
Server: Windows 2003
Database: Progress 4GL (Don't ask)

If Additional information is required, just ask, I'll give as much information as i can.

Thanks,

Tim

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

天煞孤星 2024-08-18 23:13:46

“缓存超时或不存在。”听起来不像 .NET 错误。我的猜测是它是由您的代码在某处显式抛出的。

在 Royal4.MP.MasterScheduling.ProgramScheduling.iBtnAdd_Click 查看该函数的源代码将有所帮助,因为这似乎是抛出异常的地方。

您的生产环境是网络农场吗?在这些环境下通常会出现缓存问题(因为场中的服务器之间不共享缓存)。

"Cache timed out or does not exists." does not sound like a .NET error. My guess is it's being explicitly thrown by your code somewhere.

It would help to see the source code for the function at Royal4.MP.MasterScheduling.ProgramScheduling.iBtnAdd_Click, as it seems this is where the exception is being thrown.

Is your production environment a web farm? Often caching problems can come up under these environments (since cache is not shared between servers in a farm).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文