This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi everyone, Through the Global.asax I have been trying to setup a connection to my local MS SQL express database with below code. ConnectionString = "server=MADKA\SQLEXPRESS; database=Northwind; Integrated Security=SSPI;", |
|
|
btw also below does not work: |
|
|
You don't say what error you're seeing so this is a little hard to diagnose. If you are using C#, then remember you must escape the backslash (double backslash, as in "Data Source=MADKA\\SQLEXPRESS...") or use a literal string (prefix with @ before the opening double-quote, as in @"Data Source=MADKA\SQLEXPRESS..."). If that's not it, could you post the compiler error or exception trace please? Thanks! |
|