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 March 6th, 2005, 01:50 AM
Authorized User
 
Join Date: Jan 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to creative_eye
Default DB Path problem

I've a file structure something like:
Main folder is "Web". In the "WEB" folder some asp file resides.

another folder named "Admin" also reside in the "WEB" folder. My DB

resides in the DB folder that is outside of the "WEB" folder and on the

same root where "WEB" folder is.
I have a file named Connect.asp which contains the path for DB. I have

included this file in both user files (which are simply in web folder)

and in the administrator files. But when the admin tries to log-in the

file didn't read the appropriate path as it finds the DB in the WEB

folder. But it works fine when i communicate with the DB through user

files.
I have used Server.MapPath(). What should i do to correct this problem.

 
Old March 7th, 2005, 11:14 AM
Registered User
 
Join Date: Jun 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Please see this article for DSN and connecting to db:
http://www.keyvan1.com/package/faq/dsn.asp





Similar Threads
Thread Thread Starter Forum Replies Last Post
Path problem sureshp2p Apache Tomcat 1 September 4th, 2007 06:13 AM
Implementing the all-path shortest path problem bitwords XSLT 1 December 6th, 2006 11:37 AM
capture file path&name and store in a access DB paul20091968 Access VBA 1 April 5th, 2006 02:17 AM
problem with x-path expression ashyabhi_hp XSLT 3 February 1st, 2006 05:07 AM
DB Path Coding Kenny Alligood VB Databases Basics 4 October 30th, 2003 09:59 AM





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