Invalid oracle NET entry. A valid "service name" is required"

Source: Internet
Author: User

 

When NET is configured on the local machine, the following error message is displayed:

 

In this case, the configuration is not successful at all. Even if all the parameters are configured, the operation fails during saving. In Oracle10g, the NET configuration files are stored in tnsnames in the % oracle_home % \ product \ 10.2.0 \ db_1 \ NETWORK \ ADMIN directory. in the ora file, tnsnames. ora is a text file. Open it in notepad and add the NET configuration in it.

 

 

IBMMAXIMO =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP) (HOST = 10.1.5.25) (PORT = 1521 ))

)

(CONNECT_DATA =

(SERVICE_NAME = IBMMAXIMO)

)

)

 

The first line of IBMMAXIMO is the name of the network service, which is only one identifier;

 

 

The HOST parameter of Row 4 is the address of the machine where the database instance is located;

 

The SERVICE_NAME parameter of the seventh row is the database sample name, which cannot be entered at will;

 

 

 

Save the tnsnames. ora file.

 

From Nanshan Valley

Related Article

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.