Database, RDS, FTP, CFquery... OH MY!

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Database, RDS, FTP, CFquery... OH MY!

    I am new to and definitely struggling with ColdFusion MX7 (CF), Dreamweaver MX
    2004 (DW), and Access on a PC running Windows XP Home SP1. I designed what I
    thought would be a fairly simple dynamic web site for a client who sells
    autographs. Once I got the site to work locally off my PC, I searched for a
    recommended server and chose Crystaltech (CT) based on high recommendations
    fraom several CF forums. Once the client purchased space and moved his domain
    name to Crystaltech, I assumed we were in business. (I know, I know, never
    assume.)

    Unfortunately, I have been unable to get any of my site?s CF pages to work. I
    keep getting the following error:

    Unable to authenticate on RDS server using current security info!

    Then I found out that CT doesn?t allow the use of a RDS server, so I changed
    to FTP. However, in DW even if the site?s testing server is set to FTP, when
    you try to create a database connection, you keep having to:

    Specify the RDS login information for Coldfusion server.

    And since I can't do that, I can't access my database on my web pages because
    I keep being told that it can't find my data source. For example, when I try to
    access my site directly via the web, I get this error:

    Data source CombsAutographsImages could not be found.

    The error occurred in D:\INETPUB\combsautographs\Americana\Americana.cfm :
    line 1

    1 : <cfquery name="RecAmericana" datasource="CombsAutographsImages">
    2 : SELECT FirstName, LastName, Image, Thumb, Popup, PopWidth, PopHeight,
    Description, Topic, RetailPrice FROM InventoryImage
    3 : WHERE Topic = Americana

    Initially, CT has been less than helpful with my pleas for help; mostly
    they?ve told me in a sentence of two what I can?t do. So I have been ?haunting?
    various forums and other tutorial sites trying to find solutions and/or others
    in my situation. Having learned that using a RDS password invites too many
    security problems for a host server and that most hosts do not allow its use, I
    figured that I would be able to find lots of basic information on how to work
    around this with FTP? but alas, no! I have found some confusing info about
    ?connection strings,? something about DW data bindings vs CF coding,
    external/local CFIDE folders, etc. But now I?m so frustrated and confused that
    I am beyond lost! And my client?s patience is wearing out?

    So, if anyone out there knows of a web site to point me to (one that spells it
    out for a brain-dead newbie), has written a basic tutorial (again, for a
    brain-dead newbie), or cares to take pity and help me out? I would be ever so
    grateful!

    Below, is the Local Info, Remote Info, and Testing Server information that
    I?ve filled in. (Except for logins and passwords.) I?ve also included the
    Cfquery info from the top of one of the site?s pages.

    Local Info
    Site Name: CombsAutographs
    Local Root Folder: I:\Clients\Combs_Gary\_NewWeb\
    Refresh local file list automatically: checked
    Default Images Folder: I:\Clients\Combs_Gary\_NewWeb\_Working_Files\
    HTTP Address: http://
    Cache: enable

    Remote Info
    Access: FTP
    FTP Host: 209.xxx.xxx.xx
    Host Directory:
    Login:
    Password:

    Testing Server
    Server Model: ColdFusion
    Access: FTP
    FTP Host: 209.xxx.xxx.xx
    Host Directory:
    Login:
    Password:
    URL prefix: [url]http://209.xxx.xxx.xx[/url]

    Top of Web Page: CFquery

    <cfquery name="RecAmericana" datasource="CombsAutographsImages">
    SELECT FirstName, LastName, Image, Thumb, Popup, PopWidth, PopHeight,
    Description, Topic, RetailPrice FROM InventoryImage
    WHERE Topic = Americana
    ORDER BY Last ASC
    </cfquery>


    gridkid Guest

  2. Similar Questions and Discussions

    1. Creating database triggers through CFQUERY?
      Greetings fellow CF'ers. I'm trying to create a web interface into our Oracle database for some of our developers to use. I intended for them to...
    2. cfquery bug...still?
      Hi, I have ColdFusion MX7,0,0,91690. I am trying to utilize the attached code. I am passing the query (it's easier for my implementation) in a...
    3. cfquery
      I am trying to use debug in a query and it is a no go(should show at bottom of page). the query is working because I am getting recordcounts. Then...
    4. database sessions persists after and </cfquery>
      Quick question for all CF gurus. I 'm trying to alter user passwords in my db. To do this I call a stored proc that issues "Alter user" SQL. I...
    5. need help with cfquery
      This should be an easy one ... unfortunately I am a n00b to sql and CF. I am trying to display a certain column in a table, the most recent one. I...
  3. #2

    Default Re: Database, RDS, FTP, CFquery... OH MY!

    Well, where is your Access database located? Hasn't Crystaltech set up the datasource on their server?

    Phil
    paross1 Guest

  4. #3

    Default Re: Database, RDS, FTP, CFquery... OH MY!

    The Access database -- InventoryImage.mdb -- is on the site, in a folder --
    Database. And as far as I know, I've set up the Crystaltech datasource via
    their DataSource Admin page.

    And yes, I've e-mailed them another time and no, they haven't responded. At
    this point, I'm signed up on 3 forums trying to figure this thing out. But I'm
    in over my head and so confused that I don't even know my URL from my...

    Thank-you.

    gridkid Guest

  5. #4

    Default Re: Database, RDS, FTP, CFquery... OH MY!

    You have to have a datasouce set up through The CF Admin. For you it has
    to be named 'CombsAutographsImages' and it has to point to the
    InventoryImage.mdb
    that you uploaded via ftp. I don't know much about how providers do this,
    becuse I take
    care of my own servers. You said "I've set up the Crystaltech datasource via
    their
    DataSource Admin page". Do they have some utility where you can do it
    yourself? . If
    so does it have a button or something for you to test the connection? At a
    minimum
    you should have Crystaltech check if the 'CombsAutographsImages' datasource
    is
    set up and connecting.

    The good news is at least you are hitting one of your pages, or you wouldn't
    get that
    error. Your SQL is incorrect, though
    WHERE Topic = Americana
    ORDER BY Last ASC
    ahould be
    WHERE Topic = 'Americana' (needs single quotes aorond text values)
    ORDER BY LastName ASC (I don't see a field called 'Last' included)


    OldCFer 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