Home Database Mysql Tutorial sqlserver问题

sqlserver问题

Jun 07, 2016 pm 03:51 PM
manage server sql sqlserver question

SQL Server Management Studio的Server name不能填IP 首先使用SQL Server 2005外围应用配置器, 服务和连接的外围应用配置器——Database Engine——远程连接——选择本地连接和远程连接——同时使用TCP/IP和named pipes(B)——确定,然后重新启动 SQL Ser

 

 SQL  Server Management Studio的Server name不能填IP

        首先使用SQL Server 2005外围应用配置器, 服务和连接的外围应用配置器——Database Engine——远程连接——选择本地连接和远程连接——同时使用TCP/IP和named pipes(B)——确定,然后重新启动 SQL Server (SQLEXPRESS)服务。

 

在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。(provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接)

 

        首先使用SQL Server 2005外围应用配置器, 服务和连接的外围应用配置器——Database Engine——远程连接——选择本地连接和远程连接——同时使用TCP/IP和named pipes(B)——确定,然后重新启动 SQL Server (SQLEXPRESS)服务。

SQL Server彻底删除

 1 停掉跟sql server有关的服务。
2 进入“控制面板”,再进入“卸载程序”,卸载跟sql server有关的程序。
3 进入注册表“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft”,删除跟sql server有关的信息;
  进入注册表“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services”,删除跟sql server有关的服务。
4 删除Program Files下的Microsoft SQL Server。

 安装sql2005后,没有SQL Server management studio

如果你先安装了Microsoft Visual Studio 2005/2008,后安装的Microsoft SQL Server 2005 Development Edition,那么也会出安装后的SQLserver 2005里面没有SQL Server Management Studio,因为你在安装Visual Studio 2005/2008的时候他会自动给你装一个SQL server Express的实例,等你装SQL Server 2005 Development的时候检测安装兼容性的时候他会问你是否要进行版本变更,说你以前的版本是Express版,估计大多人也没有看,直接“下一步”了,所以安装以后其实你的版本是Express版,所以Microsoft SQL Server Management Studio Express自然就没有装上。你可以在安装以后查看你的“服务项”里面,会有SQL server Express版的服务。

解决办法1:这种情况解决办法就是在控制面板里面,把以Microsoft SQL server 2005开头的程序(包括一些工具组件)全部卸载,然后重装就可以搞定!

解决办法2:去百度搜 “SQLManagementStudio 2005”,或去微软官网搜"SQLServer2005_SSMSEE",安装后即有SQLManagementStudio。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to solve the problem that the object named already exists in the sqlserver database How to solve the problem that the object named already exists in the sqlserver database Apr 05, 2024 pm 09:42 PM

For objects with the same name that already exist in the SQL Server database, the following steps need to be taken: Confirm the object type (table, view, stored procedure). IF NOT EXISTS can be used to skip creation if the object is empty. If the object has data, use a different name or modify the structure. Use DROP to delete existing objects (use caution, backup recommended). Check for schema changes to make sure there are no references to deleted or renamed objects.

How to import mdf file into sqlserver How to import mdf file into sqlserver Apr 08, 2024 am 11:41 AM

The import steps are as follows: Copy the MDF file to SQL Server's data directory (usually C:\Program Files\Microsoft SQL Server\MSSQL\DATA). In SQL Server Management Studio (SSMS), open the database and select Attach. Click the Add button and select the MDF file. Confirm the database name and click the OK button.

What is the difference between HQL and SQL in Hibernate framework? What is the difference between HQL and SQL in Hibernate framework? Apr 17, 2024 pm 02:57 PM

HQL and SQL are compared in the Hibernate framework: HQL (1. Object-oriented syntax, 2. Database-independent queries, 3. Type safety), while SQL directly operates the database (1. Database-independent standards, 2. Complex executable queries and data manipulation).

What to do if the sqlserver service cannot be started What to do if the sqlserver service cannot be started Apr 05, 2024 pm 10:00 PM

When the SQL Server service fails to start, here are some steps to resolve: Check the error log to determine the root cause. Make sure the service account has permission to start the service. Check whether dependency services are running. Disable antivirus software. Repair SQL Server installation. If the repair does not work, reinstall SQL Server.

Usage of division operation in Oracle SQL Usage of division operation in Oracle SQL Mar 10, 2024 pm 03:06 PM

"Usage of Division Operation in OracleSQL" In OracleSQL, division operation is one of the common mathematical operations. During data query and processing, division operations can help us calculate the ratio between fields or derive the logical relationship between specific values. This article will introduce the usage of division operation in OracleSQL and provide specific code examples. 1. Two ways of division operations in OracleSQL In OracleSQL, division operations can be performed in two different ways.

How to check sqlserver port number How to check sqlserver port number Apr 05, 2024 pm 09:57 PM

To view the SQL Server port number: Open SSMS and connect to the server. Find the server name in Object Explorer, right-click it and select Properties. In the Connection tab, view the TCP Port field.

Where is the sqlserver database? Where is the sqlserver database? Apr 05, 2024 pm 08:21 PM

SQL Server database files are usually stored in the following default location: Windows: C:\Program Files\Microsoft SQL Server\MSSQL\DATALinux: /var/opt/mssql/data The database file location can be customized by modifying the database file path setting.

How to recover accidentally deleted database in sqlserver How to recover accidentally deleted database in sqlserver Apr 05, 2024 pm 10:39 PM

If you accidentally delete a SQL Server database, you can take the following steps to recover: stop database activity; back up log files; check database logs; recovery options: restore from backup; restore from transaction log; use DBCC CHECKDB; use third-party tools. Please back up your database regularly and enable transaction logging to prevent data loss.

See all articles