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 February 9th, 2005, 09:04 AM
Authorized User
 
Join Date: Feb 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to umair_rathore
Default problem connecting to my online database

hi guys!
        I'm facing some problem in connecting to my online db. otherwise its going fine on my localhost. I think there is something wrong with my .inc file coz it contains my connectivity code. Here it is:
<%
set myconn = server.CreateObject ("ADODB.connection")
myconn.open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=http://cc.domaindlx.com/umairrathore/mydb.mdb"
%>
i need to connect "mydb.mdb" database in the directory "umairrathore" at domain Name "cc.domaindlx.com"

Thanx


__________________
Don\'t express ur emotions, let the Emotions express themselves
 
Old February 9th, 2005, 01:04 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Hi,

 i don't think u can give the connection string as what u have mentioned.

Please check the following link on connectionstring:
http://www.adopenstatic.com/faq/OLEDBConnection.asp

Om Prakash





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Connecting to Microsoft Access Database eric_lim_1 Classic ASP Databases 1 September 17th, 2005 03:12 AM
Trouble connecting to an online database. toddbryan Classic ASP Databases 2 October 27th, 2004 12:04 AM
manage database online aliasp Classic ASP Databases 2 March 5th, 2004 01:20 AM
Problem with connecting to database learnasp All Other Wrox Books 1 December 18th, 2003 06:19 PM





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