S
sergio montero
I'm testing a SOLID connection using the ODBC .Net Provider, from a
Windows Application i put two buttons, Local and Web Service.
In local i put this code:
Dim sCNX As String "dsn=WebODBC;uid=xxxx;pwd=xxxx;"
Dim oC As New OdbcConnection(sCNX)
oC.Open()
oC.Close()
This code executes without problems, from the Web Service button i
create a proxy pointing to a XML WS with only one method, the code is:
Dim sCNX As String = "dsn=tcp localhost 1313;uid=xxxx;pwd=xxxx;"
Dim oC As New OdbcConnection(sCNX)
oC.Open()
oC.Close()
But the open method generates the next error:
Microsoft.Data.Odbc.OdbcException: ERROR [IM002] Couldn't find data
source name or driver not specified.
Please, if somebody can, helpme.
T.I.A.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Windows Application i put two buttons, Local and Web Service.
In local i put this code:
Dim sCNX As String "dsn=WebODBC;uid=xxxx;pwd=xxxx;"
Dim oC As New OdbcConnection(sCNX)
oC.Open()
oC.Close()
This code executes without problems, from the Web Service button i
create a proxy pointing to a XML WS with only one method, the code is:
Dim sCNX As String = "dsn=tcp localhost 1313;uid=xxxx;pwd=xxxx;"
Dim oC As New OdbcConnection(sCNX)
oC.Open()
oC.Close()
But the open method generates the next error:
Microsoft.Data.Odbc.OdbcException: ERROR [IM002] Couldn't find data
source name or driver not specified.
Please, if somebody can, helpme.
T.I.A.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!