Etap Knowledge Base: Sql Server Project Error

  • Uploaded by: gilbertomjc
  • 0
  • 0
  • January 2021
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Etap Knowledge Base: Sql Server Project Error as PDF for free.

More details

  • Words: 253
  • Pages: 1
Loading documents preview...
ETAP Knowledge Base

SQL Server Project Error Description: “Error inserting the revision 784 into Table Revision Control, error - Could not find server 'MACHINE_NAME\SERVER_INSTANCE' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers." Category:

Error, SQL Server Project

Type:

Error, Installation

Keywords:

SQL Server, SQLEXPRESS, Database

Error: Creating new SQL Server project While processing 101402.cvt it gives an error: "Error inserting the revision 784 into Table RevisionControl, Error - Could not find server ' MACHINE_NAME\SERVER_INSTANCE' in sys.servers. Verify that the correct server name was specified. If necessary, execute the stored procedure sp_addlinkedserver to add the server to sys.servers." Cause: It appears that SQL Server Express installation was configured for a machine named OLD_NAME, so the default server name created internally was OLD_NAME\SERVER_INSTANCE. This occurs when the machine was renamed after the installation of SQL Server. The queries "print@servername" and "select * from sys.servers" should confirm this by listing the server as OLD_NAME\SERVER_INSTANCE. Solution: To repair, run the query: exec sp_dropserver 'OLD_NAME\SERVER_INSTANCE'; go exec sp_addserver ' MACHINE_NAME\SERVER_INSTANCE', local; go exec sp_serveroption ' MACHINE_NAME\SERVER_INSTANCE', 'data access', 'true' go Restart "SQL Server (SQLEXPRESS)" and "SQL Server Browser" services.

This document is confidential and proprietary to Operation Technology, Inc. and may not be reproduced, published or disclosed to others without the written authorization of Operation Technology, Inc., 17 Goodyear, Suite 100, Irvine, CA 92618, USA. © 2010 by Operation Technology, Inc. All Rights Reserved.

© Operation Technology, Inc.

Page 1 of 1

ETAPKB

Related Documents


More Documents from "gilbertomjc"