I have inherited a number of reports that require the user to enter SA and the SQL Server admin password in order to run the report. How do I stop this from happening? Do I need to change the reports, SQL Server or both?
Learn what connectivity is being used, and then change the default user to another SQL Server login or use Windows security.
Check under Database->Set Location.
If it's using ODBC, you can change the ODBC settings to use Windows Authentication which just passes the user login on to the database, or use another SQL Server defined user.
Databases require a login, so you'll have to change the login to some other user, or use a trusted connection (Windows authentication).
Just to say a sincere thanks for that as at the moment I had to run all the reports due to the sensitivity of the sa account. This advice will allow users here to run the reports on a more frequent basis.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.