Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS Access
 Using DSN
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Toetag
Starting Member

26 Posts

Posted - 17 February 2001 :  17:45:36  Show Profile
Is there any way to change the strCONNSTRING in Config.asp to use a DSN pointing to an Access MDB file?

gor
Retired Admin

Netherlands
5511 Posts

Posted - 17 February 2001 :  18:13:19  Show Profile  Visit gor's Homepage
Sure, just use:

strConnString = "DSN=forum_dsn_name"



Pierre
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 February 2001 :  18:14:22  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Yeah, something like this (if its not password protected, remove those parts :)

strConnString = "DSN=MyDSN;UID=Admin;PWD=Test"

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 February 2001 :  18:14:58  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
D'oh! Gor ya beat me!

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 17 February 2001 :  18:29:44  Show Profile  Visit gor's Homepage
just think how an innocent...just posting for the first time...member must feel if he/she asks a question and we are racing to post the correct answer.
There must be something really wrong with us, I guess.

Pierre
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 February 2001 :  18:34:31  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
LOL

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

Toetag
Starting Member

26 Posts

Posted - 19 February 2001 :  10:52:00  Show Profile
Thanks Everyone. That worked wonderfully.

I actually meant to get back and post a disregard as I found the little search button and stopped being lazy about 10 mins after posting this.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07