{"id":53238,"date":"2018-08-29T09:00:26","date_gmt":"2018-08-29T08:00:26","guid":{"rendered":"http:\/\/content.n4stack.io\/?p=53238"},"modified":"2018-08-29T17:03:41","modified_gmt":"2018-08-29T16:03:41","slug":"oracle-on-windows-dll-missing-errors","status":"publish","type":"post","link":"http:\/\/content.n4stack.io\/2018\/08\/29\/oracle-on-windows-dll-missing-errors\/","title":{"rendered":"Oracle on Windows: DLL missing errors"},"content":{"rendered":"

[et_pb_section bb_built=”1″ fullwidth=”off” specialty=”off”][et_pb_row][et_pb_column type=”4_4″][et_pb_text _builder_version=”3.12.2″ header_6_text_color=”#e02b20″ header_5_text_color=”#e02b20″]<\/p>\n

Recently I encountered a DLL issue when trying to log in to Oracle on Windows. It’s an issue i’ve not encountered before and it took a little while to figure out so I thought i’d share my solution with you below…<\/p>\n

[\/et_pb_text][et_pb_text _builder_version=”3.9″ text_font_size=”20px” text_text_color=”#e05206″]<\/p>\n

THE SCENARIO<\/p>\n

[\/et_pb_text][et_pb_text _builder_version=”3.9″]<\/p>\n

You log in, set your ORACLE_SID and ORACLE_HOME and then try to run SQLPLUS. What you get is this:<\/p>\n

\"DLL<\/p>\n

What’s going on here then? The file exists in the ORACLE_HOME as expected but yet it can’t seem to find said file.<\/p>\n

Simple solution here… your PATH variable is pointing at an incorrect ORACLE_HOME. The likely cause of this is that you are running more than one Oracle DB on the box with different homes and the PATH hasn’t been updated with the new ORACLE_HOME. This results in a binary mismatch between the ORACLE_HOME and SQLPLUS.<\/p>\n

[\/et_pb_text][et_pb_text _builder_version=”3.9″ text_font_size=”20px” text_text_color=”#e05206″]<\/p>\n

THE SOLUTION<\/p>\n

[\/et_pb_text][et_pb_text _builder_version=”3.9″]<\/p>\n

Either run SQLPLUS using the full ORACLE_HOME path like:<\/p>\n

%ORACLE_HOME%\/bin\/sqlplus<\/em><\/p>\n

Or, change the PATH and put ORACLE_HOME at the start.<\/p>\n

Hopefully you haven’t encountered this DLL missing error when working with Oracle on Windows but, if you have, I hope this helped!<\/p>\n

[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row][et_pb_column type=”4_4″][et_pb_divider _builder_version=”3.9″ background_color=”#e05206″ color=”#e05206″ height=”5px” max_width=”50%” module_alignment=”center” \/][\/et_pb_column][\/et_pb_row][et_pb_row][et_pb_column type=”4_4″][et_pb_team_member name=”Kate Gawron” position=”Database Consultant” image_url=”http:\/\/content.n4stack.io\/wp-content\/uploads\/2018\/07\/KATE-GAWRON.png” _builder_version=”3.9″ saved_tabs=”all” global_module=”53225″]<\/p>\n

Kate spends most of her time working with Oracle databases and products, but dabbles in MySQL and SQL Server when the need arises.<\/p>\n

She enjoys researching and testing new solutions to see how they could benefit our projects, often testing to destruction!<\/p>\n

To find out more about Kate click here!<\/a><\/p>\n

[\/et_pb_team_member][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"

Recently I encountered a DLL issue when trying to log in to Oracle on Windows. It’s an issue i’ve not encountered before and it took a little while to figure out so I thought i’d share my solution with you below… THE SCENARIO You log in, set your ORACLE_SID and ORACLE_HOME and then try to […]<\/p>\n","protected":false},"author":5,"featured_media":53930,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":""},"categories":[1829,343],"tags":[2814,2812,2813,2815],"yst_prominent_words":[2818,2775,1923,2774,1937,1824,2820,405,2816,2798,2772,466,2771,1646,2773,1825,2819,20,2770],"_links":{"self":[{"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/posts\/53238"}],"collection":[{"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/comments?post=53238"}],"version-history":[{"count":9,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/posts\/53238\/revisions"}],"predecessor-version":[{"id":53247,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/posts\/53238\/revisions\/53247"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/media\/53930"}],"wp:attachment":[{"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/media?parent=53238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/categories?post=53238"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/tags?post=53238"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"http:\/\/content.n4stack.io\/wp-json\/wp\/v2\/yst_prominent_words?post=53238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}