My Oracle Support Banner

NetCA: ServiceAliasException: Could Not Save Service Alias: TNS-04415 : File I/O Error (Doc ID 798206.1)

Last updated on MARCH 31, 2022

Applies to:

Oracle Net Services - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.
This problem can occur on any platform.


Attempting to use Net CA or Net Configuration Assistant to create or edit an existing configuration.  Upon pressing the finish button, the following error is thrown:  ServiceAliasException: Could not save Service Alias: TNS-04415: File I/O error.


It is likely that the $TNS_ADMIN variable was changed recently or the directory to which it pointed has been removed or made inaccessible.  It is likely that the Net Manager (Netmgr) tool will successfully create or edit a tnsnames.ora file in this same environment despite the NetCA failure.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.