Problem Summary
The B.Data Kernel Server (the data acquisition service that transfers time-stamped process values from WinCC Tag Logging archives into the B.Data relational database) loses its connection to the WinCC runtime while WinCC Tag Logging itself continues to archive values into native WinCC archive files without error. The defect manifests in three correlated symptoms observed in the field:
- Repeated entries in the B.Data kernel trace:
WinCC: Can't update 'SERVERPREFIX::io_Buffer_TAGNAME' (163910) - Connection to WinCC is down. - Read-side failure when B.Data Explorer or any OPC HDA client requests archive values:
GetArchiveData from WinCC not successful - SERVERPREFIX::io_Buffer_WinCC_TAGNAME Error Codes - 268435483 0 447 0 0 - TLG-API: an error occurred, line 447 - Kernel process instability:
The Windows Error Reporting dialog "B.data Kernel server has stopped working" appears, and the B.Data Kernel service returns to the "Stopped" state within seconds of every manual start.
A fourth, related symptom appears in single-station (no dedicated WinCC Server) deployments: every referenced datapoint fails with "TLG-API: an error occurred, line 809", indicating the datapoint does not exist in the local Tag Logging configuration.
Restarting the WinCC Client and the B.Data Kernel Server does not clear the condition. Regenerating the WinCC Client package from the WinCC Server (Resolution Path B below) recovers the historical backlog, but exposes the underlying kernel-side fault, which then crashes the service.
BDataKernel.exe) that bridges WinCC Tag Logging to the B.Data relational store. It is not the Windows NT kernel. A Windows "Kernel Data Inpage Error" surfaces as bug check 0x7A and a system crash (BSOD), not as a stopped user-mode service. The two should not be confused when triaging this symptom.
System Architecture and Process Topology
A B.Data installation with WinCC runtime is partitioned across five logical tiers. The first diagnostic step is to determine which tier is failing.
| Tier | Process / Service | Function | Failure Signal |
|---|---|---|---|
| 1. Acquisition | WinCC Tag Logging (CCAlgChn.exe, CCArchiveManager.exe) |
Time-stamped capture of process values into native WinCC archive files | Archive files in the project directory stop growing; WinCC Explorer shows red on the Tag Logging node |
| 2. WinCC Server |
CCEServer.exe in server role |
Holds the project database, archive server, and event server; publishes data to clients | Clients cannot attach; server prefix lookup fails; net use \\\<server\>\<project\> inaccessible |
| 3. WinCC Client |
CCEServer.exe in client role |
Operator UI, local archive cache, package of server tags | Package red, datapoints unresolved, mismatched OS user with B.Data Kernel |
| 4. B.Data Server / Kernel |
BDataServer.exe, BDataKernel.exe
|
OPC HDA / Connectivity Pack read against WinCC archives; buffers and forwards to RDBMS | Kernel log: 163910, 268435483 / TLG-API line 447, line 809; service stops unexpectedly |
| 5. Database | Oracle or Microsoft SQL Server instance accessed via ODBC / OLE DB / OCI | Long-term persistent storage of B.Data values, compressed archives, reports | ORA-* errors in kernel trace, ODBC trace failures, deadlocks, full tablespace |
In the symptom set above, Tier 1 and Tier 2 are healthy: tag logging writes values to native archives and the WinCC client/server connection test passes. Tier 3 partially recovers after re-packaging. Tier 4 is the locus of the fault on both the write path (kernel crash) and the read path (TLG-API line 447). Tier 5 may be involved if the kernel crash root cause is database-side. The diagnostic focus is therefore on Tier 3 <-> Tier 4 communication and on Tier 4 process stability.
Communication Paths Used by the Kernel
The B.Data Kernel reaches the WinCC archive data through three channels, in order of preference:
| Channel | Protocol | Used For | Failure Visibility |
|---|---|---|---|
| A. WinCC Connectivity Pack / OPC HDA | COM/DCOM, OPC Historical Data Access 1.20 / 3.0 | Bulk archive reads from B.Data Explorer, B.Data Reports, B.Data Web | TLG-API line 447 / line 809, HDA error codes propagated to B.Data |
| B. WinCC OLE DB Provider for Archives | OLE DB over COM | Direct archive table access by the kernel for high-volume buffered writes | Provider initialization errors, schema mismatch |
| C. Shared archive directory | SMB / local file system | Direct file-level read of native archive segments by the kernel | Access denied, file not found, share offline |
The kernel writes buffered values through Channel B (or its RDBMS write path that bypasses WinCC) and reads historical archives through Channels A or C. A failure on Channel B is the typical root cause of the 163910 "Connection to WinCC is down" error on the write path, while failures on Channels A or C manifest as line 447 or line 809 errors on the read path.
Error Code Reference
Error 163910 - "Connection to WinCC is down"
The numeric code 163910 is a B.Data native error raised by the kernel when the WinCC connectivity channel reports that the server-side archive subsystem is unreachable. It is not a WinCC internal Win32 error code; it is the B.Data abstraction layer translating an underlying WinCC or DCOM failure into a human-readable text "Connection to WinCC is down". When paired with the io_Buffer_ tag prefix, it means the kernel attempted to push a buffered value into the WinCC-side acquisition buffer (Channel B above) and the call was rejected because the server process, the archive manager, or the OLE DB provider was not responsive. Typical underlying causes are:
- WinCC Server process stopped or restarted while the kernel still held open connections.
- DCOM permissions revoked for the B.Data service user after a Windows update or GPO change.
- WinCC project recompiled mid-flight, dropping all OLE DB sessions.
- Network path between B.Data Server and WinCC Server interrupted (firewall, route, switch).
- B.Data Kernel and WinCC Client running under mismatched OS users (see Resolution Path A).
Error 268435483 with TLG-API Line 447
The composite error 268435483 0 447 0 0 returned by the kernel trace is a structured WinCC Tag Logging API (TLG-API) error. The leading value 268435483 (hex 0x1000001B) encodes the failure category and TLG subsystem; the trailing value 447 identifies the source line within the TLG-API implementation that raised the exception. Operationally, line 447 is observed when:
- The datapoint referenced in B.Data does not exactly match the WinCC Tag Logging tag name (case, server prefix, or suffix mismatch).
- The archive configuration on the WinCC side has been modified after the B.Data package was generated (tag removed, archive renamed, archive cycle changed, archive segment switched).
- The WinCC project is in a state where the requested archive segment is not loaded (archive server switched off, archive manager pending reconfig, or the segment has been manually disabled).
- The WinCC Server has been restarted with a different project or a different server prefix than the one in the B.Data package.
TLG-API Line 809 - Datapoint Not Available
The follow-on error "...line 809..." reported in single-station WinCC projects is a distinct TLG-API failure. Whereas line 447 means the datapoint exists but the read failed, line 809 means the datapoint does not exist in the WinCC Tag Logging configuration at all. B.Data is querying for a tag that was never registered, or that has been removed from the WinCC project without removing the corresponding B.Data datapoint. In the source case the user noted "I have the same problem but I deal with WinCC without server only" - the single-station topology where WinCC Runtime and B.Data run on the same machine is the most common environment for line 809 errors because tag additions are made directly on the runtime machine and the B.Data datapoint list is not always refreshed in the same change window.
"B.data Kernel server has stopped working" Dialog
This is the Windows Error Reporting (WER) dialog displayed when BDataKernel.exe terminates unexpectedly - that is, exits with a code other than a clean stop request, or with an unhandled exception that crashes the process before it can shut down cleanly. It is not a B.Data native fault code; it is the OS reporting that the process exited within the default application hang/crash detection window (typically 5 seconds for crash, 60 seconds for hang). Field-proven correlates are:
- An unhandled exception inside the kernel triggered by the WinCC side repeatedly returning the 163910 error.
- Database write failures (Oracle OCI error, deadlocked session, full tablespace, lost ODBC connection) that the kernel does not recover from.
- Corrupt local buffer files in the configured B.Data buffer directory.
- OS-level session change (lock, sleep, UAC prompt, credential expiry) under a mismatched or expiring service account.
- Antivirus or backup software holding an exclusive lock on the buffer files or the database DLLs.
Root Cause Taxonomy
The source conversation identifies four independent root cause families, each with a distinct fingerprint in the trace and a distinct resolution path.
| Family | Specific Cause | Evidence in Source | Resolution Path |
|---|---|---|---|
| A. Mismatched OS user | B.Data Kernel and WinCC Client run under different Windows accounts | "are the B.Data Kernel and the WinCC Client (starting automatically) running under the same OS-user?" | Reconfigure both as the same domain/local user with identical logon rights |
| B. Stale WinCC package | Server-side tag changes have not been picked up by the client package | "I created a new package for WinCC Client from WinCC Server. The loss of data was retrieved." | Force package regeneration; verify all referenced tags exist on server |
| C. Datapoint / archive mismatch | B.Data datapoint references do not resolve to WinCC Tag Logging entries | TLG-API line 447 and line 809 errors for almost all tags | Rebuild Tag Logging in WinCC server, refresh package, re-import datapoints in B.Data |
| D. Kernel process instability |
BDataKernel.exe crashes after the read path fails |
"B.data Kernel server has stopped working", service stops after manual start | Inspect Windows Event Viewer, kernel trace, buffer state, DB connectivity |
In a real plant, multiple families often co-exist. A typical cascade is Family B (stale package) -> Family C (datapoint mismatch surfaces once the new package is loaded) -> Family D (kernel crashes when read path repeatedly fails). Family A may be present from the start or may be introduced by a recent change of service account.
Pre-Repair Diagnostic Checklist
Execute the following checks in order before modifying any configuration. Record the result of each step for the change record.
-
Tag Logging state on the WinCC server. Open WinCC Explorer on the WinCC Server. Confirm Tag Logging shows green. Verify archive files in the project's
\ArchiveManagerdirectory are growing in real time by checking file modification time stamps over a 60-second window. -
WinCC client/server connection. On the WinCC Client, open WinCC Explorer. Confirm the server prefix resolves without red entries. Test
pingandnet use \\\<server\>\<project\>from the WinCC Client to confirm share access for the package directory. -
Identical OS user. Open Task Manager > Details, add the "User Name" column. Confirm
CCEServer.exe(WinCC Client) andBDataKernel.exeshow the same domain\user. If they differ, both must be reconfigured before any other fix. - Datapoint resolution in B.Data. In the B.Data datapoint configuration, copy the archive tag name from a known-failing datapoint and paste it into the "Address" field. Confirm the dropdown resolves a valid WinCC archive entry. If the dropdown is empty, the datapoint does not exist in WinCC (line 809 class).
-
Kernel trace review. Open the kernel trace file (default
%BDataRoot%\Kernel\Trace\*.trc). Grep for163910,268435483,line 447,line 809, andConnection to WinCC is down. Tally the count per tag to determine whether the problem is a subset or global. -
Database connectivity. From the B.Data Server, test the ODBC data source configured for the B.Data database using the same user as the B.Data service. Confirm
SELECT SYSDATE FROM DUAL(Oracle) orSELECT GETDATE()(MS SQL) succeeds. Check the ODBC trace log if it is enabled. -
Disk space and quotas. Confirm the disks hosting
%BDataRoot%, the WinCC archive directory, and the database data files have at least 15% free. Confirm any per-user disk quotas (for terminal server or Citrix deployments) are not exhausted for the B.Data service user. - Recent project and environment changes. Interview operations and the controls team. Was the WinCC project edited? Was a new tag added? Was an archive cycle reconfigured? Was a Windows update applied recently (DCOM, Kerberos, firewall rules)? Was the B.Data service account password rotated? Was antivirus updated?
- Antivirus and backup exclusions. Confirm the B.Data directories, WinCC project directories, and database data directories are excluded from real-time antivirus scans and from open-file backup agents. Confirm no backup job is currently holding a lock on buffer or archive files.
%BDataRoot%\GUI\mcl\*.* and all subdirectories. The MCL directory contains the configured datapoints, address mappings, and package bindings; it is the primary evidence for root-cause analysis and for Siemens support escalation.
Resolution Path A - Align the OS User Accounts
The single highest-yield fix when the kernel trace shows 163910 and TLG-API line 447 errors and Tag Logging on the WinCC side is healthy. This corresponds to Family A in the taxonomy above.
- Identify the user account under which the WinCC Client starts. This is the account that launched
CCEServer.exe(interactively) or the account configured for the WinCC Client service. - On the B.Data Server, open
services.msc. Locate the B.Data Kernel service. Stop it. - Open the service properties > Log On tab. Change the service logon to match the WinCC Client user. Enter and confirm the password. Apply.
- If the B.Data Kernel is started as an interactive application rather than as a service, log off, log on as the WinCC Client user, and start the kernel from that session.
- If the WinCC Client is also a service, reconfigure its logon account to match the B.Data Kernel account exactly.
- Restart the WinCC Client runtime if it was running under a different account.
- Re-package the WinCC Client from the WinCC Server (see Resolution Path B).
- Start the B.Data Kernel. Monitor the trace for 10 minutes; confirm no new 163910 entries and no TLG-API line 447 / line 809 entries.
dcomcnfg.exe, expand Component Services > Computers > My Computer > DCOM Config, locate the WinCC application, open Properties > Security, and confirm the new user has Launch, Access, and Configuration permissions. A common hidden cause of the 163910 error is that the B.Data Kernel user was removed from the WinCC DCOM launch ACL during a recent Windows update or GPO push.
Resolution Path B - Regenerate the WinCC Client Package
The source case was resolved on the read path by this action: "I created a new package for WinCC Client from WinCC Server. The loss of data was retrieved." This is the correct first action whenever tags have been added, renamed, or archive cycles changed on the server since the last package was generated. It corresponds to Family B in the taxonomy above.
- On the WinCC Server, open WinCC Explorer.
- Confirm the server project compiles cleanly (no red entries in the project tree, no compiler errors in the output window).
- Right-click the server project node and select "Generate Server Package". Save to the project-defined package directory (typically
\\\<server\>\<project\>\Packages). - On the WinCC Client, stop the WinCC Client runtime if running.
- From the WinCC Client, connect to the server package directory and load the regenerated package: WinCC Explorer > Server data > Load package, or
CCPackageImport.exein unattended deployments. - Verify all server tags now show green in the WinCC Client Explorer. Pay particular attention to the tags referenced in the B.Data datapoint configuration.
- Restart the WinCC Client runtime. Confirm native WinCC archives and trends display recent values.
- Restart the B.Data Kernel (if it had been stopped). Monitor the trace for new 163910 / line 447 entries.
CCPackageImport.exe /silent) and combined with a WinCC Client restart in the maintenance window. Manually loading the package on each client is error-prone and is the typical cause of recurring Family B faults in plants with 5+ WinCC Clients.
Resolution Path C - Rebuild Tag Logging and Refresh Datapoints
Required when the kernel trace shows TLG-API line 447 for almost all tags and the datapoint address field cannot resolve the archive. In the source case the suggested path was "Need to re-build the tag logging again in the wincc server first?" This corresponds to Family C in the taxonomy above.
- On the WinCC Server, open Tag Logging editor.
- For each archive that B.Data references, confirm the archive exists, has a valid cycle (e.g., 1 s, 1 min, 1 h), and contains the expected tags.
- If an archive is missing or corrupted, re-create it with the same name and the same cycle parameters. Tag Logging does not allow rename of an archive in place; create a new archive with the original name and migrate tags from the old archive.
- If individual tags are missing, re-add them to the archive with the same name, same datatype, and same acquisition cycle as before. Do not introduce silent name changes; B.Data datapoints are bound by exact string match.
- Recompile the WinCC Server project.
- Re-package the WinCC Client (Resolution Path B).
- In B.Data, re-import or refresh the datapoints so the address bindings point at the new archive structure. The B.Data datapoint "Address" field must contain the same archive and tag name as the WinCC side; verify each one.
- Restart the B.Data Kernel. Verify in B.Data Explorer that archive values appear in the long-term tables.
Resolution Path D - Recover the Crashed B.Data Kernel
The "B.data Kernel server has stopped working" symptom, where the service stops immediately after a manual start, requires deeper isolation because it indicates a kernel-side fault, not a WinCC-side fault. This corresponds to Family D in the taxonomy above.
- Open Windows Event Viewer > Windows Logs > Application on the B.Data Server. Locate the most recent "BDataKernel.exe" entries, and any associated ".NET Runtime", "Application Error", or "Application Hang" entries. Record the faulting module, exception code, and offset.
- Open the B.Data kernel trace file (most recent file in
%BDataRoot%\Kernel\Trace). Look for a stack trace, terminating exception, or repeated OCI / ODBC error message in the seconds preceding the crash. - Check the database write path. Connect to the B.Data RDBMS as the service user (the same account that runs the B.Data Kernel service) and confirm the following:
- The B.Data schema exists (typical tables:
BDataArchive,BDataValue,BDataTag,BDataEventper the project schema). - The user has INSERT, UPDATE, DELETE, SELECT on those tables and on any sequences.
- The tablespace hosting the B.Data tables is not full. Oracle:
SELECT * FROM dba_tablespace_usage_metrics. MS SQL:SELECT * FROM sys.dm_db_file_space_usage. - There are no deadlocked or blocking sessions holding locks the kernel needs.
- The transaction log is not full and is not waiting on a log backup.
- The B.Data schema exists (typical tables:
- Inspect the local buffer directory (typically
%BDataRoot%\Kernel\Buffer). If buffer files are corrupt (zero-byte, truncated, or with modification times older than the configured retention), stop the kernel, move the corrupt files aside (do not delete them - they are evidence), and let the kernel regenerate. - Confirm the Oracle client / OLE DB provider / ODBC driver installed on the B.Data Server is the version certified for the B.Data version. Mismatched or recently patched drivers frequently cause silent write failures that crash the kernel on commit.
- Temporarily redirect the kernel to write to a staging database (a test Oracle or MS SQL instance with the same schema). If the crash disappears, the production RDBMS is the fault and the DBA team must investigate.
- If the crash persists with the staging database, capture the MCL directory, the kernel trace, the Event Viewer entries, and a process dump (using
procdump -ma BDataKernel.exefrom Sysinternals ProcDump if available), and escalate to Siemens support with the faulting module and exception code from Event Viewer.
Edge Cases and Field Scenarios
Single-station (no dedicated WinCC Server)
When WinCC Runtime and B.Data are on the same machine, the WinCC Client package step is not required because there is no remote client/server boundary. The kernel connects directly to the local WinCC archive manager. However, this topology is the most common environment for line 809 errors because Tag Logging edits are made directly on the runtime machine and B.Data datapoint refresh is sometimes overlooked. The diagnostic flow collapses to:
- Confirm Tag Logging on the local WinCC Runtime shows the datapoint.
- In B.Data, open the datapoint and confirm the Address field resolves to a local archive.
- Re-import the datapoints from the local WinCC project if resolution fails.
Redundant WinCC Server Pair
When WinCC is deployed as a redundant server pair (WinCC Server A and WinCC Server B with archive replication), the B.Data Kernel may connect to the preferred server and fail over to the secondary on a fault. After a failover, the kernel may retain stale handles and report 163910 for one cycle until the next reconnect. If the 163910 errors coincide with a failover event in the WinCC Server event log, configure the kernel to reconnect on failover and verify the archive server switch time on the WinCC side is within the kernel's reconnect timeout (default 30 s).
Archive Server Switch (Tag Logging Rotation)
WinCC rotates archive segments at configured intervals (typically daily or weekly). During the rotation window (default 30 seconds), the active archive segment is closed and a new one is opened. The kernel may report line 447 errors during this window. If the line 447 errors cluster around a specific time and the system otherwise runs cleanly, this is expected behavior and no action is required other than suppressing the alarm in B.Data.
OS Update or Patched DCOM
A Windows cumulative update frequently resets DCOM launch and access ACLs on the WinCC Server. After any Windows update applied to the WinCC Server, validate the B.Data Kernel user's DCOM permissions on the WinCC application in dcomcnfg.exe. This is the most common hidden cause of a regression where everything was working before the update and now reports 163910.
B.Data Kernel Crash Without WinCC Fault
If the kernel crashes (Family D) without any preceding WinCC-side error (no 163910, no line 447), suspect the database layer. Generate an Oracle AWR report or MS SQL Extended Events trace covering the crash window and look for ORA-03113, ORA-03114, ORA-25408, deadlock graphs, or log waits. The kernel will retry once and then terminate the process if the database rejects writes for the configured retry window.
Preventive Configuration
| Control | Recommended Setting | Rationale |
|---|---|---|
| Single service account | All WinCC and B.Data processes run as the same domain user | Eliminates OS user mismatch (Family A) and DCOM ACL drift |
| Scheduled package refresh | Daily task that regenerates and reloads the WinCC Client package during planned downtime | Limits drift between server tags and client package (Family B) |
| Tag Logging change control | No edits to Tag Logging outside change windows; tag adds/removes paired with B.Data datapoint refresh | Prevents Family C faults |
| Database monitoring | Tablespace, session count, and deadlocks alerted at 80% threshold; transaction log backup verified daily | Prevents Family D database-induced crashes |
| Buffer directory placement | On a dedicated volume, not the OS drive, not the archive volume, not the database volume | Isolates I/O pressure |
| Kernel trace rotation | Daily rotation, retained 14 days minimum | Preserves evidence for post-incident analysis |
| Antivirus exclusions |
%BDataRoot%, WinCC project directories, database data directories excluded from real-time scan |
Prevents file lock contention and buffer corruption |
| DCOM ACL backup | Export dcomcnfg ACLs after each configuration change; back up to change management system |
Enables rapid recovery after a Windows update resets ACLs |
Verification Procedure
After applying any resolution path, execute the following verification steps and attach the results to the change record.
- Restart the B.Data Kernel and observe the trace for at least one full archive cycle (default 1 minute) with no 163910 entries, no TLG-API line 447, and no TLG-API line 809.
- In B.Data Explorer, navigate to a tag that was previously failing and confirm the buffered values populate within one cycle.
- Force a read of the archive from B.Data Explorer for the failure window and confirm no TLG-API line 447 / line 809 error is returned.
- Confirm the B.Data Kernel service remains in the "Running" state for at least 24 hours under normal load. Monitor with a scheduled task that polls the service state every 5 minutes.
- Confirm the database write target has new rows in the B.Data value tables: count the rows before and after one archive cycle and confirm a delta.
- Capture a screenshot of the B.Data Kernel log file with timestamps and a screenshot of the B.Data Explorer view showing live data; attach both to the change record.
- Confirm Task Manager shows the same domain\user for
CCEServer.exeandBDataKernel.exeand that this matches the documented service account.
Troubleshooting Matrix
Use this matrix to map observed error signatures to the most likely root cause family and the first action to take.
| Observed Signature | Likely Family | First Action |
|---|---|---|
| 163910 only, all tags | A. OS user mismatch | Verify Task Manager user names match for CCEServer.exe and BDataKernel.exe
|
| 163910 + TLG-API line 447, all tags, after server restart | B. Stale package | Re-package WinCC Client from server |
| 163910 + TLG-API line 447, all tags, after tag list change | C. Datapoint mismatch | Rebuild Tag Logging, refresh B.Data datapoints |
| TLG-API line 809 only, single-station | C. Datapoint not in Tag Logging | Re-add tag to WinCC Tag Logging, re-import B.Data datapoints |
| "B.data Kernel server has stopped working" immediately after start, no 163910 in trace | D. DB or buffer corruption | Inspect Event Viewer, check RDBMS connectivity, isolate buffer directory |
| "B.data Kernel server has stopped working" after Windows update on WinCC Server | A + D. ACL reset by update | Re-export DCOM ACL on WinCC Server; verify service account |
| Line 447 around archive rotation time, otherwise clean | Expected rotation behavior | Suppress alarm; verify rotation window completes within kernel reconnect timeout |
Frequently Asked Questions
What does WinCC error 163910 mean in the B.Data kernel log?
Error code 163910 in the B.Data kernel log indicates "Connection to WinCC is down". The kernel raises it when it tries to push buffered values into the WinCC acquisition buffer and the WinCC connectivity channel reports the server-side archive subsystem is unreachable. It is a B.Data native code, not a WinCC internal Win32 error, and typically points to a mismatched OS user, a stale WinCC Client package, or a WinCC Server process restart.
Why does the B.Data Kernel stop with "B.data Kernel server has stopped working" right after start?
The dialog is generated by Windows Error Reporting when BDataKernel.exe terminates unexpectedly within the crash detection window (typically 5 seconds). The root cause is usually an unhandled exception triggered by a WinCC-side fault (163910 / TLG-API line 447), a database write failure (Oracle OCI error, deadlock, full tablespace), or a corrupt local buffer file. Inspect Windows Event Viewer > Application for the faulting module and exception code; capture a process dump before restarting the service for evidence.
Do the B.Data Kernel and WinCC Client have to run under the same Windows user?
Yes. The most common root cause of repeated 163910 errors with healthy WinCC Tag Logging is that the B.Data Kernel and the WinCC Client are running under different Windows accounts, or under the same SID but with different logon session types (interactive vs. service vs. batch). Both must start under the same domain or local user with identical logon rights.
What does TLG-API line 447 mean versus TLG-API line 809?
Both errors come from the WinCC Tag Logging API. Line 447 means the datapoint exists in WinCC but the archive read call failed (often because the archive configuration has changed, the archive segment is not loaded, or the WinCC project has been recompiled with different tag bindings). Line 809 means the datapoint does not exist in the WinCC Tag Logging configuration at all - the B.Data datapoint reference is broken and must be re-imported after the tag is (re-)added to WinCC.
How do I recover missing archive data after the kernel connection is repaired?
After re-packaging the WinCC Client from the server, the WinCC-side archives already contain the historical values. In B.Data Explorer, force a re-read of the affected time range; the kernel will pull the values from the WinCC native archives and write them into the B.Data relational store. No manual backfill is required provided the WinCC archive segments have not been deleted or overwritten. If they have, use WinCC Trend or the WinCC Connectivity Pack to export the surviving values to CSV and re-import them into B.Data.
Is the B.Data Kernel the same as the Windows kernel?
No. The B.Data Kernel (process BDataKernel.exe) is the user-mode data acquisition service that bridges WinCC Tag Logging archives to the B.Data relational store. It is unrelated to the Windows NT kernel. A Windows Kernel Data Inpage Error surfaces as bug check 0x7A and a system crash (BSOD), not as a stopped user-mode service.
Which Windows Event Viewer log captures a B.Data Kernel crash?
The Windows Event Viewer > Windows Logs > Application log captures BDataKernel.exe crashes as "Application Error" events (event ID 1000) with the faulting module and exception code, and "Application Hang" events (event ID 1002) if the process is detected as hung. The .NET Runtime log (event ID 1026) captures unhandled .NET exceptions. Correlate the timestamps of these events with the B.Data kernel trace file to identify the failing datapoint or database call.