Where can I find the security options in SQL Server Management Studio? - ssms

I'm trying to change server authentication mode, but all the info that I'm finding about it points at a menu that does not appear for me.
Steps tried:
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
Yes, no problem at all.
On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
There is no Security page visible to me. There's a bunch of different pages, but Security is not one of them. So where do I go?

Related

New user cannot log-in (SQL Server)

I created a SQL user "myUser" within the Security > Logins section in SSMS. I created it as "SQL Server Auth" and granted all permissions. This user still cannot sign into sql.
Server Auth is set to "Mixed" (SQL and Win auth mode)
Please check if you set the authentication mode to mixed mode or not. If not then:
To enable mixed mode Authentication in Microsoft SQL Server please follow the steps below.
To change security authentication mode to mixed mode
In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
On the Security page, under Server authentication, select SQL Server and Windows Authentication mode, and then click OK.
In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
To enable the sa login by using Management Studio
In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
On the General page, create and confirm a new highly secure password for the sa login.
On the Status page, in the Login section, click Enabled, and then click OK.
Please look into below link:
Solutions to Microsoft SQL Server Error 18456

Problems with simultaneous ODBC connection to web server hosting pages

I have an issue with a SQL Server Express install. I have a test server set up called ASPDEMO running server03, IIS6, SSEE08R2. MgmtStudio installed.
When I access the web site from a computer on the LAN all is well, I can login to the site and hit the db with no problem.
If I try to set up an ODBC connection to ASPDEMO I can connect and link to tables from Access for example, no problem.
But I can't do both at the same time.
Any ideas?
In Management Studio, connect to the database and right-click on the instance. Choose Properties. When the Server Properties window pops up, Click Connections in the list on the left and check the maximum number of connections allowed. Maybe it is set to 1.

SQL server management studio Express

I authenicate to my SQL Server instance by logging in with a Windows account via SQL Server Management Studio. I want to change this to a SQL server login.
How can I do that?
The default installation of SQL Server only supports Windows Authentication.
If you want to use SQL authentication (e.g. "sa" for the superuser), you need to:
Using SQL Server Management Studio, connect to the server. Use Windows Authentication for now.
Right-click on the server instance you want to modify. This is usually the root item in the tree in the left-hand panel.
Select Properties from the context menu.
In the Server Properties window, select Security from the left-hand panel.
Under Server Authentication, change the radio button from "Windows Authentication mode" (the default), to "SQL Server and Windows Authentiation mode".
Now you can create SQL server logins which you can use to connect to the server.
When you first open Management Studio it asks you what credentials you wish to use to login.
For an actively connected session you need to change the current connection using the button on the tool bar (normally top left) which will pop up the login dialogue again.
Clearly this will depend on you having some SQL Server logins already defined on the server with appropriate permissions specified.

Sql Server Management Studio Express

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.

CF9 + SQL Server Express

I just created a new database in "Microsoft SQL Server Management Studio Express" and now I'm in "ColdFusion Administrator" and I'm trying to add my database as a Data Source. How do I do that? I believe the servername is .\SQLEXPRESS but I'm not sure what the default username and password are. I've tried creating a new login through Management Studio with an actual username and password, but those aren't working either. The error I'm getting is:
Connection verification failed for data source: xxx
java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]The requested instance is either invalid or not running.
The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver]The requested instance is either invalid or not running.
I can see that the service is running, and I can connect to it through management studio. I've tried following a couple tutorials online, but they don't seem to be working for me. Ideas?
Server name can be any resolvable hostname or domain name, in case of having SQL Server and CF server on same box localhost should work for you.
Also make sure that user you created has access to the particular database and needed operations. Look into the database permissions for this. This check is not required when using master account (often login is sa), but this is not recommended practice because of the security reasons.
Also make sure SQL Server and Windows Authentication mode is checked. I had an issue with permissions as well when I only had Windows Authentication enabled under:
right click on server (localhost) -> security
Then restart SQL Server Services to save changes. After that I was able to connect my ColdFusion datasource to SQL Server.
For testings sake use the same credentials that you are connected with in Management Studio, likely the "sa" user and password. Once you have it working with "sa" then go back into Management Studio and create an application level user for your CF app and then update the data source to use your new user / password.