Folder App Data - 05-25-2006 , 04:19 PM
I have created a project and there is a folder called App Data. In this
folder is a database and some photos, I have added items to it and linked to
those items from the design view and it has created the connection string
This works fine on my computer but when I upload it to my website it seems
to go straight to the root drive (eg "E:/app data") of the web server.
Is there a way to stop this, and have it look in a folder that is in the
current directory rather than the root?
I have retyped it in the source code and put the full path in, instead of
just ~/, but this means it will not work in testing on my computer.
Many thanks in advance
RE: Folder App Data - 05-25-2006 , 04:56 PM
found the answer, take the ~/ bit out, so:
App_Data/database.mdb will just look at the current directory for the folder
|Thread Tools||Search this Thread|