Host-based backup of VMware vSphere VMs.
Post Reply
nvdwansem
Enthusiast
Posts: 37
Liked: 8 times
Joined: Oct 22, 2018 8:33 am
Contact:

An item with the same key has already been added

Post by nvdwansem »

Hello,

So every time our Veeam Backup server is rebooted the Veeam Backup Service doesn't start anymore with the following error:

Code: Select all

Service cannot be started. System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Veeam.Backup.DBManager.CExtendableRepositoriesDbScope.GetStoragesAssociatedWithRepository(Guid repositoryId)
   at Veeam.Backup.Core.CStorageToExtentAssociationService.FillDependencies()
   at Veeam.Backup.Service.CVbServiceImpl.<.ctor>b__1()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at Veeam.Backup.Service.CVbServiceImpl..ctor(CVbEnvironment env, CTerminationMediator terminator)
   at Veeam.Backup.Service.CVeeamBackupSvc.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
We know how to solve it and that is to run a query against the SQL database but it's getting annoying, does anybody else have this issue and was it eventually solved?

Cheers
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: An item with the same key has already been added

Post by Dima P. »

Hello nvdwansem.

Any chance you have a case ID to share? Thanks!
nvdwansem
Enthusiast
Posts: 37
Liked: 8 times
Joined: Oct 22, 2018 8:33 am
Contact:

Re: An item with the same key has already been added

Post by nvdwansem »

Hi Dima,

There were multiple but this is the latest one and you can lookup the other ones linked to our company I hope?

Case # 03345359
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: An item with the same key has already been added

Post by wishr »

Hi Nvdwansem,

This issue is fixed in the upcoming B&R 9.5 Update 4 as was correctly mentioned by our support engineer.

Thanks
AlexB82
Enthusiast
Posts: 56
Liked: 8 times
Joined: May 01, 2018 2:06 pm
Full Name: Alex
Contact:

Re: An item with the same key has already been added

Post by AlexB82 »

Will U4 provide a fix to this error occurring with Replica jobs also?
nvdwansem
Enthusiast
Posts: 37
Liked: 8 times
Joined: Oct 22, 2018 8:33 am
Contact:

Re: An item with the same key has already been added

Post by nvdwansem »

@wishr I wasn't aware that was mentioned, I guess we'll have to wait for the next update and hope the server doesn't get rebooted very often during patch rounds for example...
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: An item with the same key has already been added

Post by wishr »

Hi gentlemen,

@AlexB82, could you please share your case ID since this is a generic error and underlying circumstances and thus root cause can vary.

@nvdwansem, you can wait for GA or check the previous Forum Digest for an RTM bits download link.

Thanks
fjacques
Veeam ProPartner
Posts: 7
Liked: never
Joined: Sep 12, 2015 6:29 pm
Full Name: Frank J
Contact:

Re: An item with the same key has already been added

Post by fjacques »

how to do solved it with sql ?
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: An item with the same key has already been added

Post by wishr »

Hi Frank,

While it's strongly recommended to update to the latest version, you can still get SQL queries by request from the support team - they will be happy to assist you with the overall process.

Thanks
ITMAN1
Lurker
Posts: 1
Liked: never
Joined: Nov 14, 2019 7:24 pm
Contact:

Re: An item with the same key has already been added

Post by ITMAN1 »

Did you have a fix for AlexB82? It accures when trying to restore a guest file too.
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: An item with the same key has already been added

Post by wishr »

HI ITMAN,

If you are not willing to upgrade to 9.4 Update 4 or later versions, you can obtain the fix from our support team.

Thanks
RubinCompServ
Service Provider
Posts: 259
Liked: 65 times
Joined: Mar 16, 2015 4:00 pm
Full Name: David Rubin
Contact:

Re: An item with the same key has already been added

Post by RubinCompServ »

AlexB82 wrote: Jan 21, 2019 1:30 pm Will U4 provide a fix to this error occurring with Replica jobs also?
I hope they don't think that U4 fixed it, because it's still present in v10
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: An item with the same key has already been added

Post by wishr »

Hi David,

It may be a different issue. Please, raise a support case to get it sorted.

Thanks
Post Reply

Who is online

Users browsing this forum: Google Feedfetcher and 80 guests