Link to home
Start Free TrialLog in
Avatar of bergertime
bergertime

asked on

.net apps with AS400

I currently connect to our AS400 via the iDB2Connection, but I have to write it out, I would like to be able to connect so I can use the wizards, like I do against out SQL server.  I've tried several things,  I installed the toolkit from Client Access V5R4, I've downloaded DB2 connect and installed it on my local machine to no avail.  Can anyone tell me what I need to have installed to connect to the AS400?  My system is XP pro, Client Access V5R4, Visual Studio Pro 2005.  AS400, DB2 is not installed.  If I left something out please ask.  Thanks
ASKER CERTIFIED SOLUTION
Avatar of daveslater
daveslater
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bergertime
bergertime

ASKER

Here is the connection string I use: (pretty much the same as what egtebert posted)

Dim cn As iDB2Connection = New iDB2Connection("User =me;Password=me;Data Source=10.1.1.1;Connection Timeout = 0")
Dim cmd As iDB2Command

It all works fine if I hand code it.......but I want to use the iDB2 .NetProvider (based on ADO.net I guess) to connect so I can see my tables in server explorer in visual studio, like I can with SQL server or when I connect using ODBC to the iSeries.    Thanks for the links, sorry if I'm not real clear on this but I'm not real clear on the AS400.  
Hi
you can use iSeries navigator for that.

it is under start/programs/ibm iSeries access .....

Dave
OK, I'm installing all the options under navigator, I was always under the impression it was like Enterprise Manager for SQL Server.  Thanks for your help.