problem with sqlconnect


I need some help on the following problem. I am using VB on VS 2005 and using SQL 2005 Express. When I create a windows app and run it on a desktop the following code works. But when I create a Win CE app and run it on a PDA I get "server doesnt exist..."

dim osqlconn as data.sqlclient.sqlconnection = new data.sqlclient.sqlconnection()
osqlconn.connectionstring = "data source=66.69.4.21\sqlexpress;initial catalog=scanit;user id=sa; password=12345;"
osqlconn.open()

Thanks,
Nelson


Answer this question

problem with sqlconnect

  • John12312

    See this on how to configure SQL Express for device connections and for correct connection string.



  • problem with sqlconnect