sujitopics
Programmer
Hai
i am new to java.
i am trying to connect to the database using asp program.
but i cannot able to connect using dsn based connection, which is like this
con.Open "dsn= accessdsn"
but i am able to connect using dsnless connection using file path ..like this.
DSNtest="DRIVER={Microsoft Access Driver (*.mdb)};"
DSNtest=dsntest & "DBQ=c:\login.mdb"
Con.Open DSNtest
i am using windows 2000 server.
if possible please tell me what may be reason for this ?
do i need to have some other setup to connect with dsnbased connection ?
i am creating dsn using odbc32 adminstrator icon.
If possible please give some information regarding this.
Thanks in advance
Yours
Suji
i am new to java.
i am trying to connect to the database using asp program.
but i cannot able to connect using dsn based connection, which is like this
con.Open "dsn= accessdsn"
but i am able to connect using dsnless connection using file path ..like this.
DSNtest="DRIVER={Microsoft Access Driver (*.mdb)};"
DSNtest=dsntest & "DBQ=c:\login.mdb"
Con.Open DSNtest
i am using windows 2000 server.
if possible please tell me what may be reason for this ?
do i need to have some other setup to connect with dsnbased connection ?
i am creating dsn using odbc32 adminstrator icon.
If possible please give some information regarding this.
Thanks in advance
Yours
Suji