Results 1 to 3 of 3

Thread: SQL Server authentication

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2001
    Posts
    51
    If you are using windows authentication then the user the WWWserver is authenticating as on the SQL server must be also be a user in the SQL server machine. OK thats confusing.

    If logged in user on machine 1(WWW server) is Eric, then there must also be an Eric on MAchine2(SQL Server).

    If this is still OK, post the connection string that you are using so we can see if there is a problem there. (You are using ADO?)

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323

    Thank you.

    This is failing with this error:

    SQL Server does not exist or access denied.
    PHP Code:
    <%
    Set cnn Server.CreateObject("ADODB.Connection")

    ConnectString "Driver={SQL Server}; " _
                    
    "Server=MySQLServer; " _
                    
    "Database=Master; " _
                    
    "Uid=SQLUser; " _
                    
    "Pwd=SQLUser;"

    cnn.Open ConnectString
    %>
    test 
    If you think education is expensive, try ignorance.

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2001
    Posts
    51
    Ok I think if you want to connect to an SQL server using wiondows auth you may ned this is in your connection string

    ;Integrated Security=SSPI;

    In addition you can't use Windows Auth from Win95/98/ or ME. What OS is your client on?

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