CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2001
    Posts
    12

    Run a job with linked tabless

    I have tried to schedule a job either to run by SQL server or by "at". The job runs an executable made by vb, which automates Access and opens a mdb file. In the mdb file, there are a few tables linked to SQL server. But when it tries to run a query in the mdb file to access the linked tables, it pops the error "ODBC connection failed". The error never pops if I run it either from typing the command under DOS or by double cilcking the executable. Please help.


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Run a job with linked tabless

    The jobs probably runs under your locale system account. Check on the sql server that this user has rights to access the server.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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

Featured