RB16.02 - REST Example don't work on Windows Server
Hi
I'm using Delphi XE8, RB 16.02, ( Active RB customer )
Open REST Example don't work on Windows Server
More info:
Demos
"8. Rest" \ Servers \ "2. Server Archives"
"8. Rest" \ Clients \ "1. Phone Explorer"
Run Server and client, on my PC Win 8.1 and work fine.
* Deploy these 2 .exe on my Server Windows 2012 , don't work.
* Deploy Server-Exe on Windows Server 2012 and Client-exe on Win 81,
don't work
* Try different servers, Win2008R2, dont' work
* Try Different Clients, Don't work
If i press on server on button "OPEN BROWSER" work fine :
"Rest Server" appear on browser fine.
when i press on client form, appear error:
HTTP/1.1 500 Access Violation At address 0000000000xxxxxxxxxxxxxxxxx
Try 32bit / 64bit , Try Run As Admin.... notthing.
- no firewall
- no AV
On these Win-server I have already a old Datasnap server on different
port , and work fine when called from Win81 client.
Need Help.
Mauro Botta
I'm using Delphi XE8, RB 16.02, ( Active RB customer )
Open REST Example don't work on Windows Server
More info:
Demos
"8. Rest" \ Servers \ "2. Server Archives"
"8. Rest" \ Clients \ "1. Phone Explorer"
Run Server and client, on my PC Win 8.1 and work fine.
* Deploy these 2 .exe on my Server Windows 2012 , don't work.
* Deploy Server-Exe on Windows Server 2012 and Client-exe on Win 81,
don't work
* Try different servers, Win2008R2, dont' work
* Try Different Clients, Don't work
If i press on server on button "OPEN BROWSER" work fine :
"Rest Server" appear on browser fine.
when i press on client form, appear error:
HTTP/1.1 500 Access Violation At address 0000000000xxxxxxxxxxxxxxxxx
Try 32bit / 64bit , Try Run As Admin.... notthing.
- no firewall
- no AV
On these Win-server I have already a old Datasnap server on different
port , and work fine when called from Win81 client.
Need Help.
Mauro Botta
This discussion has been closed.
Comments
I performed the same test with our Windows Server 2012 installation and
was able to recreate the issue.
The ReportBuilder REST Server utilizes TClientDataset to organize the
directory structure before converting to JSON and transferring data. On
your Win 8 machine with Delphi, the midas.dll is likely installed which
is necessary for the use of TClientDataset. Your server (as ours) does not.
To work around the issue, you can either add "MidasLib" to the uses
clause of the RB REST Server demo and rebuild or you can add the
midas.dll to your WINSYS directory of your Windows Server machine.
For a future release we will research removing this requirement.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com