Click here to Skip to main content
15,902,939 members
Home / Discussions / Database
   

Database

 
GeneralUnable to Connect to AS400 Pin
wchscott27-Jun-05 5:37
wchscott27-Jun-05 5:37 
I am trying to connect to a database on an AS400 via ODBC and getting some issues with the connection string. I have searched and not found anything that will help.

My connection string is

Private Const RSEL_CONNECTION = "Driver={Client Access ODBC Driver (32- bit)};System=XXX; DBQ=LTL400TNT3;Uid=XXX;Pwd=XXX;"


My calling code is
Dim conn As OdbcConnection
conn = New OdbcConnection(RSEL_Connection)

My error
Message "Format of the initialization string does not conform to specification starting at index 0." String


Any help would be much appreciated. Also, i need to do this via ODBC or OLEDB. I know this is slower, but I cannot use the beta managed database connectors available.




Thanks,
Scott
QuestionSimplest query to get last 10 records? Pin
Rahul.P.Menon26-Jun-05 21:03
sussRahul.P.Menon26-Jun-05 21:03 
AnswerRe: Simplest query to get last 10 records? Pin
Colin Angus Mackay26-Jun-05 21:37
Colin Angus Mackay26-Jun-05 21:37 
GeneralRe: Simplest query to get last 10 records? Pin
Rahul.P.Menon26-Jun-05 21:47
sussRahul.P.Menon26-Jun-05 21:47 
GeneralReporting Service DataSet Pin
Amal ElHosseiny26-Jun-05 20:35
Amal ElHosseiny26-Jun-05 20:35 
GeneralCheck to see if a Table exists Pin
Wilye26-Jun-05 10:14
Wilye26-Jun-05 10:14 
GeneralRe: Check to see if a Table exists Pin
Colin Angus Mackay26-Jun-05 11:54
Colin Angus Mackay26-Jun-05 11:54 
GeneralRe: Check to see if a Table exists Pin
toxcct27-Jun-05 6:17
toxcct27-Jun-05 6:17 
GeneralRe: Check to see if a Table exists Pin
Bruzak27-Jun-05 19:55
Bruzak27-Jun-05 19:55 
GeneralRe: Check to see if a Table exists Pin
Wilye28-Jun-05 2:55
Wilye28-Jun-05 2:55 
GeneralOLEDB COMMANDS Pin
02088326-Jun-05 9:42
02088326-Jun-05 9:42 
GeneralGet ID Problem Pin
WDI26-Jun-05 7:35
WDI26-Jun-05 7:35 
GeneralRe: Get ID Problem Pin
Colin Angus Mackay26-Jun-05 12:02
Colin Angus Mackay26-Jun-05 12:02 
Generalserver registration problem Pin
Anonymous26-Jun-05 2:50
Anonymous26-Jun-05 2:50 
GeneralRe: server registration problem Pin
Anonymous26-Jun-05 9:33
Anonymous26-Jun-05 9:33 
GeneralInsert problem Pin
Blue_Skye25-Jun-05 17:08
Blue_Skye25-Jun-05 17:08 
GeneralRe: Insert problem Pin
Luis Alonso Ramos25-Jun-05 17:20
Luis Alonso Ramos25-Jun-05 17:20 
GeneralRe: Insert problem Pin
Blue_Skye26-Jun-05 1:44
Blue_Skye26-Jun-05 1:44 
GeneralRe: Insert problem Pin
Luis Alonso Ramos26-Jun-05 5:31
Luis Alonso Ramos26-Jun-05 5:31 
GeneralRe: Insert problem Pin
toxcct26-Jun-05 7:33
toxcct26-Jun-05 7:33 
GeneralRe: Insert problem Pin
Luis Alonso Ramos26-Jun-05 9:12
Luis Alonso Ramos26-Jun-05 9:12 
GeneralRe: Insert problem Pin
Blue_Skye26-Jun-05 20:13
Blue_Skye26-Jun-05 20:13 
GeneralRe: Insert problem Pin
Luis Alonso Ramos27-Jun-05 5:15
Luis Alonso Ramos27-Jun-05 5:15 
GeneralRe: Insert problem Pin
Blue_Skye26-Jun-05 7:40
Blue_Skye26-Jun-05 7:40 
GeneralRe: Insert problem Pin
Luis Alonso Ramos26-Jun-05 9:13
Luis Alonso Ramos26-Jun-05 9:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.