Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB Connection string

Status
Not open for further replies.

draganss

Programmer
Jan 13, 2006
47
MK
Application for HP IPAQ (VB.NET 2003)

ConnString =
"server=" & SrvName & ";" & "database=" & DBName & ";" & "user ID=" & UsrName & ";" & "password=" & UsrPwd & "; Connection Timeout=20"

When I use this connection string to connect from HP IPAQ to an DataBase on Win Server 2000 (SQL 2000 Entreprise Edition) it is OK.
Same application and same database but on Win XP Pro (SQL 2000 Personal Edition) gives me an error.

What is wrong?

Thanx, Marin
 
wht error does it give???

Known is handfull, Unknown is worldfull
 
For SQL Server 2000, I use a connection string in the format:
"Provider=SQLOLEDB.1;Password="SomePass";Persist Security Info=True;User ID=sa;Initial Catalog=Northwind;Data Source=localhost"

Now, being on an Ipaq, I'm not sure how that would change. Guess it depends on the pocket PC MDAC equivalent?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top