Configure tnsnames for the local oracle NET service name. oracle local NET service name configuration tnsnames. the ora file has strict format requirements. Today, a service name is manually added to the configuration file, and the service_name resolution error is reported when the client is connected. Therefore, the configuration tool provided by oracle is used, the next step did not respond. It is assumed that the configuration file was incorrectly parsed. The configuration file was restored and configured successfully using the tool provided by oracle. After analyzing the file at www.2cto.com, I found that there was an additional space when I manually added the file. It turned out that the space was at work. The explanation found on the internet is that there cannot be spaces at the beginning of some blue lines in the above Code, and spaces at the beginning of some red lines. Author: gdjbj2008