create a sql server验证用户, normally uid is "sa" and password is "" (empty string). But it is bad, you should at least set a non-empty password

解决方案 »

  1.   

    1. Start SQL Server Enterprise Manager, 
    Open your database, 
    under Security, 
    click on Logins,
    right click on "sa" user on the right pane,
    select Properties
    Change Password2. Reconfigure your ODBC DSN
    ....
    Select With SQL Server authentication....
    Check the box next to "Connect to SQL Server
    Enter sa for the Login ID, the password you just changed.
      

  2.   

    conn.Open "Provider=SQLOLEDB;Persist Security Info=False;User ID=sa;Initial Catalog=admin;Data Source=" & Request.ServerVariables("SERVER_NAME") & ";"