SYMPTOMS
After 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 filesCAUSE
The 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.
RESOLUTION
1. 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
extension *.
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:
verbose=false
scriptpath=/JRunScripts/jrun.dll
serverstore=C:/CFusionMX/runtime/lib/wsconfig/jrunserver.store
bootstrap=127.0.0.1:51010
apialloc=false
ssl=false
ignoresuffixmap=true
#errorurl=<optionally redirect to this URL on errors> servers=127.0.0.1:51010 Keywords: Cold fusion initialization failed