Online demos works fine, yes. I deduce that it is not a problem with client versions.
I tested on Apache Platform all sample files worked fine.
The problem seems to be on win 2k3 / IIS 6 side.
Then, I analyzed some client-server exchanges.
According to developper toolkit (F12 in IE) the problem deals with the xml file loading with POST method (server returns a HTTP Error 405 ). It indicates the use of the Library XMLHttpRequest.
I anderstand I have to check my IIS 6.0 config.
But I still do not know what exactly … Mime types ? folder access rights ?
I tried a few tricks gleaned on the web, but without success …
Any idea ?
Remark : all works fine with dhtmlx 3.6 on the same server; only 4.0 do not work.
in two words:
IIS required some extra config for POST
we will add option to select get or post method for load/loadStruct into 4.0.2
step-by-step confguration below
install IIS on fresh windows 8.1 (01.png, 02.png)
control panel → add/remove programs → windows features (on left)
select items from 01.png and click ok, windows will install some new files
now go to control panel → administrative tools → iis manager (03.png)
on left expand “site” and select from context menu “add new one” (04.png)
there also was default site, but I removed it
enter values like on screenshot 04.png and press ok
to fix - go to sites → handler mappers (06.png)
right_click or from menu on right side select “add module mapping” (screenshot 07.png)
enter values like on screenshots 7,8 and 9 (components already installed in p.1)
(if some values not reflected on screenshot - leave as-is)
press main ok button, if you will see dialog like on 10.png - click yes
The issue appears to be the major change from loadXML to loadStruct which has changed from a GET to a POST.
Unmentioned in the migration documentation, we got caught as well with the toolbar loaded but no buttons.
Had to make changes to the server so it responded to a local files POST and all was well.
I couldn’t find any method of loadStruct forcing to be a GET
thanks a lot for your help.
I tested last week the configuration you advised for IIS.
It seems not to work well on 6.0 version, I crashed my IIS
So I came back to the previous configuration.
I planned to update my server to win 2k12 with IIS 7.0; it will be easier to install new components…
So a have a new question about menu 4.0.2 + window.dhx4.ajax.method = “get” :
where COMMON_menu.php generate an usefull and custom xml,
nothing happen…
If I copy the generated xml from COMMON_menu.php in a xml file and call it, all is ok.
xml extension seems mandatory … I can work around that …
But is it possible to take into account for 4.1?