Resolving the "Object Already Exists at Csla.Server" Error

Overview

You may receive this error:

 

Error: "System.Exception: Object already exists. at Csla.Server.SimpleDataPortal.Update(Object obj, DataPortalContext context) at Csla.Server.DataPortal.Update(Object obj, DataPortalContext context) at
Csla.DataPortalClient.LocalProxy.Update(Object obj, DataPortalContext context) at Csla.DataPortal.Update(Object obj) at Csla.DataPortal.Update[T](T obj) at Csla.BusinessBase`1.Save() at SVault.Client.QuickBooks.QuickBooksDatabase.Provision(AppContext context, Int32 backupTimes, Boolean backupOn)

This error message may display when you try to add a QuickBooks company file to a vault in SmartVault.

This error message typically displays when you try to add a QuickBooks company file to a vault in SmartVault, but there is already a QuickBooks company file with the same name in the vault.

You cannot add two items with the same name to the same vault in SmartVault.

Resolving This Error

To resolve this issue, determine if a QuickBooks company file with the same name already exists in the vault. If so, delete the existing QuickBooks company file in the vault or rename the QuickBooks company file you are trying to add to the vault.

To determine if a QuickBooks company file with the same name is already in the vault:

  1. Close the QuickBooks company file.
  2. Sign in to the SmartVault Client Portal.
  3. In the left tree pane, browse to and expand the vault where you want to add the QuickBooks company file.
  4. If you see a QuickBooks company file with the same name as the QuickBooks company file you are trying to add, complete one of the following steps:
    • Delete the QuickBooks company file that is in the vault.
    • Change the name of the QuickBooks company file you want to add to the vault.
Was this article helpful?
0 out of 0 found this helpful
...