c# - How to set connection string database TDE with certificate provide -


i have local database certificate protect security of database. try using normal connection string connect, failed due database had set on security. how connect database c# if in application provide certificate , password well? our connection string now.

global.connstring = string.format(@"server=(localdb)\v11.0;attachdbfilename={0}\testtde\{1};integrated security=sspi;multipleactiveresultsets=true;packet size=4096", environment.getfolderpath(environment.specialfolder.mydocuments), "tdetesting.mdf"); 

you can set username="username use connect database" password="its password" inside connection string. try removing integrated security


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -