Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Under user mapping can you check the box beside the chronos database in the top box and check the db_datareader and db_datawriter (or the db_owner) in the bottom one, reboot and see what happens?



    Cheers,
    Vlad

  2. #17
    JamesSF is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    11
    made that change - rebooted server

    still getting this error

    5 [Microsoft][SQL Server Native Client 11.0][SQL Server]Changed database context to 'chronos'.

    Code:
             Dim CN As ADODB.Connection
             Set CN = CreateObject("ADODB.Connection")
    
            CN.Open "Driver={SQL Server Native Client 11.0};server=sql.transcom-solutions.com;Database=chronos;User ID=chronos_system;Password=[QWpK:$z3}7l@6x;Trusted_Connection=yes"
    or any of the other connection strings referenced above

  3. #18
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Are you logged on in Windows as chronos_system? If when using Trusted Connection= Yes you do not specify the user and password. Can you try to link a table from chronos using the built in Access external data wizard and after you have it linked open the msysObjects (you might need to turn visible the system objects in File/Options/Current Database/Navigation Options) and have a look at its connect(ion) string and try to replicate that in your code.

    Cheers,
    Vlad

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. ADODB.recordset Not Defined Error
    By jdashm in forum Reports
    Replies: 1
    Last Post: 12-18-2018, 11:48 AM
  2. Replies: 3
    Last Post: 05-01-2018, 12:16 PM
  3. Replies: 0
    Last Post: 02-13-2015, 02:24 PM
  4. Error Handling with ADODB Recordset Object
    By Aaron5714 in forum Programming
    Replies: 3
    Last Post: 12-27-2012, 04:02 PM
  5. Replies: 1
    Last Post: 04-30-2012, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums