Can't access password protected information from the configuration, no password is defined for this

Getting an error “can’t access password protected information from the
configuration, no password is defined for this web context” when I have
tried to access datasource. Check the below code;

writeDump(CreateObject(“java”,“coldfusion.server.ServiceFactory”).getDataSourceService().getDataSource(arguments.datasource.getDataSourceName())
);

Please help;

Go to the Web Admin, i.e. /lucee/admin/web.cfm and set a password.

Igal Sapir
Lucee Core Developer
Lucee.org http://lucee.org/On 2/7/2017 8:46 PM, Justin John wrote:

Getting an error “can’t access password protected information from the
configuration, no password is defined for this web context” when I
have tried to access datasource. Check the below code;

writeDump(CreateObject(“java”,“coldfusion.server.ServiceFactory”).getDataSourceService().getDataSource(arguments.datasource.getDataSourceName())
);

Please help;

You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com
mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com
mailto:lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6750de0f-fce7-49a8-9272-bbb75174a297%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6750de0f-fce7-49a8-9272-bbb75174a297%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.