Hello all,
I am trying to connect an older application in our plant to an Oracle database. I'm using Wonderware 7.0 with SQL access. SQL is new to me, and I'm having trouble connecting to the database. I am using the following code in an action tied to a pushbutton:
Result= SQLConnect(ConnectionID, "DSN=####[;uid=####[;pwd=####;SRVR=t:####)");
When I go into runtime and press the button, all I get is a connection failed error. When I look at the wonderware logger, there are two lines as follows:
Error: Connection failed DSN=####[;uid=####[;pwd=####;SRVR=t:####)
4149: (Microsoft)(ODBC Driver Manager)Data source name not found and no default driver specified.
Of course I'm substituting the ###'s for the DSN info setup in ODBC Data Sources through Control Panel. My PC is using Windows XP service pack 2, and I think the Oracle is Version 9.2.
Thanks in advance,
Mike
I am trying to connect an older application in our plant to an Oracle database. I'm using Wonderware 7.0 with SQL access. SQL is new to me, and I'm having trouble connecting to the database. I am using the following code in an action tied to a pushbutton:
Result= SQLConnect(ConnectionID, "DSN=####[;uid=####[;pwd=####;SRVR=t:####)");
When I go into runtime and press the button, all I get is a connection failed error. When I look at the wonderware logger, there are two lines as follows:
Error: Connection failed DSN=####[;uid=####[;pwd=####;SRVR=t:####)
4149: (Microsoft)(ODBC Driver Manager)Data source name not found and no default driver specified.
Of course I'm substituting the ###'s for the DSN info setup in ODBC Data Sources through Control Panel. My PC is using Windows XP service pack 2, and I think the Oracle is Version 9.2.
Thanks in advance,
Mike