Whats Wrong With Second Connection String !
From: Lovely Angel (lovely_angel_for_you_at_yahoo.com)
Date: 08/23/04
- Next message: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Previous message: Aaron [SQL Server MVP]: "Re: Shorten a long sql query"
- Next in thread: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Reply: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 23 Aug 2004 08:31:43 -0700
Dear Friends
Hope you all doing great.
I am facing a problem connecting to my database after uploading the
files to webserver. They work fine on my IIS6 server I am at home, but
they dont work online.
I am having following folder structure
rootfolder (which containcs all the website fiels)
rootfolder/dbdata (which containes the access mdb file)
rootfolder/admin (which contains admin asp files)
for the files in rootfolder I am using:
objConn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("dbdata/datafile.mdb")
for the files in rootfolder/admin I am using
objConn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("../dbdata/datafile.mdb")
These string work fine when using on my homeserver but after uploading
them on the online webserver they are not working.
Please let me know where am I going wrong. And If do I need any special
settings on the online webserver.
Waiting for your reply.
Love
Lovely
______________________________
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Previous message: Aaron [SQL Server MVP]: "Re: Shorten a long sql query"
- Next in thread: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Reply: Aaron [SQL Server MVP]: "Re: Whats Wrong With Second Connection String !"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|