← All guides

Failed Replication Rows: Reading Data Director Errors and Clearing Them Safely

Data, integrations & replication · 8 min read · By Dex Carter · Published 2026-10-26 · Last updated 2026-10-26

Conveyor with three sealed parcels, one held at a red barrier, dotted paths to a head office building and two stores
One parcel held at the gate while the rest of the line moves.

12305 and 12306 are the two numbers that decide the first move. 12305 is a general communication error. 12306 is a general database error. Neither number names the actual fault, the detail sits in the Data Director (DD) Configuration Tool’s Debug streams, so a failed replication row is not an instruction to delete or blindly retry. It is evidence. Read it, classify it, fix the cause it points at, and only then clear and rerun. This guide covers the failed-row side of replication; the companion piece on diagnosing replication lag covers queues that fall behind without necessarily erroring.

First, do no harm: failed rows are evidence, not clutter

A failed row records what DD tried to send, where it tried to send it, and the error that came back. Clear that record before reading it and the next run starts with no history: the same fault can recur, and nothing remains to show support, or the next person on shift, what changed between the failure and the retry.

The order matters more than the speed. A retry costs little when the cause was transient. The same retry is wasted work when the cause is a data mismatch or a missing configuration entry, because the job will fail again on the same row for the same reason. Classification comes first; it takes minutes and it decides which of those two retries is being run.

Read the failure: Job Monitor views and what a Pack ID tells you

The Job Monitor is where a failed job is read. It defaults to Job View, which lists jobs by Pack ID, the grouping that ties the rows of one job together. Host View is the triage view: it shows one line per DD host with the latest error and error message from that host, so the first question, which host failed most recently, and with what, is answered in one screen instead of a scroll through every pack.

Two monitor modes affect what the screen can be trusted to show. Load Done loads jobs stored in DD Router Memory, bounded by the Jobs Memory Timeout setting, a job outside that window is not on the screen, which is not the same as a job that never ran. Live mode keeps the grid updating as job statuses change; with it off, the grid can sit behind the real state of a rerun in progress.

Record three things before changing anything: the host from Host View, the Pack ID from Job View, and the exact error text. Those three values are the thread through every later step, the debug log search, the fix, and the support escalation if one is needed.

Classify the error: four cause classes

ReadingClassWhat the sources saySafe next action
Error 12305CommunicationA general communication error; the detailed cause appears in the Configuration Tool Debug streamRead the Debug stream for the real cause before retrying
Error 12306DatabaseA general database error; the detailed cause appears in the Configuration Tool Debug streamRead the Debug stream; fix the database-side cause it names
“Connection property has not been initialized” on an extension tableData mismatchMost likely a mismatch between main table and extension table records: DD only updates the extension record if it updates the main recordAlign the main and extension records first, retrying the same rows cannot fix a mismatch
“LSC Preaction table not found in database” in an INS_ACTIONS or INS_NORMAL_COUNT jobConfigurationThe subjob has the Move Actions flag enabledClear Move Actions on those subjobs, then rerun
Missing v1 web request errorConfigurationWeb service requests in the SaaS environment were not publishedRevisit the Web Service Setup steps and publish the requests, then rerun

The table is the spec check for this kind of failure: the visible error text is a class label, not a diagnosis. 12305 and 12306 in particular are general codes, two failures carrying the same code can have different causes, and the Debug stream is where they separate.

Fix the cause class, not the symptom

Communication and database (12305, 12306). Open the DD Configuration Tool and read the Debug stream for the relevant DD process. The general code brought the failure to the surface; the stream carries the detail that decides whether the fix belongs to the connection or the database.

Data mismatch. On an extension table, the documented cause is a mismatch between the main table record and the extension table record, because DD updates the extension record only when it updates the main record. Until the records line up, the row will keep failing in the same place.

Configuration. Two entries cover most of this class. For the Preaction error, clear the Move Actions flag on the INS_ACTIONS or INS_NORMAL_COUNT subjobs. For the missing v1 web request, go back through the Web Service Setup steps, the requests were not published in the SaaS environment.

One adjacent cause belongs in this pass because it produces a related symptom at the POS end: when DD is used for transaction requests from POS, it can hold up NAV sessions, and setting the database connection Timeout to 1 minute releases those sessions. That is a session fix, not a row fix, apply it only when held sessions are the observed problem.

Clear and rerun: the safe sequence

  1. Snapshot the failure. From Host View, record the host and its latest error; from Job View, record the Pack ID. Do not clear anything in this step.
  2. Get the real error text. In the Configuration Tool’s Debugging tab, set the Startup Level to 15 for Router, Database and DD Old to activate file debug logging. The logs land in the Log folder of the Data Folder. Read the entry that matches the recorded host and time.
  3. Classify and fix. Match the detailed error to one of the four classes in the table above and apply that class’s fix, records aligned, Move Actions cleared, web requests published, or the communication/database cause the Debug stream named.
  4. Clear only the failed rows for the fixed job. The rows tied to the Pack ID that was diagnosed, not a blanket clear of every failed row on the host, which would destroy other failures’ evidence along with this one’s.
  5. Rerun and watch the first run. Errors can occur during Data Director runs even when the job was started from LS Central, so watch the rerun in the Configuration Tool and the Job Monitor rather than assuming a started job is a successful one.

What success looks like: the rerun completes in the Job Monitor with no new error on that host line, and the data the job carried is present at the destination. A cleared queue by itself proves nothing, rows can be cleared without ever arriving.

Verify the clear: monitor, destination data, next run

Verification has three layers, in order. First, the monitor: the host line that carried the error no longer shows it, and no fresh error has replaced it during the rerun. Second, the destination data: check the actual records the job existed to move, at the destination, not just the job status that claims they moved. Third, the next scheduled run: a fix that holds for one manual rerun but fails on the next scheduled pass has fixed the row, not the cause, the classification step starts again, with the new error text.

When the answer is upgrade or escalate

Some failures are version problems wearing an error code. LS Retail’s guidance for a Data Director that hangs or always shows Error is to upgrade to the latest DD version first, and any DD older than 3.2.22 should be upgraded when strange errors occur. Check the version before spending hours on a fault an upgrade is documented to address.

If the failure survives the classification, the fix for its class, and a current DD version, escalate with evidence: the host and Pack ID from the monitor, the exact error text, the Debug log excerpt produced at Startup Level 15, the DD version, and the fix already applied. That package is the difference between a support case that starts at the fault and one that starts at the beginning.

, Dex Carter, Tech Writer

Keep readingNext: How LS Central and Business Central actually talk to each other →