, disable "Enterprise Manager"
4. Open "client network utility" in "start"> "program"> "Microsoft SQL Server" and click "alias". If "server alias configuration" does not contain data, we need to manually add it. Click "add. In the "Network Library" option of "add network library configuration", we select the default "named pipes (p)" item and take the
see which protocols are enabled on the client in the "General" item.In general, we also 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.Click the "alias" tab and configure the alias for the server. The server alias is the name used for connection,The
which protocols are enabled on the client in the "General" item.In general, we also 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.Click the "alias" tab and configure the alias for the server. The server alias is the name used for connection,The
powerful database platform on Windows platform) failure analysis and troubleshooting of connection failures (Figure V) "width=" 408 "height=" 126 "/>
(Figure 5)
This error occurs because SQL Server uses Windows only authentication, so users cannot connect using SQL Server's logon account, such as SA
connect to a specific locallogin. If Rmtuser and Rmtpassword are also set toNULL, you do not need to use any login or password to connect to the linked server. For Windows NT Authentication logins, useself is not valid unless Microsoft Windows NTreg; The environment supports security account delegation, and the provider supports Windows authentication (there is
SqlConnection). Although the SqlConnection class is for SQL Server, many of the properties, methods, and events of this class are similar to those of OleDbConnection and OdbcConnection. Note: different namespaces are required to be imported using different connection objects. The OleDbConnection namespace is System.Data.OleDb. The SqlConnection namespace is System.Data.SqlClient. The OdbcConnection namespa
server| Data | database
1. Install the latest service packOne of the most effective ways to improve server security is to upgrade to SQL Server Service Pack 3a (SP3a).
In addition, you should also install all published security updates.
2. Use the Microsoft Baseline Security Analyzer (MBSA) to evaluate
', tablename =' "oracleuserid". "area" '].
The English prompt is:
Server: MSG 7314, level 16, state 1, line 0
Ole db Provider 'your lelink 'does not contain table' "oracleuserid". "area" '. The table either does not exist or the current user does not have permissions on that table.
Ole db error trace [non-interface error: ole db provider does not contain the table: providername = 'your lelink ', tablename =' "oracleuserid". "area" '].
The current
second, "Unable to connect to the server, the user XXX login failed"
(Figure 5)
This error occurs because SQL Server uses Windows only authentication, so users cannot connect using SQL Server's logon account, such as SA. The workaround looks like this:
1. Use Enterprise
Description: The hardware and software environments used are Windows XP SP2, SQL Server 2000 SP2 Personal Edition, General dual-core desktop, M LAN, and host A is an existing Server with databases and massive data, machine B is the new server. Both login modes are SQL
:/*************************************** ************************************// Description: generate text files based on SQL statements (with a date stamp, fields are separated by commas)// The names of all tables in the SQL statement must be marked in detail using [database name]. [user name]. [Table name]// Create: maggiefengyu mail: maggiefengyu@tom.com Date:**************************************** ***
)--ODBC data Source Manager--User dsn--Join--Create new data source--sql server--name--server " Local "or". " (both local)--next--"Use Windows NT Authentication"--next--"Change the default database to XXX"--complete--test data source2) Connect the data source in the program (import java.sql.*;)
Load driver (In
OleDbConnection and OdbcConnection.Note: different namespaces are required to be imported using different connection objects. The OleDbConnection namespace is System.Data.OleDb. The SqlConnection namespace is System.Data.SqlClient. The OdbcConnection namespace is System.Data.Odbc. The OracleConnection namespace is System.Data.OracleClinet.We can connect to the database in two ways, using Integrated Windows authentication and using
problem through some other methods, but we can also not use the sa account, so we need to re-create an account, and follow me below
1. First open SQL server 2008, that is, SQL Server Management Studio
2. Connect to the database as a windows user, right-click the database and choose Properties]
3. Click security
program security problems, you will be the database repairer.First, you must select the following two security modes:L Windows Authentication Mode: You can use a ready-made Windows User Account to connect to the server. When a user tries to connect to a server, SQL Server a
Account: The use of software and hardware environment for the win XP SP2, SQL Server SP2 personal version, ordinary dual-core desktop, 1000M LAN, a machine for the use of the server, the above has a database and massive data, B machine for the new server, two-machine landing mode are
the Internet.Select the target database in the SQL Server Enterprise Manager, right-click the database, select all tasks-> import data-> pop-up data conversion service import/export wizard window-> next-> select data source-> data source (for SQL Server's microfost OLE DB Provider) -> server (you can select all
Server|window sqlserver2005 The default is Windows authentication after installation, you can change to mixed logins in the following ways.
first log on to SQL Server with Windows Authentication, right-click on the SQL
An example of SQL SERVER database attack
Recently, it was found that the SERVER on the internet is inexplicably restarted. This SERVER currently mainly starts the IIS and SQL SERVER services. Remote Login, found that the system r
Recently found that the server on the outside of the network inexplicably restarted, the server is currently mainly started the IIS services, SQL Server services. Remote login, found that the system response is very slow, there is a noticeable sense of stagnation, open Task Manager, CPU usage in the basic 30 or so. Ope
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.