For my setup, it looks like I have to restart to get the name to be recognized. The difference might be that I use a tnsnames.ora file and in the same directory I have a foonames.ora file that I reference in the tnsnames.ora file using:
IFILE = C:/path/to/network/admin/foonames.ora...