Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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 June 7th, 2006, 10:07 AM
Authorized User
Join Date: Jun 2006
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts
Default Connect String in ASP

I'm trying to create a connect string, but I might have a unique situtation. When connecting to Query Analyzer, I connect using RUNAS specifying domain and username. Is it possible to create a connect string given the above requirements?

Here's what I'm trying to use:

Set demoConn = Server.CreateObject("ADODB.Connection")
demoPath="DRIVER={SQL Server};" & _
"SERVER=myserver;UID=username;" & _
demoConn.open demoPath


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Does Not Exist - Connect String dalezjc BOOK: ASP.NET Website Programming Problem-Design-Solution 3 October 31st, 2006 05:13 PM
Server Does Not Exist - Connect String Problem dalezjc Classic ASP Basics 6 October 31st, 2006 01:37 PM
Beginning ASP 3.0, Chapter 12 (Connect.asp). Richard LaChance BOOK: Beginning ASP 3.0 4 July 24th, 2004 04:12 PM
Want to connect MySql using ASP santanu Classic ASP Databases 2 February 2nd, 2004 07:49 AM
ADO connect string for FoxPro db file lcsgeek Classic ASP Databases 1 September 12th, 2003 04:53 AM

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