dcsimg

File DSN's Page 2

By ServerWatch Staff (Send Email)
Posted Jan 24, 1999


Steps to create a file DSN source.(This example will connects to an Access Database)

Open up a text editor and create a file named WEB.DSN
Type in the following:
[ODBC]
DRIVER=Microsoft Access Driver (*.mdb)
UID=admin
UserCommitSync=Yes
Threads=3
SafeTransactions=0
ReadOnly=0
PageTimeout=5
MaxScanRows=8
MaxBufferSize=512
ImplicitCommitSync=Yes
FIL=MS Access
DriverId=25

Save this file in the root directory of your web application. Notice that I dont give the default drive and DBQ within the actual file DSN, this is so that I can reuse the DSN for every Access DB which  I need a connection to.

Page 2 of 3


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.


 

 


Thanks for your registration, follow us on our social networks to keep up-to-date