Microsoft
Software
Hardware
Network
Question : Connection String for MS Access database outsiide wwwroot
I am writing in asp with MS Access. Need to move to a new server.
In my old server, database files are stored within wwwroot, so the following connection string works:
Set Conn = Server.CreateObject("ADODB
.Connectio
n")
Conn.Open "PROVIDER=MICROSOFT.JET.OL
EDB.4.0;DA
TA SOURCE=" & Server.MapPath("_data/File
s.mdb")
In the new server, I need to store database outside wwwroot. Any suggestion how to modify the connection string?
Many thanks,
Answer : Connection String for MS Access database outsiide wwwroot
You have to hard-code the reference to the MDB file in your connection string, e.g. H:\databases\myDB.mdb (you can't use server.mappath)
The server admin will have to set up a drive mapping and set permissions.
Random Solutions
Access TRIM Field Name
I have downloaded the zip of windows 7 for 30 days evaluation version. but now i'm trying to write it to a DVD to make it to boot windows 7 to install in my laptop. i copied the files using nero 8.
Outlook 2007 Browser Link
Put Two Case conditions in same select statement - SQL Server 2005
Informix ODBC 64 bit drivers for Win 2003 server
mobile outlook
How to restore a database?
Colors in Excel are randomly changing
Page Breaks in Group Section not working when inside a subreport.
NetBIOS name resolution failing