找不到时区区域 [英] Timezone region not found
问题描述
我正在创建一个使用Oracle数据库的C#MVC项目.尝试连接到数据库时,出现以下错误:
I'm creating a C# MVC project that uses Oracle Database. While trying to connect to the DB, I get following error:
ORA-00604:在递归SQL级别1发生错误
ORA-01882:找不到时区区域.
ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found.
当我尝试通过SQL开发人员进行连接时,它可以正常工作.有什么办法可以解决这个问题?
When I try to connect via SQL developer it works fine. Is there any way that I can solve this problem ?
注意:我正在使用IIS Express进行测试
NOTE: I'm using IIS express for testing
推荐答案
实际上,此错误是由于您使用的应用程序Oracle驱动程序和数据库的Oracle版本存在某些问题.
Actually, this error because of some issue with application Oracle driver which you use and Oracle version of the DB.
注意::请同时选中两者,并为您的应用程序使用更新的Oracle版本.
NOTE: Please check Both of them and use Updated Oracle versions for your application.
这篇关于找不到时区区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!