This is a discussion on "Uploading Access Database and ASP Pages" within the Classic ASP section. This forum, and the thread "Uploading Access Database and ASP Pages are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Uploading Access Database and ASP Pages
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Uploading Access Database and ASP Pages
Hi,
I'm hoping someone can help me edit my connections to asp pages to connect to my database so that it will work when it's uploaded. At the moment it all works fine on my local server but as I'm new to all of this, I've no idea how to link my uploaded database to my uploaded asp files using the dsn on my webhost (they don't provide scripting advice and I've tried a few changes but can't find anything that will work!) I'm also starting to froth at the mouth...! I've jotted down a few of the codes that are currently contained in my webpages which I believe might be the ones that need editing to make it all work online: My current connection is called remotebook.asp and contains the code
My web asp pages contain the code:
and finally :razz: my uploaded database is located at d:\users\accoladebouk\public_html\Database\booklis t.mdb I've tried so many different combinations of code - the ones that have been suggested to me usually end up with an error message not liking the ../../Connections/remotebook.asp - but if I take out the ../../it says it cannot find "Connections/remotebook.asp. I've also noticed that this seems to upset the recordset behaviour and throws back an error message to do with the MM-String business!! Please can somebody help me to sort out this publishing problem - I just tried and had to set up my connections all over again!! AGGGGGGHHHHHHHHHHHHHHHHHHHHHHHH!!! Many thanks! |
|
|
|
#2
|
|||
|
|||
|
|
#3
|
||||
|
||||
|
the above connection string should work!
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#4
|
|||
|
|||
|
Cheers guys - once I'd applied the code and changed the <!--#include file code to a virtual one without the ../../ the code you suggested works! Brilliant - I think you're superheros!!
|
|
#5
|
||||
|
||||
|
after a while of being a member of this forum, you start to release that the guys here are superheros in their own little ways!
|
![]() |
| Tags |
| uploading, access, database, asp, pages |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using access database ? | saadi babar | Classic ASP | 13 | Mar 19th, 2008 09:45 |
| Access Database | benjamjon | Databases | 1 | Mar 8th, 2007 20:19 |
| uploading multiple files path in the database | franknu | PHP Forum | 4 | Jan 23rd, 2007 15:37 |
| Access database on the Web | redkyna | Databases | 7 | Aug 2nd, 2004 20:25 |
| Uploading documents using asp and access | therese | Classic ASP | 5 | May 25th, 2004 05:02 |