【转】windows2008系统中部署 ASP.NET + oracle系统
2014-01-11 13:21
375 查看
一个项目要求服务器使用windows2008操作系统和oracle数据库,于是安装完成Windows2008后,就把以往的oracle10g复制 到服务器上安装,没想到出错,弹出一个提示,上面一堆问号。后来一查才得知,Windows2008需要安装特定的oracle版本。于是到oracle 官网上下载了win32_11gR1_database.zip,可以运行在Windows2008上
下面是从oracle官上网复制来的。注:下载oracle数据库要先登录oracle网站的。
Oracle Database 11g Release 1
(11.1.0.7.0)
Microsoft Windows Server 2008 (32-bit) (1.9 GB) | See All (Including Client, Clusterware)
Microsoft Windows Server 2008 x64 (1.9 GB) | See All (Including Client, Clusterware)
(11.1.0.6.0)
Microsoft Windows (32-bit) (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Microsoft Windows (x64) (1.7 GB) | See All (Including Client, Examples, Clusterware)
Linux x86 (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Linux x86-64 (1.8 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Solaris (SPARC) (64-bit) (1.9 GB) | See All (Including Client, Examples, Gateways, Clusterware)
AIX (PPC64) Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
HP-UX Itanium Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
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/
下面是从oracle官上网复制来的。注:下载oracle数据库要先登录oracle网站的。
Oracle Database 11g Release 1
Standard Edition, Standard Edition One, and Enterprise Edition
(11.1.0.7.0)Microsoft Windows Server 2008 (32-bit) (1.9 GB) | See All (Including Client, Clusterware)
Microsoft Windows Server 2008 x64 (1.9 GB) | See All (Including Client, Clusterware)
(11.1.0.6.0)
Microsoft Windows (32-bit) (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Microsoft Windows (x64) (1.7 GB) | See All (Including Client, Examples, Clusterware)
Linux x86 (1.7 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Linux x86-64 (1.8 GB) | See All (Including Client, Examples, Gateways, Clusterware)
Solaris (SPARC) (64-bit) (1.9 GB) | See All (Including Client, Examples, Gateways, Clusterware)
AIX (PPC64) Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
HP-UX Itanium Disk 1, Disk 2 (2.3 GB) | See All (Including Client, Examples, Gateways, Clusterware)
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/
相关文章推荐
- 部署Asp.net系统时页面访问Oracle 10G数据库失败
- ASP .NET CORE MVC 部署Windows 系统上 IIS具体步骤---.Net Core 部署到 IIS位系统中的步骤
- 苹果系统里面部署ASP.NET
- 经历:asp.net oracle 部署问题以及解决方法
- 我的asp.net内容管理系统如何迁移到asp.net mvc(三)初次部署到IIS
- asp.net中MVC1/2在WINDOWS03(IIS6)/WINDOWS7或者windows2008(IIS7)中部署问题
- 2003系统部署 asp.net mvc + extjs 程序
- 剖析Asp.Net Web API路由系统---WebHost部署方式
- [原创]经历:asp.net oracle 部署问题以及解决方法
- Asp.NET+Oracle? 逐浪CMS致力打造功能强大的新一代网站内核管理系统
- 项目技术经验总结一:asp.net+oracle部署,防火墙端口开设
- VS2010+Windows 2008部署网站及asp.net业务系统问题收集
- windows xp系统的IIS系统asp.net网站部署
- Linux下部署ASP.NET服务连接oracle遇到的问题记录
- [ASP.NET教程] AliasDB:简单统一灵活的数据库访问库(支持MSSQL/MySQL/SQLite/Oracle/ODBC/OleDb)适用于中小型系统
- Asp.Net 连接Oracle数据库 出现"找到 Oracle 客户端和网络组件" 的解决方法!(在win2003 ntfs 下IIS发布只显示登陆界面 不进入系统解决办法)
- ASP .NET CORE 部署linux 系统上的所需要的sdk 使用链接
- Oracle日期时间(Date/Time)操作 博客分类: 数据库 OracleASP.netSQLASPJSP sysdate+(5/24/60/60) 在系统时间基础上延迟5秒 sysdat
- Asp.NET+Oracle? 逐浪CMS致力打造功能强大的新一代网站内核管理系统
- 部署ASP.NET访问oracle提示找不oracle客户端组件问题