navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

dsn-less connection and DRW

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> dsn-less connection and DRW
Page: [1]
 
Luis

 

Posts: 14
From: Buenos Aires, Argentina
Status: offline

 
dsn-less connection and DRW - 2/28/2001 21:31:00   
There's a free server ( www.DOMAINDLX.com ), which allows uploading via FTP.
The instructions are as follows:
"The 'database' and 'scripts' subdirectories have write/read permissions. Therefore, you have to upload your database to the 'database' subdirectory and upload your scripts that require write permissions to your 'scripts' subdirectory."

They also say that I must create a "DSN-LESS" connection with this code:
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER=Microsoft Access Driver
(*.mdb);DBQ=" &
Server.MapPath("/USERNAME/database/yourdatabase.mdb")

Global asa is not supported.

My question is: Where should I paste this code? (where exactly)

------------------
Luis Miguel Gonzalez
Buenos Aires, Argentina
luismg@gmx.net

Stuey

 

Posts: 203
From: Dudley West Midlands, United Kingdom
Status: offline

 
RE: dsn-less connection and DRW - 3/1/2001 20:03:00   
Spooky is probably your best bet for this.

However you need to create an ASP Page and put it where ever you need to create a database connection and close it when you have finished

Stuart(Also on a steep learning curve)

------------------
Stuart Steele
StuWeb Productions 07808254916
http://www.stuweb.co.uk


(in reply to Luis)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> dsn-less connection and DRW
Page: [1]
Jump to: 1





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