OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
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.

Follow Us
On Facebook
On Twitter
RSS
Via Email

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

 

Global ASA

 
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, PHP, and Database >> Global ASA
Page: [1]
 
 
helensnow

 

Posts: 232
Joined: 12/18/2003
Status: offline

 
Global ASA - 3/9/2009 18:00:18   
HELP PLEASE

Tried several solutions, below is part of the Global.ASA file

I need to re-point the Database access to a new Hard Disk location

Currently it is

Application("Database1_ConnectionString") = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=fpdb/database1.mdb"



I want to move and point the database to this location

g:\database1.mdb



I tried the FILE keyword, but I think I got the syntax incorrect, can someone point me in the correct direction

I am actually on a dedicated server, so I can specify a hard disk location, I do not want to specify a URL as such


Many Thanks
Helen Snow

Below is the initial portion of the Global.ASA file so you can see the context




<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
	'==FrontPage Generated - startspan==
	Dim FrontPage_UrlVars(1)
	'--Project Data Connection
		Application("Database1_ConnectionString") = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=fpdb/database1.mdb"
		FrontPage_UrlVars(0) = "Database1_ConnectionString"
		Application("Database1_ConnectionTimeout") = 35
		Application("Database1_CommandTimeout") = 50
		Application("Database1_CursorLocation") = 3
		Application("Database1_RuntimeUserName") = ""
		Application("Database1_RuntimePassword") = ""
	'--
	Application("FrontPage_UrlVars") = FrontPage_UrlVars
	'==FrontPage Generated - endspan==
End Sub
Sub Session_OnStart
	FrontPage_StartSession '==FrontPage Generated==
	FrontPage_ConvertFromODBC '==FrontPage Generated==
End Sub


< Message edited by helensnow -- 3/12/2009 11:40:48 >


_____________________________

Love is all, and all that we are is love
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Global ASA
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