Create a minimal config file (keeping only mandatory sections) to isolate the faulty part.
Example minimal TecDocClient.config (XML): loading data failed check the configuration file tecdoc work
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="TecDocDB" connectionString="Data Source=localhost;Initial Catalog=TecDocCatalog;Integrated Security=True;" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="ApiVersion" value="2024.1"/>
</appSettings>
</configuration>
If this works, gradually add back sections until the error reappears. Create a minimal config file (keeping only mandatory
TecDoc sometimes stores fallback configuration in the Windows Registry. Navigate to:
HKEY_CURRENT_USER\Software\TecAlliance\TecDoc or HKLM\...
Look for keys named DataPath, Server, ConfigFile. If they contain invalid values, export the key as a backup, then delete or correct them. If this works, gradually add back sections until
TecDoc often stores settings in XML. One missing closing tag or an invalid character can break parsing.
Fix:
Many TecDoc installations include a separate utility like TecDocConfig.exe, TecDocAdmin.exe, or ConfigureDataSource.exe.