To use the system data source to configure IIS + InterDev + ASP

Source: Internet
Author: User

I. Server Side
1. Modify ORACLE_HOME/network/ADMIN/tnsnames. ora and add a TNS, for example:
TgpmsTNS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.15.248) (PORT = 1521 ))
)
(CONNECT_DATA =
(SERVICE_NAME = ycdb)
)
)
2. Set the system data source (DSN) in the ODBC console in the control panel. For example:
Data Source Name: tgpmsdb (any name)
User name: xuy_3g
Server: tgpmstns (TNS set in step 1)

Ii. Client
1. Configure TNS as the server: tgpmstns
2. Configure DSN as per the server: tgpmsdb

3. Set InterDev on the client
1. Open InterDev, create a new project, and select the server address as 192.168.16.41: 9999.
2. Select an existing project, for example, cyweb
3. Right-click global. Asa, select add data connect, and select the machine data source. You can find the DSN connection string in global. Asa. Its content is:
DSN = tgpmstns
User ID = xuy_3g
Password = 8888
Uid = xuy_3g
Server = tgpmstns

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.