Results 1 to 5 of 5

Thread: login failed to database [B][Resolved][B]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    login failed to database [B][Resolved][B]

    Resolved
    Dim oSQLConn As SqlConnection = New SqlConnection
    oSQLConn.ConnectionString = "Data Source=(local);" & _
    "Initial Catalog=Con_Test;" & _
    "Integrated Security=SSPI"
    oSQLConn.Open()

    this doesnt work as i get an error,

    login failed for user 'computername'
    Line 33: "Initial Catalog=Con_Test;" & _
    Line 34: "Integrated Security=SSPI"
    Line 35: oSQLConn.Open()
    Line 36:
    Line 37:

    anybody any ideas of connecting to a databse for asp.net
    i really want to get connected but cant
    Last edited by d2005; Aug 29th, 2005 at 12:26 PM.

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