Hi
This syntax is working with ACCESS database
crReport.SetDatabaseLogon("bar_adm", "******")
Now I migrated the database to SQL SERVER and the syntax shoulb like
crReport.SetDatabaseLogon("bar_adm", "******", "KINGSTON", "BAR_TEST")
but I can not log in to database. here is my connection string
<add name="BARSQLConnectionString" connectionString="Data Source=KINGSTON;Initial Catalog=BAR_TEST;Persist Security Info=True;User ID=bar_adm;Password=******"
providerName="System.Data.SqlClient" />
any help appreciated.
Thanks
This syntax is working with ACCESS database
crReport.SetDatabaseLogon("bar_adm", "******")
Now I migrated the database to SQL SERVER and the syntax shoulb like
crReport.SetDatabaseLogon("bar_adm", "******", "KINGSTON", "BAR_TEST")
but I can not log in to database. here is my connection string
<add name="BARSQLConnectionString" connectionString="Data Source=KINGSTON;Initial Catalog=BAR_TEST;Persist Security Info=True;User ID=bar_adm;Password=******"
providerName="System.Data.SqlClient" />
any help appreciated.
Thanks