简体   繁体   English

如何从IIS上发布的Web服务连接到Oracle数据库

[英]How to connect to a Oracle Database from Web Services Published on IIS

The situation is this: 情况是这样的:
1. Oracle database 10g on one server. 1.一台服务器上的Oracle数据库10g。 Configured to accept connections. 配置为接受连接。
2. Web service on different server (IIS), connecting to the database. 2.位于不同服务器(IIS)上的Web服务,连接到数据库。 This doesn't work. 这行不通。
3. Same web services running on the VS 2005 web server, work without a problem and can connect to the database. 3.在VS 2005 Web服务器上运行的相同Web服务可以正常工作,并且可以连接到数据库。

The problem: Do not know what is the issue with web services published on IIS in respect to connect to Oracle 10g when the same services, running on VS 2005 web server work without the problem. 问题:当在VS 2005 Web服务器上运行的相同服务正常工作时,不知道在IIS上发布的与连接Oracle 10g有关的Web服务有什么问题。

Error returned: Oracleclient connection timedout. 返回错误:Oracleclient连接超时。

So the database is on machine A and the web server that cannot connect is on machine B. 因此,数据库在机器A上,而无法连接的Web服务器在机器B上。

Where is the web server that can connect? 可连接的Web服务器在哪里? If it is not on machine B, then what are the differences in network location/configuration between these two machines? 如果它不在机器B上,那么这两台机器之间的网络位置/配置有什么区别?

On machine B, can you telnet to the Oracle server on Oracle's listener port? 在计算机B上,您可以通过Oracle的侦听器端口远程登录到Oracle服务器吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM