catalyst2 community forums  

Go Back   catalyst2 community forums > Support > Database Support

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 18-03-2006, 11:21 AM   #1 (permalink)
Registered User
 
Join Date: Jan 2003
Posts: 150
Access db connection?

Hi,
Can someone please verify that the code below is correct to connect to my db:

dbconn="PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=D:\domains\mydomain.com\db\pdshoppro.mdb"

I get error:
Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/shop/Default.asp, line 17

The Include file '../includes/setup.asp' cannot contain '..' to indicate the parent directory.

the ..includes/setup.asp should be fine i think hmm.
furman is offline   Reply With Quote
Old 18-03-2006, 11:41 AM   #2 (permalink)
Administrator
 
Jacob's Avatar
 
Join Date: May 2003
Posts: 1,299
Have you enabled parent paths under website settings?

If mydomain.com is actually your domain in the connection string then yes, that should be fine.
Jacob is offline   Reply With Quote
Old 20-03-2006, 12:36 PM   #3 (permalink)
Registered User
 
Join Date: Jan 2003
Posts: 150
Thanks, I didn't realise I had to do that - works fine now
furman is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.