Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
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 January 14th, 2009, 07:15 PM
Friend of Wrox
Join Date: Jun 2008
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts


Is there a reason you do
Conn.open "Provider=sqloledb;Server=myserver;Initial Catalog=qdb;UID=Reports;PWD=;"

That is, you start off in database "qdb" and then you have to do the "use msdb" to change to the other database???

Why not just use

Conn.open "Provider=sqloledb;Server=myserver;Initial Catalog=msdb;UID=Reports;PWD=;"

Then you can omit the "use msdb" completely.


The Following User Says Thank You to Old Pedant For This Useful Post:
dalezjc (January 16th, 2009)
Old January 16th, 2009, 10:38 AM
Authorized User
Join Date: Jun 2006
Posts: 60
Thanks: 1
Thanked 0 Times in 0 Posts

Originally Posted by Old Pedant View Post

Is there a reason you do
Conn.open "Provider=sqloledb;Server=myserver;Initial Catalog=qdb;UID=Reports;PWD=;"
No, I just overlooked that piece of code. But that was the problem.

Thanks so much for all your help. I do appreciate it!


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Module not found" error, need help flyfish Access 1 April 29th, 2005 06:23 AM
" Error" Page not found shoakat Classic ASP Databases 1 November 15th, 2004 03:59 AM
package not found error nightsurfer JSP Basics 8 October 13th, 2003 10:20 PM
Page Not Found Error ztz02 Classic ASP Basics 2 June 25th, 2003 08:52 AM

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