Troubleshooting
Why commissioning software fails on one Windows PC but not another
Short answer
When commissioning software fails on one Windows PC but works on another against the same device, the fault is on the computer. Commission on the passing PC, save the failing logs, then read the inner exception — the documented cause of SQL-client type-initializer failures is a damaged .NET installation or machine.config — and compare builds, SQL components and security software before touching shared components or firmware.
On this page
When vendor commissioning software refuses to run on one Windows computer but works on another against the same device, treat the passing computer as both your workaround and your evidence. The passing run clears the device, the cable and the procedure; the fault lives in the failing computer's software environment. Finish the commissioning on the computer that works, save the failing run's logs, then compare the two environments and read the full exception — inner exception included — before repairing .NET, removing SQL components or flashing device firmware. This article uses a real case as its spine: EcoStrucure Power Commission Desktop 2.22.1 would not create a switchboard containing a factory-reset Panel Server PAS600L on one Windows 10 laptop, while another Windows 10 computer completed the identical operation on the same firmware.
Prove the fault is on the computer, not the device #
Run the exact same operation — same device, same cable, same workflow — on a second Windows computer. If it passes there, the device and the procedure are exonerated, and every further step targets the failing computer. Note where in the workflow the failure sits: in this case, creating a project succeeded and only adding the switchboard containing the device failed. A failure that appears at one workflow stage and not an earlier one is a dependency problem, not a start-up problem.
Record these items from both computers before changing anything:
- The commissioning application and its exact installed version, read from the program itself
- The device model and the firmware build shown on the unit, not the label from a release announcement
- The Windows edition, build and patch state of each computer
- The exact action that fails, and whether earlier steps in the same workflow succeed
- The application log file from the failing run
A version recorded from memory or from a release announcement is not a recorded version. Read each value from the system that carries it.
Read the exception before changing anything #
The failing laptop's log carried this line:
The type initializer for 'ExtentPlaceholderCreator' threw an exception.
A type-initializer message means .NET failed while running one-time initialization for a class. The outer message names only the class where the failure surfaced — it is the boundary, not the cause. The cause is in the inner exception, the stack trace and the log lines immediately before it. Export the full log entry before you touch anything.
There is a documented pattern behind this family of errors. When the named type belongs to the SQL client libraries — System.Data.SqlClient or Microsoft.Data.SqlClient — the type initializer failed while setting up the SQL connection stack, and published resolutions include repairing the .NET Framework installation and inspecting a damaged machine.config. In other words: run the vendor-documented .NET repair first, check machine.config second, and only then look at components the inner exception actually names. Client-side SQL faults take many shapes, and a TLS-specific variant behaves differently; that case is covered in fixing an ODBC SSL Security error 08001 on an edge PC.
Compare the two computers item by item #
With both computers in front of you, walk this list and write down where they differ:
- Windows edition and build, and each machine's patch state
- Installed .NET Framework versions, and whether a repair has ever run on either
- SQL Server instances and SQL client components: management tools, local instances, ODBC and OLE DB driver versions
- machine.config modifications on either machine
- Antivirus or endpoint-protection blocks, read from that software's own log
- The user account each run used, and whether it was elevated
- File-system permissions on the application's program-data folders
In the case above, the passing laptop had no SQL Server installed and the failing one did. That is a correlation, not a cause. Do not uninstall SQL Server to chase it — shared database components serve other engineering applications, and removing them trades one outage for several. Let the inner exception choose the branch.
Worked example: two tests isolate one variable #
Here is the full test record from the case, with the application held at version 2.22.1 on every computer:
| Test | Firmware on the device | Computer | SQL Server installed | Switchboard creation |
|---|---|---|---|---|
| 1 | 001.001.001 | Laptop A | Yes | Failed |
| 2 | 001.001.001 | Laptop B | No | Passed |
| 3 | 001.002.001 | Laptop C | Unknown | Failed |
| 4 | 001.002.001 | Laptop B | No | Passed |
Read the logic out of the table. Tests 1 and 2 hold the firmware, the device and the workflow constant and change exactly one variable — the computer — so the outcome tracks the computer, two runs to zero. Firmware build 001.001.001 both fails and passes, which arithmetic rules out any firmware version as the sole cause. Test 3 carries an untested input: nobody recorded whether laptop C had SQL Server, so until that laptop is inventoried, the run adds no information to the comparison. Two controlled tests isolate one variable, and the variable is the computer.
Device-side tracks that stay separate #
Keep these diagnostics apart from the software comparison, because they have different causes and different fixes:
- A factory reset reconfigures the device; it does not repair a workstation dependency, and repeating it before you export logs destroys configuration context. Collect logs first.
- A firmware update over the device's web interface takes the vendor's RAUCB package; the file type used on the other update path is not the artifact that interface accepts. Obtain packages only through the manufacturer's official distribution, and do not flash mid-comparison — an update changes the very variable you are holding constant.
- The device's diagnostic export lives under Maintenance > Logs: set LogLevel = "Debug", then use Export Logs and Export Auto-Diagnostic.
- A flashing-orange alarm state can appear when several TH110-equipped feeders are intentionally de-energized, even though nothing is broken. Any feeder you de-energize stays locked out under your site's procedure, and you verify the indication against the actual feeder and sensor status before calling it a device fault.
The flashing-orange state and the switchboard-creation failure are separate findings; one is not evidence for the other.
What to do next, case by case #
- If the identical operation passes on a second computer: commission on the passing computer today, and diagnose the failing one from its saved logs, not by trial and error on shared components.
- If the inner exception names a SQL client type: run the documented .NET Framework repair and inspect machine.config before changing anything else.
- If no second computer exists: open a support ticket with the application version, the firmware build read from the unit, the full exception with its inner exception, and the exported auto-diagnostic file.
- If the passing computer becomes the permanent commissioning station: freeze its software build and patch state, and when you need a dedicated box for that role, a fanless mini PC kept on one frozen image avoids the version drift that produced this failure in the first place.
The decision in one line: the passing computer is your workaround, the inner exception is your diagnosis, and shared components and device firmware are the last things you change — never the first.
Questions asked
What does 'type initializer threw an exception' actually mean?
.NET runs one-time static initialization the first time code touches a class, and that message means this initialization threw. The named class is only the boundary where the failure surfaced; the real cause sits in the inner exception and stack trace. When the named class belongs to the SQL client libraries, it usually means the SQL connection stack failed to initialize on that computer, which points at the .NET installation, machine.config or a conflicting component rather than at the device you are commissioning.
Do I need to uninstall SQL Server to fix the failure?
No. SQL Server present on the failing laptop and absent on the passing one is a correlation, not a proven cause. Removing it can break other engineering applications and local databases that depend on it. Read the inner exception first; if it points at the .NET installation or machine.config, the documented repair paths fix those without removing shared components. Change only a component the exception actually names.
Will a factory reset of the device clear the error?
No. A factory reset changes the device's configuration; it does not repair a missing or damaged dependency on the computer running the software. Resetting before you export the logs also destroys configuration context the support engineer will ask for. Leave the device as it is, capture the application log and the device's auto-diagnostic export, and diagnose the computer instead.
Which firmware file do I use to update over the device's web interface?
For this device family, the webserver update route takes the RAUCB package; the file type used on other update paths is not the artifact that interface accepts. Pull the package from the manufacturer's official distribution only, match it to the exact model and current firmware, and do not flash in the middle of a software comparison — update only when the update itself is the goal.
What should I send when I open a support ticket?
Send the commissioning application version, the device model, the firmware build read from the unit, the exact action that fails, the application log covering the failure with its inner exception, and the device's exported auto-diagnostic file. If a second computer passes the same operation against the same device, say so and describe the environment difference you found — that comparison usually shortens the diagnosis considerably.