Results 1 to 3 of 3

Thread: SQL Connection

  1. #1
    Join Date
    Jun 2003
    Posts
    17

    SQL Connection

    Hello pals, I need help in SQL Connection from ASP Page.

    Dim conn

    Set conn = Server.CreateObject("ADODB.Connection")

    conn.ConnectionString = "Provider=SQLOLEDB;"_
    & "User ID=dontknow;Password=dontknow;"_
    & "Initial Catalog=PUBS;"_
    & "Data Source=MUGUN"

    conn.Open

    The Problem is i am using Windows Authentication. So I didn't use SQL Server Authentication. How to solve this problem?

    Should I use SQL Server Authentication?
    Thank you in advanced.

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  3. #3
    Join Date
    Oct 2002
    Posts
    933
    Also keep thsi URL for all kinds of connections ->

    http://www.connectionstrings.com/


    FK

Posting Permissions

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