We help IT Professionals succeed at work.
Get Started

Classic asp to sql 2008 connection

smitty62
smitty62 asked
on
369 Views
Last Modified: 2012-05-12
I'm having a difficult time finding examples on the web that deal with classic asp to sql 2008.  Most are for .net, or don't work.  I even went to www.connectionstrings.com and didn't find anything that helped.  Please look at the following string, and let me know if you see anything incorrect.  What are my options for "Integrated Security=SSPI".  I don't want to use integrated widows security in this instance because I want to use a service account in the identity of the app pool. How can I write the connection string without "Integrated Security=SSPI" in the string?

<%
dim supplyconn
set supplyconn = Server.CreateObject("ADODB.connection")
supplyconn.Open "Provider=sqlncli10;Integrated Security = SSPI;Persist Security Info=True;Initial Catalog=SupplyDOI;Data Source=doi084tsql1;Application name=SupplyDOI"
%>
Comment
Watch Question
Senior .Net Developer
Commented:
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE