ASP.NET - ORA-04068:现有的包状态已经被丢弃 [英] ASP.NET - ORA-04068: existing state of packages has been discarded
本文介绍了ASP.NET - ORA-04068:现有的包状态已经被丢弃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是ASP.NET应用程序,它使用具有全局常量变量Oracle包。这个包是遵守后,第一个ASP.NET请求得到这个异常:ORA-04068。我看,这是因为这个全局常量变量。
This is ASP.NET application and it is using Oracle package which has global const variable. After this package is complied, first ASP.NET request gets this exception: ORA-04068. I read that it is because of this global const variable.
请让我知道,如果有,以避免对第一次请求此异常(以PROD环境)的方式?
Please let me know if there is a way to avoid this exception on first request (in PROD environment)?
感谢您
推荐答案
请确保您编译规范,即使没有任何更改。
Make sure you compile the specification even though there are no changes.
这篇关于ASP.NET - ORA-04068:现有的包状态已经被丢弃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文