FAQ: TFORMer SDK
DllNotFoundException (0x8007007E), Could Not Load DLL "TFormer9x64.dll"
DllNotFoundException (0x8007007E), Could Not Load DLL "TFormer9x64.dll"
Problem (.NET API): One of the required dependencies is missing or could not be found. TFORMer .NET needs both the assembly DLL and some native compiled DLLs, which are included with the SDK.
Search Order for Dependencies:
- Local path of assembly
- Path of executable
- Path contained in PATH environment variable
Required TFORMer Runtime DLLs
Make sure that the TFORMer DLLs (see section Deployment and Distribution in the developer manual) are in one of the search locations. Below is a short list of the required files:
TECIT.TFORMer.dll
credits.htm
fontconfig.LICENSE
freeimage.LICENSE
FreeImageMT.dll
FreeImageMTx64.dll
freetype.LICENSE
freetype248MT.dll
freetype248MTx64.dll
iconv.LICENSE
iconvx32.dll
iconvx64.dll
libart_lgpl.LICENSE
libxml2.LICENSE
libxml2x32.dllv
libxml2x64.dll
libxsltx32.dll
libxsltx64.dll
TECBaseU.dll
TECBaseUx64.dll
TFormer9.dll
TFormer9x64.dll
TFormerRep9.dll
TFormerRep9x64.dll
unixodbc.LICENSE
zlib.README
zlib1.dll
zlib1x64.dll
TFORMer.xml (config file)
➞ see C:\ProgramData\TEC-IT\TFORMer\9
If you don't use our setup make sure that the Visual Studio Runtime Libraries are installed (for exact version see our FAQ or check out the developer manual).
Using TFORMer .NET in a Web Application (IIS)
There are two possibilities:
- Install as local assembly (no GAC): Copy all TFORMer files into the bin sub folder of your web application - you need the TFORMer Assembly + dependency DLLs + TFORMer.xml. Make sure that there is no TFORMer Assembly installed in the GAC: Uninstall TFORMer SDK setup if already installed. Restart IIS application pool(s) to reload the assemblies. Afterwards all DLLs should be found.
- Install as global assembly (GAC): Use our TFORMer SDK setup, which installs TFORMer .NET in the GAC and extends the PATH environment variable so that all dependencies are found. Note that updating the PATH environment variable may require an IIS restart (iisreset on admin console) or a system reboot, otherwise the DLLs are still not found.