现象:windows server2008服务器,MVC使用NHiberate连接Oracle11g,程序部署到IIS后无法访问数据库,抛上述异常;在服务器上安装VS调试可以访问数据库

解决方法:连接池-->高级设置-->Enable 32-Bit Applications设为true(默认为false) (只有server服务器有该配置)

转载于:https://www.cnblogs.com/gossip/p/3916605.html

IIS OCIEnvCreate failed with return code -1相关推荐

  1. OCIEnvCreate failed with return code -1 but error message text was not available with ODP.net

    https://stackoverflow.com/questions/12901045/ocienvcreate-failed-with-return-code-1-but-error-messag ...

  2. Windows 7 SDK Fails to Install with Return Code 5100 (GRMSDK_EN_DVD.iso)

    来源:http://support.microsoft.com/kb/2717426/de 不对全文做翻译了,总结一下: 原因:电脑上已经安装了新版本的Visual C++ 2010 Redistri ...

  3. hive遇到FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask错误...

    hive遇到FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask错误 起因 ...

  4. Hive创表异常,FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask.

    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Me taException(m ...

  5. hive 运行命令后FAILED: Execution Error, return code 137 from org.apache.hadoop.hive.ql.ex ec.mr.MapredLoc

    FAILED: Execution Error, return code 137 from org.apache.hadoop.hive.ql.ex ec.mr.MapredLocalTask vi ...

  6. Hive更改表名FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Una ble

    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Una ble to alter ...

  7. 解决: Failed to execute ... maven-deploy-plugin... Return code is: 401, ReasonPhrase: Unauthorized.

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 执行  mvn  clean deploy , 想把本地代码 打包并推送到私服 ,报错: [E ...

  8. FAILED Execution Error, return code 2 from org

    FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask 解决方案①: hdfs ...

  9. 执行HiveSql时报错“FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTa”

    执行HiveSql时报错"FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapR ...

最新文章

  1. ATS 4.2.3隐藏服务器名称及版本号的方法
  2. 图解c/c++多级指针与“多维”数组
  3. Docker Swarm Beta 发布,Docker 集群管理
  4. Web开发学习点滴(持续更新)
  5. C++继承中父类和子类之间的赋值兼容
  6. 信息系统项目管理知识--项目时间管理
  7. linux内核趣味,有关Linux 50个趣味名人名言
  8. MySQL 5.7.11 重置root密码
  9. 【DP】【树状数组】方伯伯的玉米田/优美玉米(luogu 3287/金牌导航 数据结构优化DP-5)
  10. 具有PreAuthorize的Spring方法安全性
  11. Thread.join()
  12. 字符串处理 —— 回文串相关 —— 回文串的判断
  13. java cha r转string_JAVA String.format 方法使用介绍
  14. 使用TargetSources
  15. 关于MATLAB fplot 出现matlab 警告: 函数处理数组输入时行为异常。要改善性能,请将您的函数正确向量化,以返回大小和形状与输入参数相同的输出。
  16. 原码,反码,补码的概念
  17. html调用影音先锋,在网页里嵌入影音先锋web万能播放控件
  18. 仓库管理员怎样做台账_要求仓管员会做手工台账,手工台账是怎样做的?
  19. Debian没有reboot命令
  20. java程序员必备英语词汇_java程序员常用英文单词整理

热门文章

  1. 7-65 藏头诗 (15 分)
  2. 交换最小值和最大值 (15 分)
  3. PTA11、 输入输出-计算字符串中的数 (10 分)
  4. 网络通信之TCP Client通信(基于Arduino)
  5. android单选按钮空值,Android的 - 空指针异常的对话与单选按钮
  6. 打包node服务端_如何基于NodeJS从零构建线上自动化打包工作流?
  7. PostGIS mysql_fdw安装(Linux)
  8. Hotel POJ - 3667(线段树 + 区间合并
  9. 判断二叉树是否平衡二叉树
  10. 第五天、LAMP架构