I created a login with SQL authentication credential in SQL Server 2008. But, I am not able to login using that credential.
We followed the same steps in SQL Server 2005 and working without any problem.
What could be the problem?
Thanks,
P.Gopalakrishnan.
Have you checked that SQL Server Authentication is enabled? It is disabled by default. From SQL Server Management Studio, right-click your server, Properties, Security, SQL Server and Windows Authentication mode.
have you confirmed that you are logging into the correct instance of sql server on the machine that you created the login for?
Related
Is it possible to create link server in SQL Server 2008 for Teradata using Windows authentication? Couldn't find any information about that. All examples in google use already specified user for connect.
Thanks.
I have just installed SQL Server 2008 R2 Management Studio. But I do not know what is the default login.
I searched over internet for solution, but no luck!
I have tried following solutions:
Server Type: Database Engine
Server Name: .
Authentication: Windows Authentication
and
Server Type: Database Engine
Server Name: .\SqlExpress
Authentication: Windows Authentication
But not sure why not working, I keep getting the following error:
Connect to Server
A connection was successfully established with the server, but then an
error occurred during the pre-login handshake. (provider: SSL
Provider, error: 0 - The message received was unexpected or badly
formatted.) (Microsoft SQL Server, Error: -2146893018)
There is no default login for windows authentication. I believe you need to add the current user as an administrator to login. Did you select SQL and Windows authentication and provide an SA password?
OP, has your computer had any recent updates? The SQL services tend to stop when system receives big updates, check that there are no services stopped.
The only reason I'm assuming this is your solution is because I see you can't even log in with Windows Authentication
It looks like you have only installed SQL Management Studio and not SQL Server with Tools i.e. SQL Server plus SSMS. I guess this is what you need?
It looks like you have only installed SQL Management Studio and not SQL Server with Tools i.e. SQL Server plus SSMS. I guess this is what you need? Also there is nothing wrong with your machine it is just that you require an instance of sql and you have only installed the management studio so you now just need to install sql server 2008 R2 express (FREE) I would suggest.
I have created a new database in SQL Server 2008 R2 on my local machine.
The problem is that for some reason I CAN'T seem to get the it so I can use SQL Server Authentication. I am only able to log in with Windows Authentication.
Would someone describe the steps so that I can access a database that I created with a newly created account?
This will happen when you do not install SQL Server under Mixed Mode Authentication. To change this:
open SQL Server Management Studio (SSMS)
Right click the server
click Properties
click Security
Under "Server Authentication" select "SQL Server and Windows Authentication mode"
See the docs for complete details:
http://msdn.microsoft.com/en-us/library/ms188670(v=sql.105).aspx
I am attempting to connect to SQL via SQL authentication. On SQL Server I receive Login succeeded, yet via code I get Login failed for user 'geneva'. I verified the login in SSMS and am able to connect via Windows authetnication. The sql user has full rights. Tried via java/.net code, really unsure why I am unable to connect via SQL Auth.
Data Source=server;Initial Catalog=GenevaWorkflow;User ID=user;Password=password
The environment is SQL Server 2008/Windows 2008. Very frustrating being all I want is to connect via SQL authentication and SQL Server I set to mixed mode authentication.
Enable sql logins in server properties (from management studio) and restart sql server.
how do i convert my sql server management studio express to server authentication mode.. please help regarding this..
I assume you mean SQL or Mixed-mode Authentication (the ability to login using your SA account). Follow the instructions in this link.
You should be able to connect to it as normal via whatever method you already have (this requires sufficient Admin permissions).
Then to enable access via SQL Logins you can
Right click on the instance name in Management Studio (mine is localhost\SQLEXPRESS (SQLServer 10.0.1600)).
Go to the Security tab.
Then you should be able to enable SQL Logins by clicking SQL Server and Windows Authentication Mode.
Click ok and you're done!
You can now add SQL Logins as connect via them as you would normally.