Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Module access denied error when trying to run loginclient example
Mon, Nov 7 2016 9:18 PMPermanent Link

TD

Advanced Data Systems, Inc.

When I try to run the loginclient example app I get the error "Error executing request "modules/loginmodule" (Access is denied) Line 6695.

What am I doing wrong here?
TD
Mon, Nov 7 2016 10:31 PMPermanent Link

Raul

Team Elevate Team Elevate

On 11/7/2016 9:18 PM, TD wrote:
> When I try to run the loginclient example app I get the error "Error executing request "modules/loginmodule" (Access is denied) Line 6695.
>
> What am I doing wrong here?

This error generally means your IDE web server is not running and app is
being served up using local path (which does not allow use of modules etc).

Make sure web server runs - on EWB startup you should see output log
entry similar to "[Internal Web Server] Started listening on port <port>".

note that after starting the server you need to rerun the example as
well (if it was already running in IDE when you started web server).

I will assume this fixes the issues but if you have other problems after
(not "access is denied" - that is purely web server not running issue)
then few other things to check :

Did you install the examples ? (Help ->Install Example Applications)

If you go to Environment->Options->Internal Web Server Modules do you
see a login module there and is the path valid ? You can always remove
them and then install sample apps and they get re-created.



Raul
Wed, Nov 9 2016 11:59 AMPermanent Link

TD

Advanced Data Systems, Inc.

Raul wrote:

Make sure web server runs - on EWB startup you should see output log
entry similar to "[Internal Web Server] Started listening on port <port>".

Yes, I was able to view startup message and it was running and listenng on port 80

I will assume this fixes the issues but if you have other problems after
(not "access is denied" - that is purely web server not running issue)
then few other things to check :

???

Did you install the examples ? (Help ->Install Example Applications)

Yes I did

If you go to Environment->Options->Internal Web Server Modules do you
see a login module there and is the path valid ? You can always remove
them and then install sample apps and they get re-created.

The login module is showing under Environment->Options->Internal Web Server Modules and the dll is in the folder listed there.

I should explain that when I run the app from within the IDE I get the error shown in the attached jpg.  If I go to C:\Users\User\My Documents\Elevate Web Builder 2\Projects\loginclient\output\ and run it from there then I get the original error I posted.

So, how can I resolve this?  Thanks Raul for helping!
TD


Raul
Wed, Nov 9 2016 12:28 PMPermanent Link

Raul

Team Elevate Team Elevate

On 11/9/2016 11:59 AM, TD wrote:
> I should explain that when I run the app from within the IDE I get the error shown in the attached jpg.  If I go to C:\Users\User\My Documents\Elevate Web Builder 2\Projects\loginclient\output\ and run it from there then I get the original error I posted.

No JPG so not sure of the error you're seeing.


Navigating to the "./output" folder you cannot run EWB apps like this
that rely on database or modules - the access denied error is normal
since you are not using a web server. You always have to serve it up
using a properly configured web server - either one in IDE or using the
EWB Web Server.

Raul
Image