PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Hyperfile Access Denied - AWP & Dynamic Pages Combined
Hyperfile Access Denied - AWP & Dynamic Pages Combined
Iniciado por Riaan Hefer, 31,mar. 2016 16:43 - No hay respuesta
Publicado el 31,marzo 2016 - 16:43
Hi there,

I'm using WEBDEV 17

I have a Access denied error when opening a secondary page in my project (in Development mode and Deployed).
The chain of events are as follows:

1. I access an AWP page with the 'P1=parameter' in the URL like this:
"http://localhost/DEMO_WEB/UK/PAGE_ACCESS.awp…"

2. From the AWP page I access a Dynamic Webdev Page through the 'Dynamicsitedisplay' function, and receive the Parameters via the 'PageParameter("P1")' function like this:
sParameters is string = "P1=" + EDT_USER
DynamicSiteDisplay("DEMO","PAGE_DASHBOARD",sParameters)

SO FAR SO GOOD :)

3. Then I try and access a secondary Dynamic Webdev Page via the function 'Pagedisplay(page,parameter)', and receive the parameter via the 'Procedure PAGE_XXX (parameter)' function

THE PAGE RECEIVES THE PARAMETER - AS IT SHOULD ;)

BUT, on running a HDeleteAll, HAdd, HModify, etc function call from a button I get the following error message:



Unable to resize <C:\My Sites\DEMO\Exe\Example1.ndx> file.
WL call:
Process of 'Click of BTN_NoName1 ( CELL_HEADER1 ) (server)' (PAGE_DASHBOARD_LIMITS.CELL_HEADER1.BTN_NoName1), line 1, thread 0
'HDeleteAll' function, syntax 0

What happened?
Unable to resize <C:\My Sites\DEMO\Exe\Example1.ndx> file.

Error code: 70152
Level: fatal error (EL_FATAL)
WD55 error code: 152

System error code: 5
System error message:
Access is denied.

Dump of the error of 'WD170HF.DLL' module (17.0.185.0).
Debugging information:
##(IXStream)-Handle=<0000011C>##
Fonction (7,326)
Additional Information:
EIT_SRCFILE : <C:\My Sites\DEMO\Exe\Example1.ndx>
EIT_LOGICALTABLENAME : <Example1>
EIT_PILEWL :
Click of BTN_NoName1 ( CELL_HEADER1 ) (server) (PAGE_DASHBOARD_LIMITS.CELL_HEADER1.BTN_NoName1), line 1
EIT_DATEHEURE : 30/03/2016 16:04:00

(25, ERR_MSG_BOX)

Access is denied. (5)


What I don't understand is: If I run the First Dynamic Page (the page in 2 above) directly through Webdev (thus with "" as parameter), there is no issues with the button call when accessing the next page (in 3 above)...?!?!
Which to me means there are no access restrictions on the site folders / files, but yet it can not be accessed if I run the project from page 1.

Bizarre...?! Maybe for me...

Any comments will be much appreciated...!

Thank you so much!
Regards.