• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FTP error: An unknown error has occurred. An item with the same key has already been

igoldman

Regular Pleskian
I get the following error msg when I try to verify the location of a site.
The path inside sitebuilder is:
General>Sites>domain.com>publishing settings

Publishing mode: FTP
Host: IP
Port: 21
Login: domain.com
Working Directory: /httpdocs/sitebuilder/
Web site URL: http://domain.com/site/
Location status: Unverified

Now after I click on the button "Verify Location" I get the following error msg:

Error: FTP error: An unknown error has occurred. An item with the same key has already been added.
 
So I started to investigate the issue and couldn't find the reason for such issue.

Inside the log file C:\SWSoft\SiteBuilder\_logs\Application.log I found the following:

2008-05-27 20:19:21,156 [5] DEBUG SWsoft.SiteBuilder.Repository.Site.RepositoryWrapper - Complete loading site repository [#00186594-49fe-4a97-8f2d-908b59eac686].
2008-05-27 20:19:21,390 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - LocationChecker.Execute()
2008-05-27 20:19:21,390 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Create folder in root folder: TestFolder0749c788-e392-4edd-a678-3b1602ab16aa
2008-05-27 20:19:21,609 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.Connect() for ServerIP:21
2008-05-27 20:19:21,812 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.ServerFolderSeparator is '/'
2008-05-27 20:19:21,828 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path ''
2008-05-27 20:19:22,031 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.Ensure() for path 'TestFolder0749c788-e392-4edd-a678-3b1602ab16aa'
2008-05-27 20:19:22,078 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Remove folder in root folder: TestFolder0749c788-e392-4edd-a678-3b1602ab16aa
2008-05-27 20:19:22,093 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.RemoveDirectory() called for 'TestFolder0749c788-e392-4edd-a678-3b1602ab16aa'
2008-05-27 20:19:22,218 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - LocationChecker.CheckCaseSensitivity()
2008-05-27 20:19:22,250 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path ''
2008-05-27 20:19:22,562 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.Ensure() for path 'CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5'
2008-05-27 20:19:22,593 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.RemoveDirectory() called for 'CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5'
2008-05-27 20:19:22,640 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.RemoveDirectory() called for 'casetest27ee0022-e8cc-4858-8413-70ed05dc26a5'
2008-05-27 20:19:22,640 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - End LocationChecker.CheckCaseSensitivity()
2008-05-27 20:19:22,656 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - LocationChecker.PublishProbeFiles()
2008-05-27 20:19:22,656 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Create test folder: Test14d77632-715a-4cf6-93a2-a50eca8d270d
2008-05-27 20:19:22,656 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path ''
2008-05-27 20:19:22,750 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.Ensure() for path 'Test14d77632-715a-4cf6-93a2-a50eca8d270d'
2008-05-27 20:19:22,765 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path 'Test14d77632-715a-4cf6-93a2-a50eca8d270d'
2008-05-27 20:19:22,796 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.Upload() for path 'Test14d77632-715a-4cf6-93a2-a50eca8d270d\test.html'
2008-05-27 20:19:22,859 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path ''
2008-05-27 20:19:22,984 [5] WARN SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Publish Location checker, PublishProbeFiles step error
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 SWsoft.SiteBuilder.Repository.Resources.ResourceItemsCollection`2.FillChildren()
at SWsoft.SiteBuilder.Repository.Resources.ResourceItemsCollection`2.Contains(String name)
at SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker.PublishResourceFile(IResourceFolder targetFolder, String name, String resourceName)
at SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker.PublishProbeFiles()
2008-05-27 20:19:22,984 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - LocationChecker.DeleteProbeFiles()
2008-05-27 20:19:22,984 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Try to remove
2008-05-27 20:19:22,984 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.List() for path 'App_Data'
2008-05-27 20:19:23,062 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - End LocationChecker.DeleteProbeFiles()
2008-05-27 20:19:23,062 [5] DEBUG SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker - Remove test folder Test14d77632-715a-4cf6-93a2-a50eca8d270d
2008-05-27 20:19:23,062 [5] DEBUG SWsoft.SiteBuilder.Repository.FtpResources.XceedFtpClient - XceedFtpClient.RemoveDirectory() called for 'Test14d77632-715a-4cf6-93a2-a50eca8d270d'
2008-05-27 20:19:23,328 [5] ERROR SWsoft.SiteBuilder.Web.PublishUtil - Unknown error occured
SWsoft.SiteBuilder.BO.Facade.PublishException: Publish failed: unknown exception ---> 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 SWsoft.SiteBuilder.Repository.Resources.ResourceItemsCollection`2.FillChildren()
at SWsoft.SiteBuilder.Repository.Resources.ResourceItemsCollection`2.Contains(String name)
at SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker.PublishResourceFile(IResourceFolder targetFolder, String name, String resourceName)
at SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker.PublishProbeFiles()
at SWsoft.SiteBuilder.BO.Facade.Publish.LocationChecker.Execute()
at SWsoft.SiteBuilder.BO.Facade.SiteService.<>c__DisplayClassd.<CheckPublishLocation>b__a()
at SWsoft.SiteBuilder.BO.Facade.PublishHelper.CheckPublishExceptions(CheckPublishExceptionsMethod a_method)
at SWsoft.SiteBuilder.BO.Facade.PublishHelper.CheckPublishExceptionsWithAny(CheckPublishExceptionsMethod a_method, PublishMode a_mode)
--- End of inner exception stack trace ---
at SWsoft.SiteBuilder.BO.Facade.PublishHelper.CheckPublishExceptionsWithAny(CheckPublishExceptionsMethod a_method, PublishMode a_mode)
at SWsoft.SiteBuilder.BO.Facade.SiteService.CheckPublishLocation(Guid siteId, PublishingSettingsValue publishingSettings)
at SWsoft.SiteBuilder.Web.UI.WebControls.SiteView.ButtonStandardVerifyLocation_OnClick(Object sender, EventArgs e)
2008-05-27 20:19:25,703 [6] DEBUG SWsoft.SiteBuilder.BO.Facade.StatisticsService - StatisticsService.AddSessionTrack()...
2008-05-27 20:19:25,703 [6] DEBUG SWsoft.SiteBuilder.BO.Facade.StatisticsService - ...completed StatisticsService.AddSessionTrack()
 
And inside the FTP log file C:\Inetpub\vhosts\Servers\7570\logs\MSFTPSVC7570\ex080527.log I found the following:


2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]USER domain.com - 331 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]PASS - - 230 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 16 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD TestFolder0749c788-e392-4edd-a678-3b1602ab16aa - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD TestFolder0749c788-e392-4edd-a678-3b1602ab16aa - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]MKD TestFolder0749c788-e392-4edd-a678-3b1602ab16aa - 257 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD TestFolder0749c788-e392-4edd-a678-3b1602ab16aa - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]RMD TestFolder0749c788-e392-4edd-a678-3b1602ab16aa - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5 - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 15 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5 - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]MKD CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5 - 257 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD casetest27ee0022-e8cc-4858-8413-70ed05dc26a5 - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5 - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]RMD CASETEST27EE0022-E8CC-4858-8413-70ED05DC26A5 - 250 0 0 0 16 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD casetest27ee0022-e8cc-4858-8413-70ed05dc26a5 - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:21 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 16 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 550 2 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]MKD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 257 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 16 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]created /httpdocs/sitebuilder/Test14d77632-715a-4cf6-93a2-a50eca8d270d/test.html - 226 0 0 36 31 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD App_Data - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 250 0 0 0 15 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]DELE test.html - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]CWD /httpdocs/sitebuilder - 250 0 0 0 0 FTP - - - -
2008-05-27 18:19:22 ServerIP domain.com MSFTPSVC7570 TMD ServerIP 21 [1588]RMD Test14d77632-715a-4cf6-93a2-a50eca8d270d - 250 0 0 0 0 FTP - - - -
 
Thanks for the detailed info. Sitebuilder team investigates this issue.
 
that everyone in this forum will know.
SWsoft is asking me to pay money for a bug fix inside SiteBuilder or because the documentation is not providing all the necessary information.

A good point to check before buying SiteBuilder license.
 
I have checked and can see opened request for developers concerning this issue. As soon as there will be any news you will be updated on this forum.
As for reply in your ticket from support engineer this is standard reply for customers without support and if you think that this is really bug you may send an e-mail to bugreport [at] parallels.com. Developers checking this box.
 
I have checked and can see opened request for developers concerning this issue. As soon as there will be any news you will be updated on this forum.
As for reply in your ticket from support engineer this is standard reply for customers without support and if you think that this is really bug you may send an e-mail to bugreport [at] parallels.com. Developers checking this box.


Hello,
Of course that I have already reported to bugreport [at] swsoft.com
I am not new customer of SWsoft. little respect. 4 years in the industry are self-explanatory.

I hope that the investigation by developers will not take 1/2 year.
 
2 Weeks pass and still SWsoft doesn't have any solutions ?
I already reported to bug dept. at SWsoft
What will be ? I need to resolve bugs alone ?

SWsoft method:
Pay money for the software and when there is a bug found you need also to fix it on your own
 
Solution will be available as a part of Sitebuilder 4.2.3 hotfix. It's planned to be released 14th July 2008.
 
What else will be in that fix? Maybe even someting to solve the problem with SQLite on PHP5.x? I see in this forum that I am really not alone in having that problem.
 
Back
Top