I am new to SQL area, it might be very simple, but googling did not help so far. Your help much appreciated.
I am trying to connect the database to see the live data of a particular table via a program. First, I want to test via excel database connection to verify username and permissions are set correctly. So far, I am not succeeded. (Please note, I can connect using the sa account or windows authentication with full permissions, which we don't want for known reasons). Looking at the below screenshot and details, could you tell me what I am missing, please?
July 25, 2022 at 3:10 am
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
July 25, 2022 at 8:51 am
In Excel, don’t use windows credentials, switch it to use database credentials instead so on the left hand side. Windows or database or Microsoft account. It needs to be database.
July 25, 2022 at 2:53 pm
It has nothing to do with the credentials. Your local security policy is likely set to not allow impersonation.
Michael L John
If you assassinate a DBA, would you pull a trigger?
To properly post on a forum:
http://www.sqlservercentral.com/articles/61537/
July 25, 2022 at 8:11 pm
Thanks, gentlemen. Ant-Green was right. Via localhost, I can connect but not from other PCs this time. I receive the below error. Firewall is off for now.
Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"
You will need to set a static port and open that in the firewall instead, along with UDP 1434
This should help with that.
July 26, 2022 at 7:04 am
I have the same problem with you.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply