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 23rd, 2006, 01:53 PM
Authorized User
 
Join Date: Aug 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

PROBLEM SOLVED.

The connection string that finally worked successfully for me included the direct path and filename to the SQL data file on the server. Something like this:

"Driver={SQL Server};Server=ServerNameNumber;DBQ=D:\INETPUB\Dat abases\SQL Databases\MSSQL\data\DBwebsite-Data.MDF;UID=UserName;PWD=password;"

I really appreciated the responses to my problem report posting here on p2p. I learned a lot in analyzing the issue and investigating potential resolutions. Interestingly enough, the suggestion for inserting the drive, direct path, and the file name to the database data file on the web server came from "Database Connections for ASP Developers" in "Using Dreamweaver MX" help documentation within DW program. Go figure!

Thanks to everyone for their suggestions,

buddyz
 
Old August 23rd, 2006, 07:08 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hmm thats weird, i have never linked directly to an MDF file, glad you got it working though.

"The one language all programmers understand is profanity."
 
Old August 24th, 2006, 07:53 AM
Authorized User
 
Join Date: Aug 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe because the way our systems are set up is so that Programs (executable files & etc.) are on C: and the data files are on D: drive. My guess is that SQL was looking for data file on the same drive and perhaps in the same location as the program files. Just a guess. . .?
 
Old August 24th, 2006, 08:29 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I don't think so. My SQL Server is setup on C and I have my data files stored on a secondary disk and I have never had any problems; very strange.

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
Connections in a Sql Server project mlw C# 2 September 15th, 2008 09:32 AM
Access-SQL Server Connections Romashka Access 3 May 25th, 2007 06:26 AM
Server to Server XML Problem (ASP.NET to ASP) Enwood XML 7 April 26th, 2006 03:22 AM
problem 2 connecting SQL Server 200 using ASP.NET nagen111 ADO.NET 5 February 16th, 2005 01:26 AM





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