Developer forum
E-mail notifications
Cannot access destination table 'EcomProductsTempTableForBulkImport1'
Replies
Hi Jeremy,
Can not find what is the exact problem. Can it be that the same temp table "'EcomProductsTempTableForBulkImport1" is used by several sites/threads at the same time?
Can you try to check the option "Persist successful rows and skip failing rows" in the destination provider or check why the rows are failed to be imported?
I saw you have a custom import data add-in so you can check if it is not setting the XmlProvider "ExportIsDone=false" so the temp table is not cleared between the job runs.
BR, Dmitrij
Hi Dmitrij,
Thanks for looking!
Can it be that the same temp table "'EcomProductsTempTableForBulkImport1" is used by several sites/threads at the same time? - Well I was ready to say no here as the only site connected to that database should be uat-krvc.mydwsitec.com, but when double checking I am finding records on EcomProducts that have updated since I turned our task and job off yesterday for troubleshooting. The integration logs on the site don't have any record of these rows importing either, so we may have a rogue site causing the importtable to lock. Investigating this angle with our sysadmin team.
Can you try to check the option "Persist successful rows and skip failing rows" in the destination provider or check why the rows are failed to be imported? - Turned this on in the import products job. It did expose a list of similar errors, here is one:
Error: The given ColumnMapping does not match up with any column in the source or destination.Row data: [ProductLanguageId: "LANG1"] (System.String), [ProductNumber: "659448"] (System.String), [ProductName: "Dinette-Top-40 3/4" x 26 5/8"-Sprinter"] (System.String), [ProductPrice: "37.183"] (System.Double), [LastSyncDate: "11/15/2024 6:15:14 PM"] (System.DateTime), [IsBackedByIntegration: "True"] (System.Boolean), [ProductId: "659448"] (System.String), [ProductReplacementProductId: ""] (System.String), [ProductDiscontinuedAction: "0"] (System.Int32), [ProductType: "0"] (System.Int32), [ProductStockLocation: "CS"] (System.String), [VendorPart: ""] (System.String), [ProductDiscontinued: "False"] (System.Boolean), [ProductNeverOutOfStock: "True"] (System.Boolean), [KeystoneWarehouse: "CS"] (System.String), [SerialNumberforClaimRequired: "False"] (System.Boolean), [ModelNumberforClaimRequired: "False"] (System.Boolean), [DisplayUnits: "Each"] (System.String), [ProductPriceType: "0"] (System.Int32), [ProductVariantId: ""] (System.String), [ProductVariantProdCounter: "0"] (System.Int32), [ProductVariantGroupCounter: "0"] (System.Int32), [ProductVariantCounter: "0"] (System.Int32)
The only mappings here that don't match appear to be the Variant fields (bolded) which I believe are added by the EcomProvider.
I saw you have a custom import data add-in so you can check if it is not setting the XmlProvider "ExportIsDone=false" so the temp table is not cleared between the job runs. - I don't see anything in the addin that is setting ExportIsDone, but i have attached the .cs file for the addin if you would like to review.
Best Regards,
Jeremy
Hi Dmitrij,
Just got confimation from our sysadmin that there was another site incorrectly configured and pointing to the same database. Hopefully fixing that will fix the issues we are seeing here.
best regards, Jeremy
You must be logged in to post in the forum