Advertisement

04.25.2006 at 01:58PM PDT, ID: 21827238
[x]
Attachment Details

SQL 2005 Connection String - ASP

Asked by victornegri in Databases Miscellaneous

Tags: sql, connection, 2005, string, asp

I have a classic asp web page that works perfectly with SQL 2000. It does not, however, work with SQL 2005. What do I need to do on the server to get this to work? I've already enabled TCP/IP from within the Surface Area Configuration Tool. This is my connection string:

<%
      Dim oConnection
      Set oConnection = Server.CreateObject("ADODB.Connection")
      oConnection.Open "provider=sqloledb;server=127.0.0.1;uid=username;pwd=P@ssw0rd;database=dbname;"
%>

Help! :)Start Free Trial
[+][-]04.25.2006 at 03:50PM PDT, ID: 16539487

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Databases Miscellaneous
Tags: sql, connection, 2005, string, asp
Sign Up Now!
Solution Provided By: Arthur_Wood
Participating Experts: 3
Solution Grade: B
 
 
[+][-]04.25.2006 at 03:51PM PDT, ID: 16539497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.25.2006 at 08:42PM PDT, ID: 16540867

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.25.2006 at 09:15PM PDT, ID: 16540984

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.25.2006 at 11:26PM PDT, ID: 16541413

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.26.2006 at 04:21AM PDT, ID: 16542520

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32