Page 1 of 1

Load error on testrun

PostPosted: Sat Jan 02, 2016 11:24 pm
by HPW
Hello,

When I try neoappbuilders Test-run with my newlisp-app I get:

Zugriff verweigert
(newlisp-js-lib.js, 866)

(Access denied)

I think this is because IE does not load files from lokal file System for security reasons.
At the code line the lib trys to load a second file.
When I test the same from 'Compiled to web-html' I can only testrun it with Firefox, which Support lokal files.
Uploaded it to a web-Server IE11 and Chrome does also work.

So why does the test-run allow to read the js file but not the second file?
An Option might be to get a debug-version of the js without loading the seond file.

Regards

Re: Load error on testrun

PostPosted: Mon Jan 04, 2016 11:44 am
by Neosoft Support
Try using the File protocol. For example:

<script src="file://C:\path\newlisp-js-lib.js"></script>

This is what NAB does when running in test mode.