首页 > Web开发 > 详细

【转】windows2008系统中部署 ASP.NET + oracle系统

时间:2014-07-22 23:08:45      阅读:516      评论:0      收藏:0      [点我收藏+]

     一个项目要求服务器使用windows2008操作系统和oracle数据库,于是安装完成Windows2008后,就把以往的oracle10g复制 到服务器上安装,没想到出错,弹出一个提示,上面一堆问号。后来一查才得知,Windows2008需要安装特定的oracle版本。于是到oracle 官网上下载了win32_11gR1_database.zip,可以运行在Windows2008上

下面是从oracle官上网复制来的。注:下载oracle数据库要先登录oracle网站的。

Oracle Database 11g Release 1
Standard Edition, Standard Edition One, and Enterprise Edition


(11.1.0.7.0)

bubuko.com,布布扣 Microsoft Windows Server 2008 (32-bit) (1.9 GB) | See All (Including Client, Clusterware)
bubuko.com,布布扣 Microsoft Windows Server 2008 x64 (1.9 GB) | See All (Including Client, Clusterware)


(11.1.0.6.0)
bubuko.com,布布扣 Microsoft Windows (32-bit) (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 Microsoft Windows (x64) (1.7 GB) | See All (Including Client, Examples, Clusterware)
bubuko.com,布布扣 Linux x86 (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 Linux x86-64 (1.8 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 Solaris (SPARC) (64-bit) (1.9 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 AIX (PPC64) Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 HP-UX Itanium Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
bubuko.com,布布扣 HP-UX PA-RISC (64-bit) Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)


安装过程依旧是那样简单,但在配好IIS站点,准备连接数据库的时候出错了,以下是错误提示:
System.Data.OracleClient 需要 Oracle 客户端软件 8.1.7 或更高版本。

 

以 往这种情况的处理就是把ASPNET用户加上oracle/bin文件夹上,并开启读取与运行权限就OK了,但windows2008中,没有 ASPNET这个用户。那加谁好呢?试验了几个用户后,IIS_IUSRS?,都无果。最后,找到了“Authenticated Users”这个用户组,加上之后,重启了IIS,还是没有效果。是不是重启一下就OK了呢?抱着试试看的想法,重启了服务器,再一试,果然OK了。

 

因为应用中有通过页面操作写文件的代码,执行的时候就报错,说无法写,这想再试想起了“Authenticated Users”这个用户组,把这个用户组加上应用的文件夹安全权限里面,就可以进行文件的写操作了。

 

原文地址:http://dong.hongjun888.blog.163.com/blog/static/2081208420098241839628/

【转】windows2008系统中部署 ASP.NET + oracle系统

原文:http://www.cnblogs.com/tonyprotect/p/3514928.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!