Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2009, 04:47 AM
Authorized User
 
Join Date: Mar 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default connection problem with various directory level

hi
i have a connection problem with various directory level.
the parent path option is enabled on my server. and i have my database in the db folder
which is outside the wwwroot.
now i have files in directory levels like below.

db/db.mdb
wwwroot/include/connection.asp
wwwroot/default.asp
wwwroot/news/default.asp
wwwroot/news/pressRelease/default.asp

in the connection string i am specifing dp path as ../../db/db.mdb

this works in all asp files which are in the same level of connection.asp
but i need to include connection.asp in news/pressrelease/default.asp

how can this be impemented. also how can i put the connection file in
the db folder itself and include it in all subfolder files in the root?

please help

neon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with directory info joseph20 .NET Framework 2.0 2 July 24th, 2008 08:27 AM
Shared Data source Vs connection on report level mverma4you Reporting Services 0 June 6th, 2007 01:47 AM
Active Directory connection to SharePoint site anandhienator SharePoint Development 0 February 20th, 2007 07:06 AM
Active Directory connection naidukap Classic ASP Databases 0 November 25th, 2005 07:01 AM
Problem creating user-level security JackNimble Access 2 October 11th, 2004 11:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.