Home Database Mysql Tutorial 计算机改名对SQLSERVER2005的影响和解决方法

计算机改名对SQLSERVER2005的影响和解决方法

Jun 07, 2016 pm 03:52 PM
Influence Change name method solve computer

服务器最好不要随便更改名称,服务器的操作一定要规范谨慎,可是,万一需要更改服务器名称呢 因为计算机改名后,在sqlserver2005中新建订阅或新建发布时会弹出服务器名称错误的提示,导致数据库无法复制 同时数据库维护计划就不能运行,无法连接本地reportin

服务器最好不要随便更改名称,服务器的操作一定要规范谨慎,可是,万一需要更改服务器名称呢


因为计算机改名后,在sqlserver2005中新建订阅或新建发布时会弹出服务器名称错误的提示,导致数据库无法复制

 

同时数据库维护计划就不能运行,无法连接本地reporting services

 

解决方法:

 

1、从sys.sysservers 查看列 svrname 可以发现不是新的计算机名,问题就出在此处。

2、

2.1 先用 sp_dropserver 删除服务器,语句:EXEC sp_dropserver '老计算机名'。    如 exec sp_dropserver 'erp2'

2.2 再用 sp_addserver 添加新的服务器,语句:EXEC SP_ADDSERVER '新计算机名','LOCAL'      如 exec sp_addserver 'erp3','local'


3、最后重启SQL SERVER 服务,问题解决。

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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 change the name and nickname of Xiaohongshu account? Will changing the name have any impact? How to change the name and nickname of Xiaohongshu account? Will changing the name have any impact? Mar 22, 2024 am 10:30 AM

With the continuous development of social media, Xiaohongshu has become an important platform for young people to share their lives and discover and grow grass. On this platform, users can show their personality and taste by changing their names and nicknames. So, how can I modify Xiaohongshu’s name and nickname? 1. How to change the name and nickname of Xiaohongshu account? 1. Name change On the Xiaohongshu platform, users can change their name through the following steps: (1) Open the Xiaohongshu App and log in to the account. (2) Click "My" in the lower right corner of the screen to enter the personal center. (3) Click the avatar to enter the avatar editing page. (4) Click the nickname to enter the nickname editing page. (5) Enter the new name and click "OK". It should be noted that there are certain restrictions on changing the name of Xiaohongshu, including but not

Five tips to teach you how to solve the problem of Black Shark phone not turning on! Five tips to teach you how to solve the problem of Black Shark phone not turning on! Mar 24, 2024 pm 12:27 PM

As smartphone technology continues to develop, mobile phones play an increasingly important role in our daily lives. As a flagship phone focusing on gaming performance, the Black Shark phone is highly favored by players. However, sometimes we also face the situation that the Black Shark phone cannot be turned on. At this time, we need to take some measures to solve this problem. Next, let us share five tips to teach you how to solve the problem of Black Shark phone not turning on: Step 1: Check the battery power. First, make sure your Black Shark phone has enough power. It may be because the phone battery is exhausted

How to write a novel in the Tomato Free Novel app. Share the tutorial on how to write a novel in Tomato Novel. How to write a novel in the Tomato Free Novel app. Share the tutorial on how to write a novel in Tomato Novel. Mar 28, 2024 pm 12:50 PM

Tomato Novel is a very popular novel reading software. We often have new novels and comics to read in Tomato Novel. Every novel and comic is very interesting. Many friends also want to write novels. Earn pocket money and edit the content of the novel you want to write into text. So how do we write the novel in it? My friends don’t know, so let’s go to this site together. Let’s take some time to look at an introduction to how to write a novel. Share the Tomato novel tutorial on how to write a novel. 1. First open the Tomato free novel app on your mobile phone and click on Personal Center - Writer Center. 2. Jump to the Tomato Writer Assistant page - click on Create a new book at the end of the novel.

How to solve the problem of automatically saving pictures when publishing on Xiaohongshu? Where is the automatically saved image when posting? How to solve the problem of automatically saving pictures when publishing on Xiaohongshu? Where is the automatically saved image when posting? Mar 22, 2024 am 08:06 AM

With the continuous development of social media, Xiaohongshu has become a platform for more and more young people to share their lives and discover beautiful things. Many users are troubled by auto-save issues when posting images. So, how to solve this problem? 1. How to solve the problem of automatically saving pictures when publishing on Xiaohongshu? 1. Clear the cache First, we can try to clear the cache data of Xiaohongshu. The steps are as follows: (1) Open Xiaohongshu and click the "My" button in the lower right corner; (2) On the personal center page, find "Settings" and click it; (3) Scroll down and find the "Clear Cache" option. Click OK. After clearing the cache, re-enter Xiaohongshu and try to post pictures to see if the automatic saving problem is solved. 2. Update the Xiaohongshu version to ensure that your Xiaohongshu

2024 CSRankings National Computer Science Rankings Released! CMU dominates the list, MIT falls out of the top 5 2024 CSRankings National Computer Science Rankings Released! CMU dominates the list, MIT falls out of the top 5 Mar 25, 2024 pm 06:01 PM

The 2024CSRankings National Computer Science Major Rankings have just been released! This year, in the ranking of the best CS universities in the United States, Carnegie Mellon University (CMU) ranks among the best in the country and in the field of CS, while the University of Illinois at Urbana-Champaign (UIUC) has been ranked second for six consecutive years. Georgia Tech ranked third. Then, Stanford University, University of California at San Diego, University of Michigan, and University of Washington tied for fourth place in the world. It is worth noting that MIT's ranking fell and fell out of the top five. CSRankings is a global university ranking project in the field of computer science initiated by Professor Emery Berger of the School of Computer and Information Sciences at the University of Massachusetts Amherst. The ranking is based on objective

How to recover deleted contacts on WeChat (simple tutorial tells you how to recover deleted contacts) How to recover deleted contacts on WeChat (simple tutorial tells you how to recover deleted contacts) May 01, 2024 pm 12:01 PM

Unfortunately, people often delete certain contacts accidentally for some reasons. WeChat is a widely used social software. To help users solve this problem, this article will introduce how to retrieve deleted contacts in a simple way. 1. Understand the WeChat contact deletion mechanism. This provides us with the possibility to retrieve deleted contacts. The contact deletion mechanism in WeChat removes them from the address book, but does not delete them completely. 2. Use WeChat’s built-in “Contact Book Recovery” function. WeChat provides “Contact Book Recovery” to save time and energy. Users can quickly retrieve previously deleted contacts through this function. 3. Enter the WeChat settings page and click the lower right corner, open the WeChat application "Me" and click the settings icon in the upper right corner to enter the settings page.

VBOX_E_OBJECT_NOT_FOUND(0x80bb0001)VirtualBox error VBOX_E_OBJECT_NOT_FOUND(0x80bb0001)VirtualBox error Mar 24, 2024 am 09:51 AM

When trying to open a disk image in VirtualBox, you may encounter an error indicating that the hard drive cannot be registered. This usually happens when the VM disk image file you are trying to open has the same UUID as another virtual disk image file. In this case, VirtualBox displays error code VBOX_E_OBJECT_NOT_FOUND(0x80bb0001). If you encounter this error, don’t worry, there are some solutions you can try. First, you can try using VirtualBox's command line tools to change the UUID of the disk image file, which will avoid conflicts. You can run the command `VBoxManageinternal

How to change name and nickname on TikTok How to change name and nickname on TikTok Mar 26, 2024 pm 03:20 PM

Users can choose a nice name and nickname on Douyin, but if we want to change a new name and nickname, how can we change it? Today, the editor has brought you a graphic tutorial on how to change the name and nickname on Douyin, let’s do it together Learn it. Douyin usage tutorial: How to change your name and nickname on Douyin 1. First, we open Douyin, click on me in the lower right corner, and then click on the pen icon on the personal interface as shown in the picture. 2. Then we enter the personal information editing interface and click on the name, as shown in the picture. 3. Then we enter the name we want to change and click Save in the upper right corner. 4. Finally, our Douyin name and nickname are modified.

See all articles