SQL Error 4060 Server rejected the connection ACCESS to SQL Server 2008

  • Have an application that needs to link to a table in SQL Server 2008 Express form ACCESS 2010 using following command:

    DoCmd.TransferDatabase acLink, "ODBC Database", "ODBC;Driver={SQL Server}; Server=salespos1\SQLExpress; Database=salesdb; Uid=sa;Pwd=kinetic", acTable, "Transaction_Table", "Transaction_Table"

    I get an "SQL Server error 4060

    Server rejected the connection: Access to the selected databse has been denied."

    I can ping the server by name and IP address, and I can get to the database using SQL Server Management Studio. Been tryng to solve this for a month. Been all over connection strins etc.

    Any help would be greatly appreciated.

    Thanks

    jpl

  • Did you really post your sa password on a public forum? If so, you need to change it now.

  • That and other things were changed to protect the innocent.

    jpl

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply