I am trying to get data from SQL database but it has not connected, error is below mentioned
—————————— Khurram Muhammad Data Analyst Karachi ——————————
Lutz Bendlin
Member
June 2, 2020 at 8:22 PM
maybe your database requires basic (SQL user) login while you are trying to use your domain login?
—————————— Lutz —————————— ——————————————-
Christopher Majka
Member
June 3, 2020 at 8:04 AM
Hi Khurram –Ā
I would recommend messaging the SQL server DBA or admin to find out what kind of authentication you need…it could be Windows Authentication, SQL Server login, or even Azure Active Directory.
Thanks
Chris
—————————— Christopher Majka Manager, Business Intelligence 4018682000 —————————— ——————————————-
Pulendar vadde
Member
June 3, 2020 at 12:47 PM
Check below options if you can, else reachout DBA admin and ask DBA to test the connectivity using WidowsAD/Basic etc. Sometimes issue could be with ports(use telnet to test it) also. Verify that the domain to which you log on can communicate with the domain to which the computer that is running SQL Server belongs. There must also be correct name resolution in the domain.
You must make sure that you can successfully log on to Windows by using the same domain account and password as the startup account of the SQL Server service. For example, the SSPI error may occur in one of the following situations:
The domain account is locked out.
The password of the account was changed. However, you never restart the SQL Server service after the password was changed.
If your logon domain differs from the domain of the computer that is running SQL Server, check the trust relationship between the domains.
Check whether the domain that the server belongs to and the domain account that you use to connect are in the same forest. This is required for SSPI to work.
Use theĀ Account is Trusted for DelegationĀ option in Active Directory Users and Computers when you start SQL Server.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!