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 October 26th, 2004, 07:23 PM
Registered User
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trouble connecting to an online database.

Hello,
I am really, really new to ASP.NET. I am cruising along in this book, I can get all the examples to work on my localhost, but as soon as I try to upload the ASPX file onto my remote server, everything goes south. Specifically I am trying to get the examples in Ch 8 to work online. I have uploaded the database onto the remote server (I talked to technical support at my host to make sure I had done this right) I have changed the "data source=" tag to point at the online DSN that I set up at my host--Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=anist001.data"--, but when I post the ASPX page and try it out online I get an error message telling me that: "Could not find file 'c:\windows\system32\inetsrv\anist001.data'." Does anyone know what I'm doing wrong? Is that my C: drive the file is refrencing? If so, how do I get the ASP.NET code to look for the database online? If it's not my c: drive is it the online server's? And if so why is it doing that?

Any help would be greatly appreciated.

Thanks,

 
Old October 26th, 2004, 08:05 PM
Registered User
 
Join Date: Dec 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The path of the Data Source might wrong.You may provide the absolute path like "c:\bin\LocalAccess.mdb" and retry.

 
Old October 27th, 2004, 12:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi toddbryan,

How about posting that on ASP.Net forum here. This is a forum that deals with threads on queries about classic ASP with databases.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble connecting MySQL to PHP nofences84 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 June 14th, 2007 11:21 PM
Trouble connecting to MySQL server (CH3) mrouse BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 October 20th, 2005 01:44 PM
problem connecting to my online database umair_rathore Classic ASP Databases 1 February 9th, 2005 01:04 PM
Trouble with connecting two table with relationshi tycoon Dreamweaver (all versions) 1 December 26th, 2003 07:21 AM





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