Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Oh have problem in addres database

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1475
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Oh have problem in addres database
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Oh have problem in addres database - 10/14/2004 6:56:50 PM   
  djhossein

 

Posts: 2
Score: 0
Joined: 10/14/2004
From:
Status: offline
i have problem i have a datebase in asp page but i cannot connect to
my database because i cannot bring its address in my page code is :
set gg = server.CreateObject("adodb.connection")
gg.open "driver={Microsoft access driver (*.mdb)};dbq=/db.mdb"
thank !!!!
 
 
Post #: 1
 
 Re: Oh have problem in addres database - 10/18/2004 5:04:08 AM   
  fabiocerullo

 

Posts: 1
Score: 0
Joined: 10/18/2004
From: Argentina
Status: offline
Hi,
It seems that there's a problem with your code (there's an extra / in your path):

MM_marcos_STRING = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("example.mdb")

Greetings,
Fabio Cerullo

(in reply to djhossein)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Oh have problem in addres database Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts