![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Thu, Oct 15 2015 10:16 AM | Permanent Link |
Tom Urlep | I can not reproduce this example.
Steps: I added distributed pdfmodule.dll to the Internal Web Server Modules I opened pdfclient project from C:\Program Files (x86)\Elevate Web Builder 2\examples\pdfclient Compile Run Result: no files in ListBox Problem No 1: Where must I put the pdf files? While opening pdfmodule.dpr in Delphi XE5 I saw empty pdfs directory. - I copied some pdf files to: C:\Program Files (x86)\Elevate Web Builder 2\examples\pdfmodule\pdfs - Run PDF Client Example Result: no files in ListBox Returnig to Delphi I activated CodeSite to find out what is the value of TempPDFDirectory - compiled pdfmodule project - returned to EWB IDE - removed distributed pdfmodule.dll in Environment options/ Internal Web Server Modules - added compiled pdfmodule.dll in Environment options/ Internal Web Server Modules - Run PDF Client Example Result: CodeSite uncovered the value of TempPDFDirectory variable: C:\Users\Tom\Documents\Elevate Web Builder 2\Projects\pdfmodule\pdfs I moved pdf files from C:\Program Files (x86)\Elevate Web Builder 2\examples\pdfmodule\pdfs to: C:\Users\Tom\Documents\Elevate Web Builder 2\Projects\pdfmodule\pdfs Now everything works fine. Next step: move dll to server - I copied pdfmodule.dll to server side in the directory where pdfmodule.html and pdfmodule.js will be deployed - stopped the EWB 2 Web Server - added compiled pdfmodule.dll in Configure Server/Modules - started the EWB 2 Web Server - changed Internal Web server to Production Server in EWB IDE - deployed pdfclient project - run PDF Client Example Result: Modal mesage: Error retrieving list of PDF files Request status code is obviously different from 200. I added line: SelectPDFListBox.Items.Add( IntToStr( Request.StatusCode ) ); as the first line in PDFServerRequestComplete procedure - deployed pdfclient project - run PDF Client Example Result: 400 in the SelectPDFListBox Returnig to Delphi I activated CodeSite to find out what is the value of parameters RequestUserName and RequestPassword in EWBModuleAuthenticateUser procedure. - compiled pdfmodule project - copied pdfmodule.dll to server side in the directory where pdfmodule.html and pdfmodule.js will be deployed - run PDF Client Example Result: Modal mesage: Error retrieving list of PDF files - CodeSite uncovered the value of RequestUserName and RequestPassword variables: both are empty strings Returnig to Delphi I I changed the line in EWBModuleAuthenticateUser procedure from if AnsiSameText(RequestUserName,'Demo') and (RequestPassword='Password') then to if AnsiSameText(RequestUserName,'') and (RequestPassword='') then - compiled pdfmodule project - copied pdfmodule.dll to server side in the directory where pdfmodule.html and pdfmodule.js will be deployed - returned to EWB IDE deleted previously added line SelectPDFListBox.Items.Add( IntToStr( Request.StatusCode ) ); in pdfclient project - run PDF Client Example Result: no files in ListBox but CodeSite uncovered the value of TempPDFDirectory variable: C:\Documents and Settings\Administrator\My Documents\Elevate Web Builder 2\Projects\pdfmodule\pdfs I created necessary directories and copied pdf files - run PDF Client Example Result: I can see files in ListBox but when I click one of them nothing happens ( I can not see the content of pdf file ) Now I have no more ideas... Has somebody solved this? |
Thu, Oct 15 2015 1:45 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Tom,
<< I can not reproduce this example. >> It's not surprising, there are a couple of serious issues with the distribution: 1) The PDFs aren't being included. 2) The pdfmodule isn't being pre-compiled and made available for automatic installation. I'll have these issues fixed in a 2.02 B2 release that I'm doing today or tomorrow, so use that build and you should be able to just: 1) Install the example applications using the EWB IDE Help menu option. 2) Compile/run the PDFClient example application. Tim Young Elevate Software www.elevatesoft.com |
Thu, Oct 22 2015 4:13 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Tom
A new 2.02 build 2 is going out today, but I wanted to clarify a couple of things: 1) The *only* issue with the PDFModule example project was that it wasn't including the PDFs. My original response was partially incorrect. 2) You *must* install the example applications using the Help/Install Example Applications link in the IDE in order for the example projects to run correctly. http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=Example_Applications Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 23, 2025 at 06:31 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |