1 Reply Latest reply on Apr 9, 2013 1:47 PM by 185706

    Error when connecting to Oracle from Visual Studio

    990866
      Hi all.

      I am new to .net with Oracle, not new to either one, just new to the combination.

      I am trying to follow this simple example:
      http://docs.oracle.com/cd/B28359_01/appdev.111/b28844/using_aspnt.htm

      which points to:
      http://docs.oracle.com/cd/B28359_01/appdev.111/b28844/building_odt.htm#CEGBAFAC

      In the screen "Add connection" after entering:
      Server Name, User name and Password, and clicking "Test Connection" I get the following error message:

      "ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA"

      I don't know what to do, I am just trying to make a quick test to see if I can connect to Oracle from .NET, but anything I try just get errors.

      Please help.