Skip to main content
Waters

Error "Could not copy the selected record(s)" appears in the new WebVision interface in NuGenesis SDMS - WKB276512

Article number: 276512

SYMPTOMS

  • The following error message appears in WebVision when copying records between projects:
    • Could not copy the selected record(s)
    • Something went wrong when trying to community with the Identity API
  • The records are not copied
  • In the browser's Developer Tools, the request to destination-projects results in HTTP 204 ("No Content") instead of HTTP 200 ("OK")

ENVIRONMENT

  • NuGenesis 9.3.1 SDMS

CAUSE

The Web API configurations in the Drive:\Program Files (x86)\Waters\NGSDMS\Application Server\Vision\SdmsProjects\appettings.json file have an incorrect web server hostname or ports.

FIX or WORKAROUND

  1. Edit the appsettings.json file in Notepad.
  2. The "ExternalApi" setting has three subsections: IdentityApi, AuditTrailApi, and SdkGatewayApi.  Each sub-section has a hostname, port, and URL segment.
  3. Set the SDMS Web server's fully-qualified hostname as the Host setting for each API.
  4. Save and close the appsettings.json file.
  5. Restart IIS.

ADDITIONAL INFORMATION

Example "ExternalApi" settings:

  "ExternalApi": {
    "IdentityApi": {
      "Host": "webserver.domain.com",
      "Port": 54825,
      "ApiName": "identity-api",
      "Version": 1
    },
    "AuditTrailApi": {
      "Host": "webserver.domain.com",
      "Port": 54822,
      "ApiName": "audit-trail-api",
      "Version": 1
    },
    "SdkGatewayApi": {
      "Host": "webserver.domain.com",
      "Port": 54827,
      "ApiName": "sdms-web-sdk"
    }
  }

Not able to find a solution? Click here to request help.