SymptomsAfter re-installing ColdFusion many of websites (not necessarily using ColdFusion) return "A dynamic link library (DLL) initialization routine failed. " errors. There is not additional information on the log files
CauseThe reason of this error is that the jrun.dll (the ColdFusion library) is not getting initialized. There are two possible reasons:
1. Configuration problem. The mapping for JRun.dll in IIS is set to wildcard.
2. The second problem is that jrun.dll does not detect all the required files.
Resolution1. JRun.dll in IIS is set to wildcard.
To fix this, open IIS MMC snap-in, right-click on the broken web site, select Properties, go to the Home Directories tab, click Configuration and then remove the mapping which has the
2. The jrun.dll does not detect all the required files.
The jrun.dll is located in the "C:\CFusionMX\runtime\lib\wsconfig\" directory.. This alone is not enough to connect to ColdFusion; two more files are required:
jrun.ini with the following contents:
and the jrunserver.store (as specified in the serverstore line above) with just a single line:
#errorurl=<optionally redirect to this URL on errors>
Restarting of the ColdFusion MX Application Service and of the World Wide Web Publishing Service will be required.