By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

connection string in asp

P: 5
hi
I am new to asp development - and I' not sure what is wrong with my connection string - when i run the application it just hangs on this statement.=

My connection string is defined in another page as :

Expand|Select|Wrap|Line Numbers
  1. connectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;'Persist Security Info=False;Initial Catalog=SupportDB;Data Source=ADMIN-PC\SQLEXPRESS"

and code to open the database is :

Expand|Select|Wrap|Line Numbers
  1. SET DbObj = Server.CreateObject ("ADODB.Connection")
  2. DbObj.Open connectionString


the database is windows authentication

not sure what is happening - i have response.write before the connection and that statement is executed Ok

Any help will be much appreciated ...
many thanks
Oct 20 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.