Troble with ASP -> Access -> Sage

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Troble with ASP -> Access -> Sage

    My mission is to get some data out of a sage application, via a very
    complicated query, into a csv file.

    My approach, so far, has been

    1) link access tables to the sage application
    2) build some sub queries
    3) build a big query that brings together all the little queries.
    4) dump the data generated by the big query into a csv file.

    Hoorah! victory. The above steps all work just fine and the data in
    the csv file is as it should be.

    The problem is that the whole thing is based on a customer's site and
    I need to get that data onto a different server on a regular basis.
    So I'm going to have to find a way to automatically generate that CSV
    file.

    My approach was to write an ASP page that would read the data from the
    big query write it to the CSV file. Now that ASP code works just fine
    on an Access database that is not linked to Sage. Unfortunately, when
    trying to read the linked query the sage driver throws an error.

    (Now I'm back in the office, I can't remember what the precise error
    was; it was lots of letter and numbers, though!)

    Other info: we're running active directory and the only way I could
    find to connect to the asp page was to connect using the IP address.
    I also did some rooting around on the internet and the only thing that
    I found suggested that there was a password syncronisation problem
    between the access driver and the sage driver, but didn't offer any
    clues as to how to resolve it. I tried setting the passwords to be
    the same on both, but still no dice.

    So thats the story, now the questions:

    1) Any idea whats going on with the ASP -> Access -> Sage thing?
    2) If its not an appropriate question for this group, where would I
    be best to post it?
    3) Is there an alternative way to automatically generate csv files,
    with no user input? (could I do it from the command line talking
    directly to access?)

    thanks for any help you can offer - I'm stumped.

    Phil.
    Phil Guest

  2. Similar Questions and Discussions

    1. FMS localhost troble
      this is driving me crazy... just install the FMS, when i test my movies from flash everything works fine, but when I try to test them on the browser...
    2. Access 2002 PDFWriter VBA Code w/WinXP does not work like Access 2000
      I am trying to print an Access 2002 report (Windows XP OS) as a PDF. I had success with Access 2000 in a Windows 2000 environment, but as soon as I...
    3. Access Violation when using Visual Interdev to access Oracle
      I am running Windows 200 Pro, IIS 5.0 and trying to connect to an Oracle 8.1 database. Prior to applying a security patch to W2k, the ASP...
    4. Access denied when creating Access application object
      In an ASP file I am running the following in VBScript in order to extract data from an Access 2002 MDB file which is physically located in the...
    5. sys.troble
      i m having troble with system .exe window can t locate compatable w 32\kwbot.gen
  3. #2

    Default Re: Troble with ASP -> Access -> Sage

    On 1 Mar 2004 03:01:21 -0800, [email]phil@ideastakingshape.co.uk[/email] (Phil)
    wrote:
    >My mission is to get some data out of a sage application, via a very
    >complicated query, into a csv file.
    >
    >My approach, so far, has been
    >
    >1) link access tables to the sage application
    >2) build some sub queries
    >3) build a big query that brings together all the little queries.
    >4) dump the data generated by the big query into a csv file.
    >
    >Hoorah! victory. The above steps all work just fine and the data in
    >the csv file is as it should be.
    >
    >The problem is that the whole thing is based on a customer's site and
    >I need to get that data onto a different server on a regular basis.
    >So I'm going to have to find a way to automatically generate that CSV
    >file.
    It's an Access query. Turn it into a module, run that module from the
    schedular service.
    >My approach was to write an ASP page that would read the data from the
    >big query write it to the CSV file. Now that ASP code works just fine
    >on an Access database that is not linked to Sage. Unfortunately, when
    >trying to read the linked query the sage driver throws an error.
    >
    >(Now I'm back in the office, I can't remember what the precise error
    >was; it was lots of letter and numbers, though!)
    Then it isn't a lot if help is it? Next time, write down the error or
    email yourself a Print Screen.
    >Other info: we're running active directory and the only way I could
    >find to connect to the asp page was to connect using the IP address.
    >I also did some rooting around on the internet and the only thing that
    >I found suggested that there was a password syncronisation problem
    >between the access driver and the sage driver, but didn't offer any
    >clues as to how to resolve it. I tried setting the passwords to be
    >the same on both, but still no dice.
    >
    >So thats the story, now the questions:
    >
    >1) Any idea whats going on with the ASP -> Access -> Sage thing?
    Yup. It isn't working. It gets an error of some kind.
    >2) If its not an appropriate question for this group, where would I
    >be best to post it?
    If it's an ASP error, it would be appropriate here. An Access group
    could help with other Access related questions.
    >3) Is there an alternative way to automatically generate csv files,
    >with no user input? (could I do it from the command line talking
    >directly to access?)
    Yes. See an Access group.
    >thanks for any help you can offer - I'm stumped.
    Can't offer anything else. No details give to work on, sorry.

    Jeff
    Jeff Cochran Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139