Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default DB in remote server

    Hi,
    I created an asp page, which inserts a record into a table in Microsoft
    Access. I tried it using 2 methods:
    1) Running on my local computer -
    Created a DSN on my computer and used this to establish a connection to the DB
    which is also on my local computer. I setup the DB connection with local
    server connection. The testing server (IIS) is also local. This method worked
    fine and I was able to insert the record.

    2) Transferred the DB file and asp page to a remote server. Tried to update db
    from ASP page, but was unable to.

    Does anyone know how to go about setting up a database connection using a
    remote web server and storing the db file in the same location, so anyone can
    update the database using the asp page viewable from the internet.

    Thanks,
    Sarb

    singh83 Guest

  2. Similar Questions and Discussions

    1. Couldn't initialize from remote server, JRun server(s)probably down.
      I have followed the instructions here: http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:14/threadi... to install coldfusion on my Solaris...
    2. Couldn't initialize from remote server, JRun server(s)probably down
      In trying to resolve one error with my ColdFusion 6.1 installation I seem to have caused another. I found some instructions that said I should...
    3. deploying from Windows 2003 staging server to remote production server
      What do you guys use to deploy from your staging servers to your remote production servers in team environments? Normally I FTP the files myself,...
    4. Remote GAC Server
      Hi Fellow developers, Juz wondering if there is a remote Global Assembly Cache (GAC) Middle-Tier Server that acts just like a COM+ Server. Only...
    5. If remote sql server is not available?
      I have data on a website homepage from a remote sql server. When the remote server is unavailable, the page will fail. How can I replace the data...
  3. #2

    Default Re: DB in remote server

    > Does anyone know how to go about setting up a database connection using a
    > remote web server and storing the db file in the same location, so anyone
    can
    > update the database using the asp page viewable from the internet.
    >
    You need to either create an identical DSN on the remote server to the one
    you created on your local server (most hosts give you the ability to do this
    in your Control Panel, but if not, your server administrator would have to
    do this for you) or create a Custom Connection String to link the remote
    copy of the Access database to the remote site. There are examples of such
    connection string available here:

    [url]http://www.communitymx.com/content/article.cfm?page=2&cid=A6D0B2B03FC484DB[/url]

    While that is a pay site, the article linked is free.

    You will also have to set the permissions on the remote copy of the database
    so anyone can write to it.


    --
    Nancy Gill
    Team Macromedia Volunteer for Dreamweaver MX/UltraDev
    [url]http://www.macromedia.com/go/team/[/url]
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development


    Nancy Gill Guest

  4. #3

    Default Re: DB in remote server

    thanks for your help. MY web server does not allow me to create a DSN for some
    reason, so I've been trying to create a custom connection string for hours but
    cannot seem to do so successfully. Could you please give me an indication of
    what would be in the string if I'm using Microsoft Access Driver, the name of
    my database is bugdb.mdb and the server absolute path is
    <%=Server.MapPath("youraccountname")%>

    I'm using macromedia dreamweaver's custom connection string dialog to do this.

    Your help is much appreciated,

    Sarb.

    singh83 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