c# - SQL Server Express login failed for user domain\name -


i created c# program connection string

server=.\sqlexpress;attachdbfilename=|datadirectory|apsdb.mdf;database=apsdb; initial catalog= apsdb; trusted_connection=true; user instance=true; 

it works using computer created with, upon using advanced installer , deploying laptop test if works on different environment, utterly fails. program runs, once accesses database, gives me error:

login failed user domain\name.

i have checked sql server error log, there no error 18456, state 38 anymore. says:

2016-08-24 17:32:03.57 spid69s starting database ‘apsdb’

2016-08-24 17:32:03.57 spid69s [info] hkhostdbctxt::initialize(): database id: [6] ‘apsdb’. xtp engine version 0.0.

2016-08-24 17:32:03.57 spid69s [info] hkhostdbctxt::initialize(): database id: [6] ‘apsdb’. xtp engine version 0.0.

2016-08-24 17:32:03.57 spid69s [info] hkhostdbctxt::initialize(): database id: [6] ‘apsdb’. xtp engine version 0.0.

upon changing account sql server express using start local system, , re-run everything, on error log says that:

login succeeded user domain\name

but alas, problem persists program.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -