IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Flexible 2008 SP5 runtime closes without a message

HMI and touchscreens Published 8 min read

Short answer

A runtime that opens and closes without a message 10 to 20 seconds after launch is a startup-path termination, not a license fault. Record the exact Windows 10 build with winver, install the Update (Hotfix) for WinCC flexible 2008 Service Pack 5 delivered at the end of Update 2, and correct the Project ID area pointer in the connections editor. The msjet40 archive failure is a symptom branch; rebuilt MDB files hold about a day, then the exit returns.

On this page
  1. What a silent exit tells you
  2. Verify the Windows 10 build and install the hotfix
  3. Check the Project ID area pointer
  4. Isolate the MDB logging path
  5. Worked example: reading one installation's timeline
  6. Resolution order and verification
  7. Questions asked

A runtime that opens and then closes without a message 10 to 20 seconds later is a startup-path termination, not a license fault and not proof of a damaged installation. Two corrections ended this failure pattern on Windows 10: install the Update (Hotfix) for WinCC flexible 2008 Service Pack 5 — the STEP7_V5.7_Integrity patch delivered at the end of Update 2, which some Windows 10 builds require for compatibility — and check the Project ID area pointer in the connections editor so the HMI project and the PLC program carry the same project identity. The msjet40 component named in the Windows event log is the Microsoft Access database engine caught in the terminating sequence; it is a symptom branch, not the root cause. Rebuilding the MDB archives delayed the exit without removing it, so treat archive repair as evidence and the two corrections above as the fix.

What a silent exit tells you #

Runtime initializes operating-system components, PLC connections, area pointers, and archives during startup. A failure in any of those paths can terminate the process before runtime puts a diagnostic of its own on screen. Silent here means runtime itself shows nothing; Windows can still name the failing component in its event log, and on the reported installation that component was msjet40, the Microsoft Access database engine variable logging uses for its MDB archives.

Timing separates failure paths. An exit that lands right after the splash screen follows a different diagnosis, covered in Fix WinCC Flexible 2005 Closing Right After the Splash Screen. This failure is a PC-runtime case on a workstation; the deployment basics are in Running a WinCC Flexible 2008 Project in PC Runtime.

Work the branches in this order:

  • The exit starts 10 to 20 seconds after every launch: a delayed startup function is being initialized. Record the exact Windows build and patch state first.
  • The Windows event entry names msjet40: the Access database logging path sits inside the terminating sequence. Test it last, after the compatibility and connection checks.
  • Runtime stays open once the MDB archives are removed, but variable logging reports failure: the removal bypasses the logging path. That is an isolation result, not a valid operating configuration.
  • Rebuilt MDB archives hold about one day and the exit returns: temporary evidence, so move to the Project ID area pointer.
  • The license reports as working: consistent with this failure, because the process launches and passes validation before the exit window. What the runtime license covers, and its lifecycle, is laid out in WinCC flexible 2008 lifecycle and the Runtime Advanced license.

Verify the Windows 10 build and install the hotfix #

Run winver from the Windows search box and write down the exact Windows 10 version and build it reports. That value, checked against the compatibility information published for WinCC flexible 2008 SP5, decides whether your build is one of the versions that require the integrity hotfix; the vendor's portal document names them, so you get a definite yes or no rather than a guess.

Next confirm the software baseline: the installed station should read WinCC flexible 2008 SP5 with Update 2 (UPD2). A mixed or incomplete update state has to be corrected before project-level diagnosis means anything.

Then check whether the hotfix is installed. The vendor publishes it as Update (Hotfix) for WinCC flexible 2008 Service Pack 5, support document 109757233, at the end of the Update 2 entry; it patches compatibility of WinCC flexible 2008 SP5, and some Windows 10 builds require it. If your build requires it and it is absent, install it, complete any restart the installer requests, and retest runtime with the PLC connected.

Decision: if runtime stays open with logging active after the hotfix, go straight to the verification list at the end. If the hotfix was already present or the exit continues, the Project ID area pointer is next. Reinstalling the engineering station, its service packs, or the database engines on the machine does not substitute for this check — those steps had already been done on the reported installation without a durable correction.

Check the Project ID area pointer #

The Project ID area pointer links the HMI project identity to corresponding data in the PLC program. When the two sides carry different identities, connection initialization can reject the pairing and close runtime. Check this before any database reconstruction, because it tests a deterministic project-to-controller relationship rather than a corrupted file.

Open the connections editor in the HMI project and look for an area pointer of the Project ID type. Three outcomes, each with its decision:

  • The pointer is configured: compare the value in the HMI project with the value in the PLC program. A mismatch is a defect — correct the pairing so both sides agree, then rebuild and deploy the project.
  • The program does not use Project ID: remove the pointer, rebuild, and retest. Diagnostic removal answers whether the pointer triggers the exit; the final configuration must still reflect what the machine's program actually references.
  • The pointer is configured and both values agree: leave it in place and move to the archive branch.

Never ship a mismatched pointer, and never delete an area pointer the program depends on — the removal is a test step, and the deployed configuration has to match the machine's project-identification design. Retest with the same PLC connection active. If the silent exit stops, keep the corrected configuration and verify; if runtime still closes, isolate the logging path.

Isolate the MDB logging path #

Variable logging writes its MDB archives through the Microsoft Access database engine, which the Windows event entry reports as msjet40. A malformed archive, a database-access failure, or an upstream condition exposed while the archive opens can terminate the process during logging initialization — the event log names the component that was running, not necessarily the cause.

Before changing anything, copy the existing MDB archives somewhere safe; archive deletion is not routine maintenance. Run the removal test on a copy of the project or during planned downtime, not while the machine is producing.

Move the MDB files out of the active logging path and start runtime. On the reported installation the result was: the process stayed open, and variable logging reported failure. That pairing proves archive initialization participates in the terminating sequence — and it proves the removal is not a repair, because a station without working logging is not finished.

Rebuilding the archives is the trap. A clean set held about one day before the exit returned, which reads as: the rebuild changed the archive, not the initiating condition. Expect a rebuilt set to delay the exit, not remove it. Reinstate a valid logging configuration after the test, verify that archives are created and updated, and recheck the hotfix and Project ID branches — a returning exit after a clean rebuild means the root cause is still in place.

Worked example: reading one installation's timeline #

The reported station ran WinCC flexible 2008 SP5 with Update 2 on Windows 10, and every start died inside the 10-to-20-second window. Take the midpoint of that window, (10 + 20) / 2 = 15 s: the process terminates around second 15 of each start, before any operator input, so the failing step is one of the startup initializations — connections, area pointers, or archives — not anything the operator did.

The event entry named msjet40, so the logging path was inside that sequence; removing the MDB archives kept the process alive while variable logging failed, confirming the participation. A rebuilt archive set held one day (24 h) before the exit returned, so the archive contents were not the initiating fault.

Applying the decisions in order: winver gave a definite answer on the build, the compatibility information required the hotfix, and the hotfix was absent — install it. The Project ID area pointer was configured — compare and correct the pairing so HMI and PLC agree. With both corrections deployed, runtime held across days of repeated starts with logging active. The two corrections together, not the reinstalls or the archive rebuilds, are what ended the exits.

Resolution order and verification #

  1. Capture the Windows event entry before changing the installation, and keep msjet40 as the diagnostic token when it appears.
  2. Record the exact Windows 10 version and build with winver.
  3. Confirm the WinCC flexible 2008 SP5 baseline with Update 2, then install the STEP7_V5.7_Integrity hotfix wherever the build's compatibility requires it.
  4. Inspect the connections editor for the Project ID area pointer; correct the PLC/HMI pairing, or remove the pointer when the program does not use it.
  5. Rebuild and deploy the corrected HMI project through the normal transfer workflow.
  6. If the archive test was performed, reinstate the MDB files and confirm logging creates and updates them.
  7. Start runtime with the PLC connected and all intended logging enabled, then watch past the original exit window on several consecutive starts.

A repaired station reads like this:

  • The process stays open with no silent termination, start after start.
  • Variable logging runs with valid MDB files and no msjet40-related exit.
  • The Project ID configuration matches the machine's design — a corrected pairing, or an intentional absence.
  • Stability holds across days of operation, as it did once both corrections were deployed on the reported installation.

That combination — compatibility hotfix plus Project ID correction — is the decision this failure pattern resolves to, and it explains why software reinstalls and archive rebuilds alone never held.

Questions asked

How do I know whether my Windows 10 build needs the hotfix?

Run winver and compare the exact version and build it reports against the compatibility information on the vendor's support portal, where the hotfix is published as Update (Hotfix) for WinCC flexible 2008 Service Pack 5, document 109757233. The portal states which builds require it; if yours is in that group and the hotfix is absent, install it and complete the installer's restart before any project-level diagnosis.

Can I just delete the MDB files and leave variable logging off?

No. Removing the MDB files proves only that archive initialization participates in the exit; a session that stays open because logging is broken leaves the station without variable logging. Keep copies of the archives, run the removal as a one-time controlled test, reinstate a valid logging configuration afterward, and apply the hotfix and area-pointer corrections so the exit does not return with the corrected archives in place.

Does a working license rule anything out?

It rules out license validation failing at startup: the process launches and reaches the exit window before it closes. Keep the license state in the record, but do not cycle license repairs or software reinstalls when runtime launches successfully and then terminates during initialization; that pattern points at the startup path, and the documented corrections are the compatibility hotfix and the Project ID area pointer.

Why did rebuilt MDB archives only delay the exit?

A clean rebuild replaces the archive that the failing startup path was opening, so the exit pauses for about a day and then returns. The initiating condition sits in the startup path ahead of the archive contents, so treat that stability as temporary evidence, apply the two corrections, and expect stability measured in days rather than hours.

Keep reading

  • Troubleshooting

    Why WinCC Flexible DB writes fail when area pointers do not match

    WinCC Flexible Runtime holds tag writes back while it retries an enabled area pointer whose DB or M address does not exist in the CPU, so a link that reads as established can still drop every write from the panel. Delete the enabled pointers the PLC program does not use, create the exact DB or M area for the rest, then recompile and retransfer. A general connection error reported as 0x384 is a separate S7 connection fault with its own checks.

    HMI and touchscreens

  • How-to

    How to Change WinCC Flexible Screens From the PLC

    Enable Screen number and Job mailbox in the connection's Area pointer tab, reserve a data block for each, and write the screen-selection job from the PLC as a one-shot: parameters first, job number last, and never again until the panel clears the job word to zero. The screen-number area pointer then reports the current screen back to the PLC.

    HMI and touchscreens

  • Explainer

    Why a WinCC Flexible project on a server needs the tool on your PC

    The project files can live on the server, but the engineering tool cannot: WinCC Flexible must be installed on the PC you sit at, and Windows Server 2003 cannot host it. In the reported case, Windows 7 Professional and Windows XP Professional clients running WinCC Flexible SP3 opened the server-hosted projects without the message, while matching users and SIMATIC group memberships changed nothing.

    HMI and touchscreens

Why a LOGO 0BA8 clock transfer needs VW991 and the right HMI driver