localhost not working in sqlserver 2005 - sql-server-2005

I am unable to connect to localhost after the installation of the sql server 2005. however i am able to connect using my system name.
Is there a way i will be able to connect using localhost by making few changes??
Thanks in advance.

use "." (DOT) instead of localhost and you should be able to connect.

Related

Remote to instance of SQL SERVER

i would like to remote from my house to my office in my instance of SQL Server but i have a trouble ,we have the primary server that has a public IP ,in this server there is installed a SQL Server Instance,i can connect on it just input in my Sql Server the "IP:1433" but my purpose is to connect in the SQl Server instance situated in my computer office and tried some way around but not luck ,then i would ask if you have any suggestion then i will try it .
Thank you so much for your attention
Cheers
You can use a vpn connection and then use your PC local IP inside the company

Connect to SQL Server from another computer

I have my websites database server named razatube.com, I don't have the server on my machine. How can I connect to this server from another machine to fetch database items? Any help would be highly appreciated.
PS: I don't usually use Microsoft products so pardon me if the answer stares directly on my face :(
All you need is the IP address or URL of the database server along with port number, login name and password of the SQL Server database. When you have all these, you can go to http://www.connectionstrings.com/ and get your desired connection string and use it into your web programs to connect your web server and your database server.

Connection string for a remote SQL server

I am trying to connect to a remote SQL server. I would like to know the proper way to connect to the server. TCP/IP protocol is enabled. I am trying this way:
#"Server=myserver.com\SQLEXPRESS; Database=mydatabase; User ID=user; password=pass"
I am using myserver.com to connect to the server via RDP and I can connect without any problems, but when I am using the combination above to connect
to the SQL server via my code, it says that the server can't be found or does not exist.
Am I doing something wrong?
May I introduce you to http://www.connectionstrings.com whenever I have to manually create a connection string that's my first port of call. I can tell you right now that you can't do SQLExpress from a remote client (at least not the last time I checked). But here is the page for SQL Server connection strings. If it works, then it'll be there
Edit
It looks like you can connect remotely. It's just not configured that way out of the box

Can't connect to SQL Server 2005 unless using 127.0.0.1

I'm not able to connect to sql server with anything but 127.0.0.1 on the server machine. If I try to connect via actual IP on the network it does not work locally or remotely.
The environment is SQL Server 2005 on Windows Server 2000. My goal is to connect to this SQL Server instance from a remote machine.
I've tried telneting to port 1433 using the actual IP and that fails. I've tried turning off Windows Firewall completely
Any ideas or help is greatly appreciated! Thanks
You have to enable remote connections - check this KB article
Did you check the firewall settings. You need to create exceptions to allow remote connections in the firewall

Connecting to SQL Server 2005 on another domain through VPN connection

I have SQL Server 2005 dev installed on my machine.
Using SQL Server Management Studio: how can I connect to a SQL Server on another domain?
Please note that the computer has to be VPN'ed into the domain I am connecting to.
Thanks,
Voodoo
Once you're vpn'd in it should be just like local network. Put the fully qualified server name in the connection dialog in SQL Management Studio.
You should be able to do as normal once vpn'd in, but there are a few catches:
You may have to use the FQDN. ie sqlserver.network.local, not just sqlserver
windows authentication may or may not work, so probably just log in using a sql account, if you have one.
Turned out the username and password that was provided was removed from their server for unknown reason....
Thanks for the help, appreciated it very much..