I cannot find SQL Server browser - sql-server

I have installed SQL SERVER 17.
I'm trying to connect to a remote Database and I was not able to do so. After research, I found out that it requires the SQL Server Browser service to be started but I couldn't find the service in the SQL Server Configuration Manager
I also tried searching for missing SQL Browser Service. So, I tried reinstalling the SSMS but I couldn't find any option to select for SQL Browser.
Also, I don't have the sqlbrowser.exe file at location 'C:\Program Files (x86)\Microsoft SQL Server\90\Shared\'. So, I guess it wasn't installed from the start.
Any solution, on how to install the service?
EDIT 1 :
This is the error message on the SSMS:
I have verified and made sure that the username and password is correct.
EDIT 2 :
I tried to turn of my firewall and then connect with the server. But, I still got the same error.
So, I tried to reinstall the complete SQL SERVER. During the installation, I selected the custom mode and selected the SQL Server Browser to be automatic. So, now I have it working.
Now, still having my firewall disabled, I tried connecting to the SERVER, but still I got the same error.
Now the question is why am I getting this error?
Final EDIT :
Sorry for all the trouble but I have posted the answer to the problem, Thanks.

You do not need to install SQL browser to simply connect to a remote database, it allows you to see SQL server instances on your machine.
In management studio, adding the hostname and credentials in the connection dialog box is enough and if they are correct, and you have access, it will connect.

really sorry for the trouble.
And the problem was a slash ( \ ).
I spent couple of hours trying to figure out what's wrong with the connection and all that time I used SERVER / INSTANCENAME and everything else was perfect... and suddenly when I was searching online someone had made a same mistake and I looked at my hostname and it was wrong.
It should be SERVER \ INSTANCENAME with a backslash ( \ ).

Related

Visual Studio 2019 cannot connect to SQL Server database - The target principal name is incorrect. Cannot generate SSPI context

This started happening to me in the past week or so. I've searched the web and tried various suggested solutions, nothing has worked so far. I didn't change my password during this time period. I tried rebooting my laptop, reconnecting to the network (VPN), running ipconfig /release & ipconfig /renew, all to no avail.
I have no problem connecting to the SQL server database running on my local machine, it's when I try to connect to a database running on a network server that this issue comes up. Outside of VS, I can connect to the network database from Management Studio without any issue.
In SQL Server Object Explorer, I tried to add a new SQL Server (my local database server appears in the list), I got the error message "The target principal name is incorrect. Cannot generate SSPI context. (Microsoft SQL Server)"
Any helpful insight would be greatly appreciated.

I'm having trouble installing sql server 2014

This is what happens when I try to use sql server (img 1) Error
I tried googling the solution and still can't figure out what's wrong. I've tried reinstalling multiple times and even wiped my hard drive to reinstall it. It does not let me install without windows authentication.
Empty services
There is nothing inside of the services and network configuration. Does know how to fix it by using windows authentication? It doesn't matter what I enter in the user name it always gives me the same error.
Run services.msc
Start all services for SQL server including SQLEXPRESS it will work
Hope this helps.

Error when connecting to SQL Azure database with SSMS

I am getting the following error connecting to a SQL Azure database with SQL Server 2008 R2 Management Studio (I have tried from multiple machines from different networks)
I have no problems regarding firewall rules.
Does anyone have any suggestion on how to solve this problem?
EDIT:
I have tried to change connection information in the "Connect To server" dialog and it worked. More specifically instead of specifying a username for the connection I wrote dbusername#server in the username dialog.
Apart from the fact that the problem is solved I would like to really know why this has changed from yesterday and just find a better explanation

Oracle database 12c Error while trying to connect: The Network Adapter could not establish the connection

I installed Oracle database 12c for the first time. I followed correctly all the steps and installed it on Windows 7 64 bits, but when I click on SQL Developer and try to create a new connection, I put in the informations like Username and password, and finnaly click on TEST button, I get this error message: "The Network Adapter could not establish the connection".
I dont know what to do anymore, I read tutorials and cant solve that error. Also, when I open SQL Developer, i get a message saying Im using a java version that is not supported by Oracle Database, Im using java 1.8 and it says I should use from 1.6 to 1.7 only. im not sure if that is causing something bad but it seems fine because I can go further using the SQL Dev. So, what should i do? Thank you very much!
Here are some things to check:
Ensure that the TNSNAMES.ORA file is properly configured to reference the database. Check for the SID, host name, and port number (typically 1521).
Check whether you can connect directly from the server, such as with SQL PLus. This should isolate whether it's a server or client problem.
Ensure that the Listener service on the server is running. Check that LISTENER.ORA is properly configured.
I encountered a situation in the past where client PCs could not connect. I found that by deleting (or renaming) the SQLNET.ORA file, the connection could be made.
Good luck.
Execute
tnsping <db_name>
from command prompt.
You will see, if listener is running and tnsnames.ora is configured properly.
Run with Windows PowerShell or Command Prompt (Admin) :
lsnrctl start

How can I connect to SQL Server using (local)\INSTANCE_NAME?

I have a developer that is having trouble connecting to a SQL Server instance by entering the server name (local)\HIS_SERVER_INSTANCE into Visual Studio->Server Explorer. If he replaces (local) with his machine name, it connects fine. I have had similar issues before but they seemed to fix themselves. Does anyone know a fix for this?
EDIT:
We cannot use the machine name because our app contains connection strings with (local) in them.
Also, I've noticed something weird about his SQL Server install. Everyone else seems to get the SQL Server Service Manager showing in the lower right corner. I looked for this app in his startup folder and nothing was there. I then looked for the app on the system (C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqlmangr.exe) and it doesn't exist. Maybe his system has bigger issues??
You can use .\HIS_SERVER_INSTANCE to get the same effect as using (local).

Resources