{"id":49910,"date":"2021-11-18T09:36:30","date_gmt":"2021-11-18T16:36:30","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=49910"},"modified":"2022-04-01T09:15:35","modified_gmt":"2022-04-01T16:15:35","slug":"kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/","title":{"rendered":"“Duplicate Entry” Error When Upgrading Transact to 2019.1 or Above"},"content":{"rendered":"

Issue<\/b><\/h2>\n

When upgrading Ephesoft Transact to version 2019.1 or above, installation may stop and give an error. Transact will roll back to the current installation version.<\/span><\/p>\n

In the Transact installation log, you may see the following error message:<\/span><\/p>\n

[ERROR] Exception occur while executng script in database.MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry for key 'Unique_ppdt'\r\n\r\nat MySql.Data.MySqlClient.MySqlStream.ReadPacket()<\/span>\r\n\r\nat MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)<\/span>\r\n\r\nat MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)<\/span>\r\n\r\nat MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)<\/span>\r\n\r\nat MySql.Data.MySqlClient.MySqlDataReader.NextResult()<\/span>\r\n\r\nat MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)<\/span>\r\n\r\nat MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()<\/span>\r\n\r\nat MySql.Data.MySqlClient.MySqlScript.Execute()<\/span>\r\n\r\nat MyCustumAction.DBHelper.ExecuteMariaDBSQLScriptFile(String server, String port, String userId, String password, String database, String sqlFile)<\/span>\r\n\r\nat MyCustumAction.CustomActions.ExecuteMariaDBScript(Session session)<\/span>\r\n\r\n7\/22\/2021 1:22:53 PM : [ERROR] Current installation will be rollback.<\/span><\/pre>\n

The error message above reports that a database table has unwanted duplicate entries.<\/span><\/p>\n

Proposed Solution<\/b><\/h2>\n

To resolve this issue, check the table named pages_per_date<\/strong> in the Report database.\u00a0 Review the table and clear out the duplicates. Then, restart the upgrade. <\/span><\/p>\n

If this does not resolve the issue, please contact Ephesoft support<\/a>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"

Issue When upgrading Ephesoft Transact to version 2019.1 or above, installation may stop and give an error. Transact will roll […]<\/p>\n","protected":false},"author":88,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12358],"tags":[1430],"yoast_head":"\n"Duplicate Entry" Error When Upgrading Transact to 2019.1 or Above | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\""Duplicate Entry" Error When Upgrading Transact to 2019.1 or Above\" \/>\n<meta property=\"og:description\" content=\"Issue When upgrading Ephesoft Transact to version 2019.1 or above, installation may stop and give an error. Transact will roll […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-18T16:36:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-01T16:15:35+00:00\" \/>\n<meta name=\"author\" content=\"Abby Moreland\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abby Moreland\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/\",\"name\":\"\\\"Duplicate Entry\\\" Error When Upgrading Transact to 2019.1 or Above | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2021-11-18T16:36:30+00:00\",\"dateModified\":\"2022-04-01T16:15:35+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"“Duplicate Entry” Error When Upgrading Transact to 2019.1 or Above\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c\",\"name\":\"Abby Moreland\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g\",\"caption\":\"Abby Moreland\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\"Duplicate Entry\" Error When Upgrading Transact to 2019.1 or Above | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"\"Duplicate Entry\" Error When Upgrading Transact to 2019.1 or Above","og_description":"Issue When upgrading Ephesoft Transact to version 2019.1 or above, installation may stop and give an error. Transact will roll […]","og_url":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/","og_site_name":"Ephesoft Docs","article_published_time":"2021-11-18T16:36:30+00:00","article_modified_time":"2022-04-01T16:15:35+00:00","author":"Abby Moreland","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abby Moreland","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/","url":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/","name":"\"Duplicate Entry\" Error When Upgrading Transact to 2019.1 or Above | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2021-11-18T16:36:30+00:00","dateModified":"2022-04-01T16:15:35+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb00026568-installation-issue-on-transact-upgrade-to-2019-1-and-above\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"“Duplicate Entry” Error When Upgrading Transact to 2019.1 or Above"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c","name":"Abby Moreland","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g","caption":"Abby Moreland"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/49910"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=49910"}],"version-history":[{"count":4,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/49910\/revisions"}],"predecessor-version":[{"id":50679,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/49910\/revisions\/50679"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=49910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=49910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=49910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}