title: TNS-01153 : Failed to Process the String
body: <p>I have installed Oracle 11g in windows 7 , I am connecting Oracle but getting error
  TNS-01153 : Failed to Process the String ...</p>
  
  <p>This is my <code>TNSNAMES.ORA</code>:</p>
  
  <pre><code>work_prod =
    (DESCRIPTION =
      (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1521))
      )
      (CONNECT_DATA =(SID =workprod))
    ) 
  </code></pre>
  
  <p>And my <code>LISTENER.ORA</code>:</p>
  
  <pre><code>LISTENER =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY =workprod))
      (ADDRESS = (PROTOCOL = TCP)(HOST =localhost(PORT = 1521))
    )
  
  SID_LIST_LISTENER =
    (SID_LIST =
      (SID_DESC =
        (SID_NAME = workprod)
        (ORACLE_HOME = C:\MY_DISK\G\Oracle_database\product\11.2.0\dbhome_1)
        (PROGRAM = extproc)
      )
      (SID_DESC =
        (SID_NAME = workprod)
        (ORACLE_HOME = C:\MY_DISK\G\Oracle_database\product\11.2.0\dbhome_1)
        (PROGRAM = extproc)
      )
    )
  
  DEFAULT_SERVICE_LISTENER = (XE)
  </code></pre>