" to open the control panel and find something about SQL Server 2012, uninstall.During the uninstallation processIn the "Select instance" step, the instance from which you want to remove the feature "select:" The one that the instance has used before the error prompt."Select Features" step: "Choose All"-"next"The follow-up is basically "next"Step Two: Re-install SQL
The installation of SQL Server has two options for Safe mode. The difference between them is which software performs the authentication process. Authentication is the process of confirming the identity of the user who will connect to SQL
which protocols are enabled on the client in "General. Similarly, we need to enable the named pipe and TCP/IP protocol. Click TCP/IP protocol and select "properties" to check the default connection port settings of the client. The port must be consistent with the server.
(Figure 4)
Through the above checks, the first error can be basically ruled out.2. "unable to connect to the server
Server services, you need to pay attention to the address of the service, not with localhost or computer name, all with an IP address instead.2. When it comes to logging in to a database, you need to be aware of the authentication methods that IIS enables, and the authentication methods that SQL
snapshot files. perform the following operations:
My computer
D: \ create a directory named PUB
Right-click the new directory
Attribute sharing
Select "share this folder"
Use the "permission" button to set specific user permissions to ensure that the user created in step 1 has all permissions on the folder.
OK
3. Set the startup user of the SQL proxy (SQLSERVERAGENT) Service (this setting is done by the publishing/subscription
.
Run the SQL Server express installer again.
3.3 If the encryption service of Windows Server 2003 is disabled, the installation fails and the Windows logo requirements dialog box appears.
The Windows encryption service provider (CSP) performs authe
similar to those in the hosts file.
Through the above checks, the first error can be basically ruled out.
-----------------------------------------------------------------------------
2. "unable to connect to the server, user XXX Login Failed"
This error occurs because SQL server uses the "Windows only" authentication
the features in the supported versions of SQL Server Books Online.
Reason:
This problem occurs because the SQL Server does not have all IIS 7.0 components installed on the computer. The following table lists the affected components.
> Close the table
Compone
Source: CCID1. Install the latest service packageTo improve Server security, the most effective method is to upgrade to SQL Server 2000 Service Pack 3a (SP3a ). In addition, you should install all released security updates.2. Use Microsoft Baseline Security Analyzer (MBSA) to evaluate server securityMBSA is a tool that
"(local)", note if the system will attempt to connect to the target server if the failure to connect will be an error, if it goes well you will see the picture in Figure 3, ask to select the user authentication method, here we choose SQL Server and Windows hybrid authentication
$_}It involves several parameters that need to be configured:1, the root directory path of the batch file2. This script supports two kinds of authentication methods: User authentication Windows authentication, as needed to determineThe implementation completion report is as follows:Of course, the most important thing is, if the execution process, a script error
Post a translation FAQ (if I can write this level ...), This step is almost applicable to the most common SQL connection problems. FAQ: Check for SQL connection errors. Q: I have encountered many SQL connection errors. Is there a wizard to solve the connection problems? A: basically, when you cannot connect to your SQL
server uses the "Windows only" authentication method, so you cannot use SQLServer login account (such as SA) to connect. The solution is as follows: 1. Use the enterprise manager on the server side and select "use Windows Authentication" to connect to SQL
the word "Before" (Before Upgrade) must be corrected Before the SQL Server can be upgraded.
5. Enter the Instance name. Enter an Instance name or select an instance from the drop-down list to select an existing instance.
6. Select the authentication type: Windows authentication or
installed and then reports as an error status.
4. In the report, the State in which the word "before" (pre-upgrade) is in the in-fix (when fixed) column must be corrected before you can continue to upgrade SQL Server.
5. Enter the instance name. If you enter an instance name or select an instance from the Drop-down list, you can select an existing instance.
6. Select
Many people SQL is not standardized, resulting in a variety of problems or long time, the password to forget, how to do? Re-installed?Inverse days take a few more common things, the first is a variety of settings of the problem: (my home is a simple version, you develop the best Enterprise version) 1, first you see your Server service open? method One:win+r-->services.msc--> Select SQLExpress (instance name
select Browse file.
In the dialog window for select data destination (Choose a destination), select Microsoft OLE DB Provider for SQL Server.
Select the database server again and click the authentication mode you want.
In the dialog window for specify table backup or query (specify table copy or query), click Copy T
, select the authentication mode. There are two options, namely, Windows Authentication mode or Mixed mode (Windows and SQL Server Authentication). In Windows Authentication mode, only Windows accounts can have permission to log o
above checks, the cause of Error 1 can basically be ruled out. Next we will describe in detail how to solve Error 2.
When you try to use sa in the query analyzer to connect to SQL Server, or use sa in the Enterprise Manager to create a new SQL Server registration, you will often encounter the error message 2. This err
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.