{"id":122,"date":"2010-01-28T16:29:12","date_gmt":"2010-01-28T20:29:12","guid":{"rendered":"http:\/\/dbtricks.com\/?p=122"},"modified":"2010-01-28T16:30:43","modified_gmt":"2010-01-28T20:30:43","slug":"net-configuration-assistant-changes-are-not-saved-on-windows-7","status":"publish","type":"post","link":"https:\/\/dbtricks.com\/?p=122","title":{"rendered":"Net configuration assistant changes are not saved on Windows 7"},"content":{"rendered":"<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">If you are trying to use the oracle net configuration assistant in order to create tnsnames.ora entry on windows 7, you may notice that sometimes the net service name is simply not created. Even after you run through the wizard successfully you may get the famous \u201cORA-12154 \u2013 TNS could not resolve service name\u201d when you actually try to use it. Another symptom would be that when you run the net configuration assistant again, the entry you just added will not be there.<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">This issue is caused by the change in Windows 7 default permissions. Windows 7 has the &#8220;Administrator&#8221; account disabled by default right out of the box. During the Windows 7 setup, the user is prompted for a username that has administrator rights and is in the administrator group. Running the net configuration assistant as the \u201cadministrator\u201d user does not guarantee that this user has the administrator\u2019s rights. This probably prevents the Network Configuration Assistant from editing the tnsnames.ora therefore the changes are not saved.<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">\u00a0<\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">A simple solution to this issue is to <strong>run the network configuration assistant as an administrator.<\/strong><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">\u00a0<\/p>\n<ol>\n<li>\n<div class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">\u00a0Press and hold Ctrl+Shift while opening the program. Alternatively, you can navigate to the program shortcut (or the actual exe file), right click and then click on Run as administrator.<\/div>\n<\/li>\n<li>\n<div class=\"MsoNormal\" style=\"margin: 0in 0in 0pt;\">If prompted by the UAC you should click on Yes to apply permission to allow the program to run with full permission as an Administrator (You may need to provide the administrator password if you are logged in as a standard user).<\/div>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you are trying to use the oracle net configuration assistant in order to create tnsnames.ora entry on windows 7, you may notice that sometimes the net service name is simply not created. Even after you run through the wizard successfully you may get the famous \u201cORA-12154 \u2013 TNS could not resolve service name\u201d when [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[58,57,107,59],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-net-configuration-assistant","tag-ora-12154","tag-oracle","tag-windows-7"],"_links":{"self":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=122"}],"version-history":[{"count":5,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":127,"href":"https:\/\/dbtricks.com\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/127"}],"wp:attachment":[{"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtricks.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}