Could not create ColdFusion DSN connection: "XML document must have a top level element"

Created:

2016-11-16 13:16:36 UTC

Modified:

2017-08-16 16:36:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Could not create ColdFusion DSN connection: "XML document must have a top level element"

Applicable to:

  • Plesk 11.x for Windows

Symptoms

When I try to create ColdFusion DSN in Plesk Panel I am getting the following error:

Error: XML document must have a top level element.
at load xml in line 0
at (vxmlLoadXML line 28)
at execute console command --update-dsn(vconsoleapp::start line 97)
at execute D:\\Parallels\\Plesk\\admin\\bin\\CFMng.exe --update-dsn "--file=tmpD8CC.tmp" "--mode=create"(vconsoleapp::run line 107)
(Error code 1)

Cause

Plesk uses cf_fun.cfm script to communicate with ColdFusion but it does not work because of option "Disable access to internal ColdFusion Java components" . It blocks access to Java object coldfusion.server.ServiceFactory from cf_fun.cfm .

Resolution

Go to ColdFusion Administrator > Server Settings > Settings and uncheck the "Disable Access to Internal ColdFusion Java components" option. Coldfusion

Have more questions? Submit a request
Please sign in to leave a comment.