Results 1 to 2 of 2

Thread: sql connection string problem

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2005
    Posts
    56

    sql connection string problem

    Hi,
    I need to connect the sql database with the wifi,
    and it work on the vb.net windows program, but there is error on pocket pc..

    the connection string:

    Private objconn As SqlConnection
    objconn = New SqlConnection
    objconn.ConnectionString = "Data Source=192.168.1.250,1433;Network Library=DBMSSOCN;Initial Catalog=db;User ID=simon;Password=123;"

    objconn.Open()


    but when using the emulator running which can connect the internet. and show the mssage :

    An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll

    Additional information: Unknown connection option in connection string: network library.



    sorry my english not well...hope help!!
    Last edited by simoms; Mar 19th, 2006 at 08:28 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width