Product:
Search Type:

[FIX] Websites don’t work after ColdFusion has been re-installed

Article ID: 1037 
Last Review: Aug,24 2007
APPLIES TO:
  • Plesk for Windows

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 files

CAUSE

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>
and the  jrunserver.store (as specified in the serverstore line above) with just a single line:

servers=127.0.0.1:51010
Restarting of the ColdFusion MX Application Service and of the World Wide Web Publishing Service will be required.
Keywords: Cold fusion initialization failed

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields