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 April 26th, 2010, 09:40 AM
Registered User
 
Join Date: Apr 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection String with sql db

I received the following error when I open asp file

Error Type:
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
/asbuilt/trip.asp, line 131

connection string is following.

set cn=server.CreateObject("adodb.connection")
cn.ConnectionString="Provider=SQLOLEDB.1;Integrate d Security=SSPI;Persist Security Info=False;Initial Catalog=dcil;Data Source=Auhtripdc"
cn.Open

our sql server location changed, new connection string can be generate
by odbc (data source) ?

Regards
Martin





Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql OLE DB Connection String oranginalab Classic ASP Databases 9 September 4th, 2016 08:40 AM
SQL connection string naeem.net SQL Server ASP 0 July 10th, 2007 02:17 PM
db connection string Alexi ASP.NET 2.0 Basics 1 October 5th, 2006 05:25 AM
Building a connection to a SQL db hitenb C# 1 October 18th, 2005 12:31 PM
connection string for sql server rj1406 ASP.NET 1.0 and 1.1 Basics 6 September 16th, 2004 02:49 PM





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