Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Run the command line interface more often to make sure not too many users are added / removed.

  • In the web application configuration (web.config file), in httpRuntime, the executionTimeout value can be increased

DbUpdateConcurrencyException

The synchronization of a CXO application occurs within a single transaction. When users are synchronized it causes a number of other objects modified. If one of the objects is modified outside of the transaction before it completes it will cause a DbUpdateConcurrencyException. The best way to prevent it depends on the way the command line interface is used.

If this error occurs, try the following:

  • Make sure to the user synchronization runs at a time where CXO is not used

  • Pause the agent service either programmatically or in the configurator



  • Stop them programmatically

    Code Block
    Stop-Service -Name "CXO-Cockpit Agent"
    <run synchronizatiob>
    Start-Service -Name "CXO-Cockpit Agent"
    • Configurator > Configuration > Schedule.xml

      1. Open the configurator