Naresh Babu Gopavaram

Naresh Babu Gopavaram

  • 1.5k
  • 248
  • 248.6k

Connection String Problem

Aug 22 2011 4:16 AM

Hi Every one I am trying to read connection string from Web.config file in Wcf Project
I want to get 
User ID=sa;Password=Passw0rd; Initial Catalog=DealFoundry;Data Source=naresh\\SQLSER2008R2;Persist Security Info=False;

But i am getting differently Like
data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true


Any one Help me  


Answers (3)