Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
ION_Network Database upgrade fails with error FOREIGN KEY constraint "FK_SRC_Source_SRC_Namespace" conflict

Issue
User is unable to upgrade the SPM 7.0 database to PME 7.2

Product
StruxureWare Power monitoring 7.0
Power Monitoring Expert 7.2

Environment
Upgrading SPM 7.0.1 to PME 7.2 fails.
The file C:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\diagnostic\ION_Network.log contains the following error

Msg 547, Level 16, State 1, Server
<Server Name>\ION, Line 308
The MERGE statement conflicted with the FOREIGN KEY constraint "FK_SRC_Source_SRC_Namespace". The conflict occurred in database "ION_Network", table "dbo.SRC_Namespace", column 'NamespaceID'.

Cause
In the ION_Network database the tables SRC_Namespace does not have an entry for the IONEnterprise namespace with an ID of 1.

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

1. Open SQL Server Management Studio
2. Connect to the SPM/PME SQL instance with a user that can edit the ION_Network database
3. Start a new query  and execute the following command against the ION_Network Database to reseed the table
DBCC CHECKIDENT('ION_Network.dbo.SRC_Namespace', RESEED, 0)
4. Expand SQL instance -> Databases->ION_Network->Tables
5. Right click on SRC_Namespace and select edit top 200 rows
6. Change the 'IONEnterprise' to 'IONEnterprises'
7. In a new row, add IONEneteprise - you don't have to add the ID. It will automatically go to 1 because of the reseeding above
8. Execute the following command
UPDATE SRC_Source SET NamespaceID = 1 WHERE NamespaceID = 2
9. Delete the row from SRC_Namespace with ID 2
10. Re-run the installer to upgrade the ION_Network Database.

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings